Skip to content

Commit d825a0c

Browse files
feat(youtube): update the api
#### youtube:v3 The following keys were added: - schemas.Video.properties.paidProductPlacementDetails.$ref (Total Keys: 1) - schemas.VideoPaidProductPlacementDetails (Total Keys: 3)
1 parent cfd989a commit d825a0c

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

docs/dyn/youtube_v3.videos.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,9 @@ <h3>Method Details</h3>
319319
],
320320
},
321321
},
322+
&quot;paidProductPlacementDetails&quot;: { # Details about paid content, such as paid product placement, sponsorships or endorsement, contained in a YouTube video and a method to inform viewers of paid promotion. This data can only be retrieved by the video owner.
323+
&quot;hasPaidProductPlacement&quot;: True or False, # This boolean represents whether the video contains Paid Product Placement, Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png
324+
},
322325
&quot;player&quot;: { # Player to be used for a video playback. # The player object contains information that you would use to play the video in an embedded player.
323326
&quot;embedHeight&quot;: &quot;A String&quot;,
324327
&quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;iframe&gt; tag that embeds a player that will play the video.
@@ -623,6 +626,9 @@ <h3>Method Details</h3>
623626
],
624627
},
625628
},
629+
&quot;paidProductPlacementDetails&quot;: { # Details about paid content, such as paid product placement, sponsorships or endorsement, contained in a YouTube video and a method to inform viewers of paid promotion. This data can only be retrieved by the video owner.
630+
&quot;hasPaidProductPlacement&quot;: True or False, # This boolean represents whether the video contains Paid Product Placement, Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png
631+
},
626632
&quot;player&quot;: { # Player to be used for a video playback. # The player object contains information that you would use to play the video in an embedded player.
627633
&quot;embedHeight&quot;: &quot;A String&quot;,
628634
&quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;iframe&gt; tag that embeds a player that will play the video.
@@ -950,6 +956,9 @@ <h3>Method Details</h3>
950956
],
951957
},
952958
},
959+
&quot;paidProductPlacementDetails&quot;: { # Details about paid content, such as paid product placement, sponsorships or endorsement, contained in a YouTube video and a method to inform viewers of paid promotion. This data can only be retrieved by the video owner.
960+
&quot;hasPaidProductPlacement&quot;: True or False, # This boolean represents whether the video contains Paid Product Placement, Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png
961+
},
953962
&quot;player&quot;: { # Player to be used for a video playback. # The player object contains information that you would use to play the video in an embedded player.
954963
&quot;embedHeight&quot;: &quot;A String&quot;,
955964
&quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;iframe&gt; tag that embeds a player that will play the video.
@@ -1317,6 +1326,9 @@ <h3>Method Details</h3>
13171326
],
13181327
},
13191328
},
1329+
&quot;paidProductPlacementDetails&quot;: { # Details about paid content, such as paid product placement, sponsorships or endorsement, contained in a YouTube video and a method to inform viewers of paid promotion. This data can only be retrieved by the video owner.
1330+
&quot;hasPaidProductPlacement&quot;: True or False, # This boolean represents whether the video contains Paid Product Placement, Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png
1331+
},
13201332
&quot;player&quot;: { # Player to be used for a video playback. # The player object contains information that you would use to play the video in an embedded player.
13211333
&quot;embedHeight&quot;: &quot;A String&quot;,
13221334
&quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;iframe&gt; tag that embeds a player that will play the video.
@@ -1615,6 +1627,9 @@ <h3>Method Details</h3>
16151627
],
16161628
},
16171629
},
1630+
&quot;paidProductPlacementDetails&quot;: { # Details about paid content, such as paid product placement, sponsorships or endorsement, contained in a YouTube video and a method to inform viewers of paid promotion. This data can only be retrieved by the video owner.
1631+
&quot;hasPaidProductPlacement&quot;: True or False, # This boolean represents whether the video contains Paid Product Placement, Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png
1632+
},
16181633
&quot;player&quot;: { # Player to be used for a video playback. # The player object contains information that you would use to play the video in an embedded player.
16191634
&quot;embedHeight&quot;: &quot;A String&quot;,
16201635
&quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;iframe&gt; tag that embeds a player that will play the video.

googleapiclient/discovery_cache/documents/youtube.v3.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4072,7 +4072,7 @@
40724072
}
40734073
}
40744074
},
4075-
"revision": "20240909",
4075+
"revision": "20240916",
40764076
"rootUrl": "https://youtube.googleapis.com/",
40774077
"schemas": {
40784078
"AbuseReport": {
@@ -11016,6 +11016,9 @@ true
1101611016
"$ref": "VideoMonetizationDetails",
1101711017
"description": "The monetizationDetails object encapsulates information about the monetization status of the video."
1101811018
},
11019+
"paidProductPlacementDetails": {
11020+
"$ref": "VideoPaidProductPlacementDetails"
11021+
},
1101911022
"player": {
1102011023
"$ref": "VideoPlayer",
1102111024
"description": "The player object contains information that you would use to play the video in an embedded player."
@@ -11678,6 +11681,17 @@ true
1167811681
},
1167911682
"type": "object"
1168011683
},
11684+
"VideoPaidProductPlacementDetails": {
11685+
"description": "Details about paid content, such as paid product placement, sponsorships or endorsement, contained in a YouTube video and a method to inform viewers of paid promotion. This data can only be retrieved by the video owner.",
11686+
"id": "VideoPaidProductPlacementDetails",
11687+
"properties": {
11688+
"hasPaidProductPlacement": {
11689+
"description": "This boolean represents whether the video contains Paid Product Placement, Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png",
11690+
"type": "boolean"
11691+
}
11692+
},
11693+
"type": "object"
11694+
},
1168111695
"VideoPlayer": {
1168211696
"description": "Player to be used for a video playback.",
1168311697
"id": "VideoPlayer",

0 commit comments

Comments
 (0)