blob: fb9d0acec41d70fe85f8e2650eb378193a66fafe [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Bu Sun Kimd059ad82020-07-22 17:02:09 -070075<h1><a href="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.channels.html">channels</a></h1>
John Asmuth614db982014-04-24 15:46:26 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#list">list(part, pageToken=None, managedByMe=None, onBehalfOfContentOwner=None, forUsername=None, hl=None, maxResults=None, id=None, mySubscribers=None, mine=None, categoryId=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Retrieves a list of resources, possibly filtered.</p>
John Asmuth614db982014-04-24 15:46:26 -040080<p class="toc_element">
81 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
82<p class="firstline">Retrieves the next page of results.</p>
83<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#update">update(part, body=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Updates an existing resource.</p>
John Asmuth614db982014-04-24 15:46:26 -040086<h3>Method Details</h3>
87<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070088 <code class="details" id="list">list(part, pageToken=None, managedByMe=None, onBehalfOfContentOwner=None, forUsername=None, hl=None, maxResults=None, id=None, mySubscribers=None, mine=None, categoryId=None, x__xgafv=None)</code>
89 <pre>Retrieves a list of resources, possibly filtered.
John Asmuth614db982014-04-24 15:46:26 -040090
91Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -070092 part: string, The &lt;code&gt;&lt;strong&gt;part&lt;/strong&gt;&lt;/code&gt; parameter specifies a
93comma-separated list of one or more &lt;code&gt;channel&lt;/code&gt; resource
94properties that the API response will include.&lt;br&gt;&lt;br&gt;If the parameter
95identifies a property that contains child properties, the child properties
96will be included in the response. For example, in a &lt;code&gt;channel&lt;/code&gt;
97resource, the &lt;code&gt;contentDetails&lt;/code&gt; property contains other
98properties, such as the &lt;code&gt;uploads&lt;/code&gt; properties. As such, if you
99set &lt;code&gt;&lt;strong&gt;part=contentDetails&lt;/strong&gt;&lt;/code&gt;, the API response
100will also contain all of those nested properties. (required) (repeated)
101 pageToken: string, The &lt;code&gt;&lt;strong&gt;pageToken&lt;/strong&gt;&lt;/code&gt; parameter identifies a specific
102page in the result set that should be returned. In an API response, the
103&lt;code&gt;nextPageToken&lt;/code&gt; and &lt;code&gt;prevPageToken&lt;/code&gt; properties
104identify other pages that could be retrieved.
105 managedByMe: boolean, Return the channels managed by the authenticated user.
106 onBehalfOfContentOwner: string, &lt;strong&gt;Note:&lt;/strong&gt; This parameter is intended exclusively for YouTube
107content partners.&lt;br&gt;&lt;br&gt;The
108&lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter indicates
109that the
110request&#x27;s authorization credentials identify a YouTube CMS user who is
111acting on behalf of the content owner specified in the parameter value.
112This parameter is intended for YouTube content partners that own and manage
113many different YouTube channels. It allows content owners to authenticate
114once and get access to all their video and channel data, without having to
115provide authentication credentials for each individual channel. The CMS
116account that the user authenticates with must be linked to the specified
117YouTube content owner.
118 forUsername: string, Return the channel associated with a YouTube username.
119 hl: string, Stands for &quot;host language&quot;. Specifies the localization language of the
120metadata to be filled into snippet.localized. The field is filled with the
121default metadata if there is no localization in the specified language.
122The parameter value must be a language code included in the list returned
123by the i18nLanguages.list method (e.g. en_US, es_MX).
124 maxResults: integer, The &lt;code&gt;&lt;strong&gt;maxResults&lt;/strong&gt;&lt;/code&gt; parameter specifies the
125maximum number of items that should be returned in the result set.
126 id: string, Return the channels with the specified IDs. (repeated)
127 mySubscribers: boolean, Return the channels subscribed to the authenticated user
128 mine: boolean, Return the ids of channels owned by the authenticated user.
129 categoryId: string, Return the channels within the specified guide category ID.
130 x__xgafv: string, V1 error format.
131 Allowed values
132 1 - v1 error format
133 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400134
135Returns:
136 An object of the form:
137
138 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700139 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700140 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the &lt;code&gt;pageToken&lt;/code&gt;
141 # parameter to retrieve the next page in the result set.
142 &quot;visitorId&quot;: &quot;A String&quot;, # The &lt;code&gt;visitorId&lt;/code&gt; identifies the visitor.
143 &quot;items&quot;: [
144 { # A &lt;code&gt;&lt;strong&gt;channel&lt;/strong&gt;&lt;/code&gt; resource contains
145 # information about a YouTube channel.
146 &quot;brandingSettings&quot;: { # Branding properties of a YouTube channel. # The &lt;code&gt;brandingSettings&lt;/code&gt; object encapsulates information about
147 # the branding of the channel.
148 &quot;watch&quot;: { # Branding properties for the watch. All deprecated. # Branding properties for the watch page.
149 &quot;textColor&quot;: &quot;A String&quot;, # The background color for the video watch page&#x27;s branded area.
150 &quot;featuredPlaylistId&quot;: &quot;A String&quot;, # An ID that uniquely identifies a playlist that displays next to the video
151 # player.
152 &quot;backgroundColor&quot;: &quot;A String&quot;, # The text color for the video watch page&#x27;s branded area.
153 },
154 &quot;image&quot;: { # Branding properties for images associated with the channel. # Branding properties for branding images.
155 &quot;bannerMobileImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size (640x175).
156 &quot;bannerTvHighImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size high resolution (1920x1080).
157 &quot;bannerImageUrl&quot;: &quot;A String&quot;, # Banner image. Desktop size (1060x175).
158 &quot;bannerTvImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size extra high resolution (2120x1192).
159 &quot;largeBrandedBannerImageImapScript&quot;: { # The image map script for the large banner image.
160 &quot;localized&quot;: [
161 {
162 &quot;language&quot;: &quot;A String&quot;,
163 &quot;value&quot;: &quot;A String&quot;,
164 },
165 ],
166 &quot;default&quot;: &quot;A String&quot;,
167 &quot;defaultLanguage&quot;: { # The language of the default property.
168 &quot;value&quot;: &quot;A String&quot;,
169 },
170 },
171 &quot;bannerMobileExtraHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size high resolution (1440x395).
172 &quot;bannerExternalUrl&quot;: &quot;A String&quot;, # This is used only in update requests; if it&#x27;s set, we use this URL to
173 # generate all of the above banner URLs.
174 &quot;largeBrandedBannerImageUrl&quot;: { # The URL for the 854px by 70px image that appears below the video player in
175 # the expanded video view of the video watch page.
176 &quot;localized&quot;: [
177 {
178 &quot;language&quot;: &quot;A String&quot;,
179 &quot;value&quot;: &quot;A String&quot;,
180 },
181 ],
182 &quot;default&quot;: &quot;A String&quot;,
183 &quot;defaultLanguage&quot;: { # The language of the default property.
184 &quot;value&quot;: &quot;A String&quot;,
185 },
186 },
187 &quot;bannerMobileHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size high resolution (1280x360).
188 &quot;smallBrandedBannerImageUrl&quot;: { # The URL for the 640px by 70px banner image that appears below the video
189 # player in the default view of the video watch page.
190 # The URL for the image that appears above the top-left corner of the video
191 # player. This is a 25-pixel-high image with a flexible width that cannot
192 # exceed 170 pixels.
193 &quot;localized&quot;: [
194 {
195 &quot;language&quot;: &quot;A String&quot;,
196 &quot;value&quot;: &quot;A String&quot;,
197 },
198 ],
199 &quot;default&quot;: &quot;A String&quot;,
200 &quot;defaultLanguage&quot;: { # The language of the default property.
201 &quot;value&quot;: &quot;A String&quot;,
202 },
203 },
204 &quot;smallBrandedBannerImageImapScript&quot;: { # The image map script for the small banner image.
205 &quot;localized&quot;: [
206 {
207 &quot;language&quot;: &quot;A String&quot;,
208 &quot;value&quot;: &quot;A String&quot;,
209 },
210 ],
211 &quot;default&quot;: &quot;A String&quot;,
212 &quot;defaultLanguage&quot;: { # The language of the default property.
213 &quot;value&quot;: &quot;A String&quot;,
214 },
215 },
216 &quot;bannerTvLowImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size low resolution (854x480).
217 &quot;watchIconImageUrl&quot;: &quot;A String&quot;,
218 &quot;bannerMobileLowImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size low resolution (320x88).
219 &quot;bannerTabletLowImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size low resolution (1138x188).
220 &quot;bannerTvMediumImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size medium resolution (1280x720).
221 &quot;bannerTabletImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size (1707x283).
222 &quot;bannerTabletExtraHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size extra high resolution (2560x424).
223 &quot;bannerMobileMediumHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size medium/high resolution (960x263).
224 &quot;backgroundImageUrl&quot;: { # The URL for the background image shown on the video watch page. The image
225 # should be 1200px by 615px, with a maximum file size of 128k.
226 &quot;localized&quot;: [
227 {
228 &quot;language&quot;: &quot;A String&quot;,
229 &quot;value&quot;: &quot;A String&quot;,
230 },
231 ],
232 &quot;default&quot;: &quot;A String&quot;,
233 &quot;defaultLanguage&quot;: { # The language of the default property.
234 &quot;value&quot;: &quot;A String&quot;,
235 },
236 },
237 &quot;trackingImageUrl&quot;: &quot;A String&quot;, # The URL for a 1px by 1px tracking pixel that can be used to collect
238 # statistics for views of the channel or video pages.
239 &quot;bannerTabletHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size high resolution (2276x377).
240 },
241 &quot;channel&quot;: { # Branding properties for the channel view. # Branding properties for the channel view.
242 &quot;featuredChannelsTitle&quot;: &quot;A String&quot;, # Title for the featured channels tab.
243 &quot;keywords&quot;: &quot;A String&quot;, # Lists keywords associated with the channel, comma-separated.
244 &quot;featuredChannelsUrls&quot;: [ # The list of featured channels.
245 &quot;A String&quot;,
246 ],
247 &quot;trackingAnalyticsAccountId&quot;: &quot;A String&quot;, # The ID for a Google Analytics account to track and measure traffic to the
248 # channels.
249 &quot;unsubscribedTrailer&quot;: &quot;A String&quot;, # The trailer of the channel, for users that are not subscribers.
250 &quot;showBrowseView&quot;: True or False, # Whether the tab to browse the videos should be displayed.
251 &quot;defaultTab&quot;: &quot;A String&quot;, # Which content tab users should see when viewing the channel.
252 &quot;moderateComments&quot;: True or False, # Whether user-submitted comments left on the channel page need to be
253 # approved by the channel owner to be publicly visible.
254 &quot;showRelatedChannels&quot;: True or False, # Whether related channels should be proposed.
255 &quot;country&quot;: &quot;A String&quot;, # The country of the channel.
256 &quot;title&quot;: &quot;A String&quot;, # Specifies the channel title.
257 &quot;description&quot;: &quot;A String&quot;, # Specifies the channel description.
258 &quot;profileColor&quot;: &quot;A String&quot;, # A prominent color that can be rendered on this channel page.
259 &quot;defaultLanguage&quot;: &quot;A String&quot;,
260 },
261 &quot;hints&quot;: [ # Additional experimental branding properties.
262 { # A pair Property / Value.
263 &quot;property&quot;: &quot;A String&quot;, # A property.
264 &quot;value&quot;: &quot;A String&quot;, # The property&#x27;s value.
265 },
266 ],
267 },
268 &quot;conversionPings&quot;: { # The &lt;code&gt;conversionPings&lt;/code&gt; object encapsulates information about # The &lt;code&gt;conversionPings&lt;/code&gt; object encapsulates information about
269 # conversion pings that need to be respected by the channel.
270 # conversion pings that need to be respected by the channel.
271 &quot;pings&quot;: [ # Pings that the app shall fire (authenticated by biscotti cookie). Each ping
272 # has a context, in which the app must fire the ping, and a url identifying
273 # the ping.
274 { # Pings that the app shall fire (authenticated by biscotti cookie). Each ping
275 # has a context, in which the app must fire the ping, and a url identifying the
276 # ping.
277 &quot;context&quot;: &quot;A String&quot;, # Defines the context of the ping.
278 &quot;conversionUrl&quot;: &quot;A String&quot;, # The url (without the schema) that the player shall send the ping to.
279 # It&#x27;s at caller&#x27;s descretion to decide which schema to use (http vs https)
280 # Example of a returned url: //googleads.g.doubleclick.net/pagead/
281 # viewthroughconversion/962985656/?data=path%3DtHe_path%3Btype%3D
282 # cview%3Butuid%3DGISQtTNGYqaYl4sKxoVvKA&amp;labe=default
283 # The caller must append biscotti authentication (ms param in case of
284 # mobile, for example) to this ping.
285 },
286 ],
287 },
288 &quot;kind&quot;: &quot;youtube#channel&quot;, # Identifies what kind of resource this is. Value: the fixed string
289 # &lt;code&gt;&quot;youtube#channel&quot;&lt;/code&gt;.
290 &quot;contentDetails&quot;: { # Details about the content of a channel. # The &lt;code&gt;contentDetails&lt;/code&gt; object encapsulates information about the
291 # channel&#x27;s content.
292 &quot;relatedPlaylists&quot;: {
293 &quot;favorites&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s favorite videos. Use
294 # the &lt;code&gt; &lt;a
295 # href=&quot;/youtube/v3/docs/playlistItems/insert&quot;&gt;playlistItems.insert&lt;/a&gt;&lt;/code&gt;
296 # and &lt;code&gt; &lt;a
297 # href=&quot;/youtube/v3/docs/playlistItems/delete&quot;&gt;playlistItems.delete&lt;/a&gt;&lt;/code&gt;
298 # to add or remove items from that list.
299 &quot;watchLater&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s watch later playlist.
300 # Use the &lt;code&gt;&lt;a
301 # href=&quot;/youtube/v3/docs/playlistItems/insert&quot;&gt;playlistItems.insert&lt;/a&gt;&lt;/code&gt;
302 # and &lt;code&gt; &lt;a
303 # href=&quot;/youtube/v3/docs/playlistItems/delete&quot;&gt;playlistItems.delete&lt;/a&gt;&lt;/code&gt;
304 # to add or remove items from that list.
305 &quot;watchHistory&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s watch history. Use the
306 # &lt;code&gt; &lt;a
307 # href=&quot;/youtube/v3/docs/playlistItems/insert&quot;&gt;playlistItems.insert&lt;/a&gt;&lt;/code&gt;
308 # and &lt;code&gt; &lt;a
309 # href=&quot;/youtube/v3/docs/playlistItems/delete&quot;&gt;playlistItems.delete&lt;/a&gt;&lt;/code&gt;
310 # to add or remove items from that list.
311 &quot;uploads&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s uploaded videos. Use
312 # the &lt;code&gt; &lt;a
313 # href=&quot;/youtube/v3/docs/videos/insert&quot;&gt;videos.insert&lt;/a&gt;&lt;/code&gt; method to
314 # upload new videos and the &lt;code&gt;&lt;a
315 # href=&quot;/youtube/v3/docs/videos/delete&quot;&gt;videos.delete&lt;/a&gt;&lt;/code&gt; method to
316 # delete previously uploaded videos.
317 &quot;likes&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s liked videos. Use the
318 # &lt;code&gt; &lt;a href=&quot;/youtube/v3/docs/playlistItems/insert&quot;&gt;
319 # playlistItems.insert&lt;/a&gt;&lt;/code&gt; and &lt;code&gt; &lt;a
320 # href=&quot;/youtube/v3/docs/playlistItems/delete&quot;&gt;playlistItems.delete&lt;/a&gt;&lt;/code&gt;
321 # to add or remove items from that list.
322 },
323 },
324 &quot;statistics&quot;: { # Statistics about a channel: number of subscribers, number of videos in the # The &lt;code&gt;statistics&lt;/code&gt; object encapsulates statistics for the channel.
325 # channel, etc.
326 &quot;viewCount&quot;: &quot;A String&quot;, # The number of times the channel has been viewed.
327 &quot;commentCount&quot;: &quot;A String&quot;, # The number of comments for the channel.
328 &quot;subscriberCount&quot;: &quot;A String&quot;, # The number of subscribers that the channel has.
329 &quot;hiddenSubscriberCount&quot;: True or False, # Whether or not the number of subscribers is shown for this user.
330 &quot;videoCount&quot;: &quot;A String&quot;, # The number of videos uploaded to the channel.
331 },
332 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel.
333 &quot;topicDetails&quot;: { # Freebase topic information related to the channel. # The &lt;code&gt;topicDetails&lt;/code&gt; object encapsulates information about
334 # &lt;a href=&quot;http://www.freebase.com&quot;&gt;Freebase&lt;/a&gt; topics associated with the
335 # channel.
336 &quot;topicCategories&quot;: [ # A list of Wikipedia URLs that describe the channel&#x27;s content.
Bu Sun Kim65020912020-05-20 12:08:20 -0700337 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400338 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700339 &quot;topicIds&quot;: [ # A list of Freebase topic IDs associated with the channel. You can retrieve
340 # information about each topic using the &lt;a
341 # href=&quot;http://wiki.freebase.com/wiki/Topic_API&quot;&gt;Freebase Topic API&lt;/a&gt;.
342 &quot;A String&quot;,
343 ],
John Asmuth614db982014-04-24 15:46:26 -0400344 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700345 &quot;snippet&quot;: { # Basic details about a channel, including title, description and thumbnails. # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the channel,
346 # such as its title, description, and thumbnail images.
347 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the channel&#x27;s default title and description.
348 &quot;customUrl&quot;: &quot;A String&quot;, # The custom url of the channel.
349 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the channel. For each object in
350 # the map, the key is the name of the thumbnail image, and the value is an
351 # object that contains other information about the thumbnail.&lt;br&gt;&lt;br&gt; When
352 # displaying thumbnails in your application, make sure that your code uses
353 # the image URLs exactly as they are returned in API responses. For example,
354 # your application should not use the &lt;code&gt;http&lt;/code&gt; domain instead of the
355 # &lt;code&gt;https&lt;/code&gt; domain in a URL returned in an API response.&lt;br&gt;&lt;br&gt;
356 # Beginning in July 2018, channel thumbnail URLs will only be available in
357 # the &lt;code&gt;https&lt;/code&gt; domain, which is how the URLs appear in API
358 # responses. After that time, you might see broken images in your application
359 # if it tries to load YouTube images from the &lt;code&gt;http&lt;/code&gt; domain.
360 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
361 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
362 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
363 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
Bu Sun Kim65020912020-05-20 12:08:20 -0700364 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700365 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
366 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
367 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
368 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
369 },
370 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
371 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
372 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
373 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
374 },
375 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
376 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
377 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
378 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
379 },
380 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
381 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
382 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
383 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
384 },
385 },
386 &quot;localized&quot;: { # Channel localization setting # Localized title and description, read-only.
387 &quot;description&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s description.
388 &quot;title&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s title.
389 },
390 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the channel was created. The value is specified in
391 # &lt; a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
392 # format.
393 &quot;title&quot;: &quot;A String&quot;, # The channel&#x27;s title.
394 &quot;country&quot;: &quot;A String&quot;, # The country of the channel.
395 &quot;description&quot;: &quot;A String&quot;, # The description of the channel.
396 },
397 &quot;status&quot;: { # JSON template for the status part of a channel. # The &lt;code&gt;status&lt;/code&gt; object encapsulates information about the privacy
398 # status of the channel.
399 &quot;isLinked&quot;: True or False, # If true, then the user is linked to either a YouTube username or G+
400 # account. Otherwise, the user doesn&#x27;t have a public YouTube identity.
401 &quot;madeForKids&quot;: True or False,
402 &quot;privacyStatus&quot;: &quot;A String&quot;, # Privacy status of the channel.
403 &quot;longUploadsStatus&quot;: &quot;A String&quot;, # The long uploads status of this channel. See
404 # https://support.google.com/youtube/answer/71673 for more information.
405 &quot;selfDeclaredMadeForKids&quot;: True or False,
406 },
407 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
408 &quot;auditDetails&quot;: { # The &lt;code&gt;auditDetails&lt;/code&gt; object encapsulates channel data that is # The &lt;code&gt;auditionDetails&lt;/code&gt; object encapsulates channel data
409 # that is relevant for YouTube Partners during the audition process.
410 # relevant for YouTube Partners during the audit process.
411 &quot;communityGuidelinesGoodStanding&quot;: True or False, # Whether or not the channel respects the community guidelines.
412 &quot;copyrightStrikesGoodStanding&quot;: True or False, # Whether or not the channel has any copyright strikes.
413 &quot;contentIdClaimsGoodStanding&quot;: True or False, # Whether or not the channel has any unresolved claims.
414 },
415 &quot;contentOwnerDetails&quot;: { # The &lt;code&gt;contentOwnerDetails&lt;/code&gt; object encapsulates channel data that # The &lt;code&gt;contentOwnerDetails&lt;/code&gt; object encapsulates channel data
416 # that is relevant for YouTube Partners linked with the channel.
417 # is relevant for YouTube Partners linked with the channel.
418 &quot;contentOwner&quot;: &quot;A String&quot;, # The ID of the content owner linked to the channel.
419 &quot;timeLinked&quot;: &quot;A String&quot;, # The date and time of when the channel was linked to the content owner.
420 # The value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO
421 # 8601&lt;/a&gt;
422 # format.
423 },
424 &quot;invideoPromotion&quot;: { # Describes an invideo promotion campaign consisting of multiple promoted # The &lt;code&gt;invideoPromotion&lt;/code&gt; object encapsulates information about
425 # promotion campaign associated with the channel.
426 # items. A campaign belongs to a single channel_id.
427 &quot;useSmartTiming&quot;: True or False, # Indicates whether the channel&#x27;s promotional campaign uses &quot;smart timing.&quot;
428 # This feature attempts to show promotions at a point in the video when they
429 # are more likely to be clicked and less likely to disrupt the viewing
430 # experience. This feature also picks up a single promotion to show on each
431 # video.
432 &quot;items&quot;: [ # List of promoted items in decreasing priority.
433 { # Describes a single promoted item.
434 &quot;timing&quot;: { # Describes a temporal position of a visual widget inside a video. # The temporal position within the video where the promoted item will be
435 # displayed. If present, it overrides the default timing.
436 &quot;type&quot;: &quot;A String&quot;, # Describes a timing type. If the value is &lt;code&gt;offsetFromStart&lt;/code&gt;, then
437 # the &lt;code&gt;offsetMs&lt;/code&gt; field represents an offset from the start of the
438 # video. If the value is &lt;code&gt;offsetFromEnd&lt;/code&gt;, then the
439 # &lt;code&gt;offsetMs&lt;/code&gt; field represents an offset from the end of the video.
440 &quot;offsetMs&quot;: &quot;A String&quot;, # Defines the time at which the promotion will appear. Depending on the value
441 # of &lt;code&gt;type&lt;/code&gt; the value of the &lt;code&gt;offsetMs&lt;/code&gt; field will
442 # represent a time offset from the start or from the end of the video,
443 # expressed in milliseconds.
444 &quot;durationMs&quot;: &quot;A String&quot;, # Defines the duration in milliseconds for which the promotion should be
445 # displayed. If missing, the client should use the default.
Bu Sun Kim65020912020-05-20 12:08:20 -0700446 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700447 &quot;promotedByContentOwner&quot;: True or False, # If true, the content owner&#x27;s name will be used when displaying the
448 # promotion. This field can only be set when the update is made on behalf of
449 # the content owner.
450 &quot;id&quot;: { # Describes a single promoted item id. It is a union of various possible types. # Identifies the promoted item.
451 &quot;type&quot;: &quot;A String&quot;, # Describes the type of the promoted item.
452 &quot;recentlyUploadedBy&quot;: &quot;A String&quot;, # If type is recentUpload, this field identifies the channel from which to
453 # take the recent upload. If missing, the channel is assumed to be the same
454 # channel for which the invideoPromotion is set.
455 &quot;videoId&quot;: &quot;A String&quot;, # If the promoted item represents a video, this field represents the unique
456 # YouTube ID identifying it. This field will be present only if
457 # &lt;code&gt;type&lt;/code&gt; has the value &lt;code&gt;video&lt;/code&gt;.
458 &quot;websiteUrl&quot;: &quot;A String&quot;, # If the promoted item represents a website, this field represents the url
459 # pointing to the website. This field will be present only if
460 # &lt;code&gt;type&lt;/code&gt; has the value &lt;code&gt;website&lt;/code&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700461 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700462 &quot;customMessage&quot;: &quot;A String&quot;, # A custom message to display for this promotion. This field is currently
463 # ignored unless the promoted item is a website.
Bu Sun Kim65020912020-05-20 12:08:20 -0700464 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700465 ],
466 &quot;position&quot;: { # Describes the spatial position of a visual widget inside a video. It is a # The spatial position within the video where the promoted item will be
467 # displayed.
468 # union of various position types, out of which only will be set one.
469 &quot;type&quot;: &quot;A String&quot;, # Defines the position type.
470 &quot;cornerPosition&quot;: &quot;A String&quot;, # Describes in which corner of the video the visual widget will appear.
Bu Sun Kim65020912020-05-20 12:08:20 -0700471 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700472 &quot;defaultTiming&quot;: { # Describes a temporal position of a visual widget inside a video. # The default temporal position within the video where the promoted item will
473 # be displayed. Can be overridden by more specific timing in the item.
474 &quot;type&quot;: &quot;A String&quot;, # Describes a timing type. If the value is &lt;code&gt;offsetFromStart&lt;/code&gt;, then
475 # the &lt;code&gt;offsetMs&lt;/code&gt; field represents an offset from the start of the
476 # video. If the value is &lt;code&gt;offsetFromEnd&lt;/code&gt;, then the
477 # &lt;code&gt;offsetMs&lt;/code&gt; field represents an offset from the end of the video.
478 &quot;offsetMs&quot;: &quot;A String&quot;, # Defines the time at which the promotion will appear. Depending on the value
479 # of &lt;code&gt;type&lt;/code&gt; the value of the &lt;code&gt;offsetMs&lt;/code&gt; field will
480 # represent a time offset from the start or from the end of the video,
481 # expressed in milliseconds.
482 &quot;durationMs&quot;: &quot;A String&quot;, # Defines the duration in milliseconds for which the promotion should be
483 # displayed. If missing, the client should use the default.
John Asmuth614db982014-04-24 15:46:26 -0400484 },
485 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700486 &quot;localizations&quot;: { # Localizations for different languages
487 &quot;a_key&quot;: { # Channel localization setting
488 &quot;description&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s description.
489 &quot;title&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s title.
490 },
491 },
John Asmuth614db982014-04-24 15:46:26 -0400492 },
John Asmuth614db982014-04-24 15:46:26 -0400493 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700494 &quot;prevPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the &lt;code&gt;pageToken&lt;/code&gt;
495 # parameter to retrieve the previous page in the result set.
496 &quot;eventId&quot;: &quot;A String&quot;, # Serialized EventId of the request which produced this response.
497 &quot;pageInfo&quot;: { # Paging details for lists of resources, including total number of items # General pagination information.
498 # available and number of resources returned in a single page.
Bu Sun Kim65020912020-05-20 12:08:20 -0700499 &quot;resultsPerPage&quot;: 42, # The number of results included in the API response.
500 &quot;totalResults&quot;: 42, # The total number of results in the result set.
John Asmuth614db982014-04-24 15:46:26 -0400501 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700502 &quot;tokenPagination&quot;: { # Stub token pagination template to suppress results.
John Asmuth614db982014-04-24 15:46:26 -0400503 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700504 &quot;kind&quot;: &quot;youtube#channelListResponse&quot;, # Identifies what kind of resource this is. Value: the fixed string
505 # &lt;code&gt;&quot;youtube#channelListResponse&quot;&lt;/code&gt;.
John Asmuth614db982014-04-24 15:46:26 -0400506 }</pre>
507</div>
508
509<div class="method">
510 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
511 <pre>Retrieves the next page of results.
512
513Args:
514 previous_request: The request for the previous page. (required)
515 previous_response: The response from the request for the previous page. (required)
516
517Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700518 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400519 page. Returns None if there are no more items in the collection.
520 </pre>
521</div>
522
523<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700524 <code class="details" id="update">update(part, body=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
525 <pre>Updates an existing resource.
John Asmuth614db982014-04-24 15:46:26 -0400526
527Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700528 part: string, The &lt;code&gt;&lt;strong&gt;part&lt;/strong&gt;&lt;/code&gt; parameter serves two purposes in
529this operation. It identifies the properties that the write operation will
530set as well as the properties that the API response will
531include.&lt;br/&gt;&lt;br/&gt;The API currently only allows the parameter value to be
532set to either &lt;code&gt;brandingSettings&lt;/code&gt; or
533&lt;code&gt;invideoPromotion&lt;/code&gt;. (You cannot update both of those parts with
534a single request.)&lt;br/&gt;&lt;br/&gt;Note that this method overrides the existing
535values for all of the mutable properties that are contained in any parts
536that the parameter value specifies. (required) (repeated)
Dan O'Mearadd494642020-05-01 07:42:23 -0700537 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400538 The object takes the form of:
539
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700540{ # A &lt;code&gt;&lt;strong&gt;channel&lt;/strong&gt;&lt;/code&gt; resource contains
541 # information about a YouTube channel.
542 &quot;brandingSettings&quot;: { # Branding properties of a YouTube channel. # The &lt;code&gt;brandingSettings&lt;/code&gt; object encapsulates information about
543 # the branding of the channel.
544 &quot;watch&quot;: { # Branding properties for the watch. All deprecated. # Branding properties for the watch page.
545 &quot;textColor&quot;: &quot;A String&quot;, # The background color for the video watch page&#x27;s branded area.
546 &quot;featuredPlaylistId&quot;: &quot;A String&quot;, # An ID that uniquely identifies a playlist that displays next to the video
547 # player.
548 &quot;backgroundColor&quot;: &quot;A String&quot;, # The text color for the video watch page&#x27;s branded area.
John Asmuth614db982014-04-24 15:46:26 -0400549 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700550 &quot;image&quot;: { # Branding properties for images associated with the channel. # Branding properties for branding images.
551 &quot;bannerMobileImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size (640x175).
552 &quot;bannerTvHighImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size high resolution (1920x1080).
553 &quot;bannerImageUrl&quot;: &quot;A String&quot;, # Banner image. Desktop size (1060x175).
554 &quot;bannerTvImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size extra high resolution (2120x1192).
555 &quot;largeBrandedBannerImageImapScript&quot;: { # The image map script for the large banner image.
556 &quot;localized&quot;: [
557 {
558 &quot;language&quot;: &quot;A String&quot;,
559 &quot;value&quot;: &quot;A String&quot;,
560 },
561 ],
562 &quot;default&quot;: &quot;A String&quot;,
563 &quot;defaultLanguage&quot;: { # The language of the default property.
Bu Sun Kim65020912020-05-20 12:08:20 -0700564 &quot;value&quot;: &quot;A String&quot;,
565 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700566 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700567 &quot;bannerMobileExtraHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size high resolution (1440x395).
568 &quot;bannerExternalUrl&quot;: &quot;A String&quot;, # This is used only in update requests; if it&#x27;s set, we use this URL to
569 # generate all of the above banner URLs.
570 &quot;largeBrandedBannerImageUrl&quot;: { # The URL for the 854px by 70px image that appears below the video player in
571 # the expanded video view of the video watch page.
572 &quot;localized&quot;: [
573 {
574 &quot;language&quot;: &quot;A String&quot;,
575 &quot;value&quot;: &quot;A String&quot;,
576 },
577 ],
578 &quot;default&quot;: &quot;A String&quot;,
579 &quot;defaultLanguage&quot;: { # The language of the default property.
Bu Sun Kim65020912020-05-20 12:08:20 -0700580 &quot;value&quot;: &quot;A String&quot;,
581 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700582 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700583 &quot;bannerMobileHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size high resolution (1280x360).
584 &quot;smallBrandedBannerImageUrl&quot;: { # The URL for the 640px by 70px banner image that appears below the video
585 # player in the default view of the video watch page.
586 # The URL for the image that appears above the top-left corner of the video
587 # player. This is a 25-pixel-high image with a flexible width that cannot
588 # exceed 170 pixels.
589 &quot;localized&quot;: [
590 {
591 &quot;language&quot;: &quot;A String&quot;,
592 &quot;value&quot;: &quot;A String&quot;,
593 },
594 ],
595 &quot;default&quot;: &quot;A String&quot;,
596 &quot;defaultLanguage&quot;: { # The language of the default property.
Bu Sun Kim65020912020-05-20 12:08:20 -0700597 &quot;value&quot;: &quot;A String&quot;,
598 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700599 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700600 &quot;smallBrandedBannerImageImapScript&quot;: { # The image map script for the small banner image.
601 &quot;localized&quot;: [
602 {
603 &quot;language&quot;: &quot;A String&quot;,
604 &quot;value&quot;: &quot;A String&quot;,
605 },
606 ],
607 &quot;default&quot;: &quot;A String&quot;,
608 &quot;defaultLanguage&quot;: { # The language of the default property.
Bu Sun Kim65020912020-05-20 12:08:20 -0700609 &quot;value&quot;: &quot;A String&quot;,
610 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700611 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700612 &quot;bannerTvLowImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size low resolution (854x480).
613 &quot;watchIconImageUrl&quot;: &quot;A String&quot;,
614 &quot;bannerMobileLowImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size low resolution (320x88).
615 &quot;bannerTabletLowImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size low resolution (1138x188).
616 &quot;bannerTvMediumImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size medium resolution (1280x720).
617 &quot;bannerTabletImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size (1707x283).
618 &quot;bannerTabletExtraHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size extra high resolution (2560x424).
619 &quot;bannerMobileMediumHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size medium/high resolution (960x263).
620 &quot;backgroundImageUrl&quot;: { # The URL for the background image shown on the video watch page. The image
621 # should be 1200px by 615px, with a maximum file size of 128k.
622 &quot;localized&quot;: [
623 {
624 &quot;language&quot;: &quot;A String&quot;,
625 &quot;value&quot;: &quot;A String&quot;,
626 },
627 ],
628 &quot;default&quot;: &quot;A String&quot;,
629 &quot;defaultLanguage&quot;: { # The language of the default property.
Bu Sun Kim65020912020-05-20 12:08:20 -0700630 &quot;value&quot;: &quot;A String&quot;,
631 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700632 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700633 &quot;trackingImageUrl&quot;: &quot;A String&quot;, # The URL for a 1px by 1px tracking pixel that can be used to collect
634 # statistics for views of the channel or video pages.
635 &quot;bannerTabletHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size high resolution (2276x377).
Bu Sun Kim65020912020-05-20 12:08:20 -0700636 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700637 &quot;channel&quot;: { # Branding properties for the channel view. # Branding properties for the channel view.
Bu Sun Kim65020912020-05-20 12:08:20 -0700638 &quot;featuredChannelsTitle&quot;: &quot;A String&quot;, # Title for the featured channels tab.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700639 &quot;keywords&quot;: &quot;A String&quot;, # Lists keywords associated with the channel, comma-separated.
Bu Sun Kim65020912020-05-20 12:08:20 -0700640 &quot;featuredChannelsUrls&quot;: [ # The list of featured channels.
641 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400642 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700643 &quot;trackingAnalyticsAccountId&quot;: &quot;A String&quot;, # The ID for a Google Analytics account to track and measure traffic to the
644 # channels.
Bu Sun Kim65020912020-05-20 12:08:20 -0700645 &quot;unsubscribedTrailer&quot;: &quot;A String&quot;, # The trailer of the channel, for users that are not subscribers.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700646 &quot;showBrowseView&quot;: True or False, # Whether the tab to browse the videos should be displayed.
647 &quot;defaultTab&quot;: &quot;A String&quot;, # Which content tab users should see when viewing the channel.
648 &quot;moderateComments&quot;: True or False, # Whether user-submitted comments left on the channel page need to be
649 # approved by the channel owner to be publicly visible.
650 &quot;showRelatedChannels&quot;: True or False, # Whether related channels should be proposed.
651 &quot;country&quot;: &quot;A String&quot;, # The country of the channel.
652 &quot;title&quot;: &quot;A String&quot;, # Specifies the channel title.
653 &quot;description&quot;: &quot;A String&quot;, # Specifies the channel description.
654 &quot;profileColor&quot;: &quot;A String&quot;, # A prominent color that can be rendered on this channel page.
655 &quot;defaultLanguage&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400656 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700657 &quot;hints&quot;: [ # Additional experimental branding properties.
John Asmuth614db982014-04-24 15:46:26 -0400658 { # A pair Property / Value.
Bu Sun Kim65020912020-05-20 12:08:20 -0700659 &quot;property&quot;: &quot;A String&quot;, # A property.
660 &quot;value&quot;: &quot;A String&quot;, # The property&#x27;s value.
John Asmuth614db982014-04-24 15:46:26 -0400661 },
662 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700663 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700664 &quot;conversionPings&quot;: { # The &lt;code&gt;conversionPings&lt;/code&gt; object encapsulates information about # The &lt;code&gt;conversionPings&lt;/code&gt; object encapsulates information about
665 # conversion pings that need to be respected by the channel.
666 # conversion pings that need to be respected by the channel.
667 &quot;pings&quot;: [ # Pings that the app shall fire (authenticated by biscotti cookie). Each ping
668 # has a context, in which the app must fire the ping, and a url identifying
669 # the ping.
670 { # Pings that the app shall fire (authenticated by biscotti cookie). Each ping
671 # has a context, in which the app must fire the ping, and a url identifying the
672 # ping.
Bu Sun Kim65020912020-05-20 12:08:20 -0700673 &quot;context&quot;: &quot;A String&quot;, # Defines the context of the ping.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700674 &quot;conversionUrl&quot;: &quot;A String&quot;, # The url (without the schema) that the player shall send the ping to.
675 # It&#x27;s at caller&#x27;s descretion to decide which schema to use (http vs https)
676 # Example of a returned url: //googleads.g.doubleclick.net/pagead/
677 # viewthroughconversion/962985656/?data=path%3DtHe_path%3Btype%3D
678 # cview%3Butuid%3DGISQtTNGYqaYl4sKxoVvKA&amp;labe=default
679 # The caller must append biscotti authentication (ms param in case of
680 # mobile, for example) to this ping.
Bu Sun Kim65020912020-05-20 12:08:20 -0700681 },
682 ],
683 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700684 &quot;kind&quot;: &quot;youtube#channel&quot;, # Identifies what kind of resource this is. Value: the fixed string
685 # &lt;code&gt;&quot;youtube#channel&quot;&lt;/code&gt;.
686 &quot;contentDetails&quot;: { # Details about the content of a channel. # The &lt;code&gt;contentDetails&lt;/code&gt; object encapsulates information about the
687 # channel&#x27;s content.
688 &quot;relatedPlaylists&quot;: {
689 &quot;favorites&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s favorite videos. Use
690 # the &lt;code&gt; &lt;a
691 # href=&quot;/youtube/v3/docs/playlistItems/insert&quot;&gt;playlistItems.insert&lt;/a&gt;&lt;/code&gt;
692 # and &lt;code&gt; &lt;a
693 # href=&quot;/youtube/v3/docs/playlistItems/delete&quot;&gt;playlistItems.delete&lt;/a&gt;&lt;/code&gt;
694 # to add or remove items from that list.
695 &quot;watchLater&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s watch later playlist.
696 # Use the &lt;code&gt;&lt;a
697 # href=&quot;/youtube/v3/docs/playlistItems/insert&quot;&gt;playlistItems.insert&lt;/a&gt;&lt;/code&gt;
698 # and &lt;code&gt; &lt;a
699 # href=&quot;/youtube/v3/docs/playlistItems/delete&quot;&gt;playlistItems.delete&lt;/a&gt;&lt;/code&gt;
700 # to add or remove items from that list.
701 &quot;watchHistory&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s watch history. Use the
702 # &lt;code&gt; &lt;a
703 # href=&quot;/youtube/v3/docs/playlistItems/insert&quot;&gt;playlistItems.insert&lt;/a&gt;&lt;/code&gt;
704 # and &lt;code&gt; &lt;a
705 # href=&quot;/youtube/v3/docs/playlistItems/delete&quot;&gt;playlistItems.delete&lt;/a&gt;&lt;/code&gt;
706 # to add or remove items from that list.
707 &quot;uploads&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s uploaded videos. Use
708 # the &lt;code&gt; &lt;a
709 # href=&quot;/youtube/v3/docs/videos/insert&quot;&gt;videos.insert&lt;/a&gt;&lt;/code&gt; method to
710 # upload new videos and the &lt;code&gt;&lt;a
711 # href=&quot;/youtube/v3/docs/videos/delete&quot;&gt;videos.delete&lt;/a&gt;&lt;/code&gt; method to
712 # delete previously uploaded videos.
713 &quot;likes&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s liked videos. Use the
714 # &lt;code&gt; &lt;a href=&quot;/youtube/v3/docs/playlistItems/insert&quot;&gt;
715 # playlistItems.insert&lt;/a&gt;&lt;/code&gt; and &lt;code&gt; &lt;a
716 # href=&quot;/youtube/v3/docs/playlistItems/delete&quot;&gt;playlistItems.delete&lt;/a&gt;&lt;/code&gt;
717 # to add or remove items from that list.
718 },
719 },
720 &quot;statistics&quot;: { # Statistics about a channel: number of subscribers, number of videos in the # The &lt;code&gt;statistics&lt;/code&gt; object encapsulates statistics for the channel.
721 # channel, etc.
722 &quot;viewCount&quot;: &quot;A String&quot;, # The number of times the channel has been viewed.
723 &quot;commentCount&quot;: &quot;A String&quot;, # The number of comments for the channel.
724 &quot;subscriberCount&quot;: &quot;A String&quot;, # The number of subscribers that the channel has.
725 &quot;hiddenSubscriberCount&quot;: True or False, # Whether or not the number of subscribers is shown for this user.
726 &quot;videoCount&quot;: &quot;A String&quot;, # The number of videos uploaded to the channel.
727 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700728 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700729 &quot;topicDetails&quot;: { # Freebase topic information related to the channel. # The &lt;code&gt;topicDetails&lt;/code&gt; object encapsulates information about
730 # &lt;a href=&quot;http://www.freebase.com&quot;&gt;Freebase&lt;/a&gt; topics associated with the
731 # channel.
732 &quot;topicCategories&quot;: [ # A list of Wikipedia URLs that describe the channel&#x27;s content.
733 &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700734 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700735 &quot;topicIds&quot;: [ # A list of Freebase topic IDs associated with the channel. You can retrieve
736 # information about each topic using the &lt;a
737 # href=&quot;http://wiki.freebase.com/wiki/Topic_API&quot;&gt;Freebase Topic API&lt;/a&gt;.
738 &quot;A String&quot;,
739 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700740 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700741 &quot;snippet&quot;: { # Basic details about a channel, including title, description and thumbnails. # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the channel,
742 # such as its title, description, and thumbnail images.
Bu Sun Kim65020912020-05-20 12:08:20 -0700743 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the channel&#x27;s default title and description.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700744 &quot;customUrl&quot;: &quot;A String&quot;, # The custom url of the channel.
745 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the channel. For each object in
746 # the map, the key is the name of the thumbnail image, and the value is an
747 # object that contains other information about the thumbnail.&lt;br&gt;&lt;br&gt; When
748 # displaying thumbnails in your application, make sure that your code uses
749 # the image URLs exactly as they are returned in API responses. For example,
750 # your application should not use the &lt;code&gt;http&lt;/code&gt; domain instead of the
751 # &lt;code&gt;https&lt;/code&gt; domain in a URL returned in an API response.&lt;br&gt;&lt;br&gt;
752 # Beginning in July 2018, channel thumbnail URLs will only be available in
753 # the &lt;code&gt;https&lt;/code&gt; domain, which is how the URLs appear in API
754 # responses. After that time, you might see broken images in your application
755 # if it tries to load YouTube images from the &lt;code&gt;http&lt;/code&gt; domain.
756 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
757 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
758 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
759 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
760 },
761 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
762 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
763 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
764 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
765 },
766 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
767 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
768 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
769 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
770 },
771 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
772 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
773 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
774 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
775 },
776 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
777 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
778 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
779 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
780 },
781 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700782 &quot;localized&quot;: { # Channel localization setting # Localized title and description, read-only.
783 &quot;description&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s description.
784 &quot;title&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s title.
785 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700786 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the channel was created. The value is specified in
787 # &lt; a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
788 # format.
Bu Sun Kim65020912020-05-20 12:08:20 -0700789 &quot;title&quot;: &quot;A String&quot;, # The channel&#x27;s title.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700790 &quot;country&quot;: &quot;A String&quot;, # The country of the channel.
791 &quot;description&quot;: &quot;A String&quot;, # The description of the channel.
John Asmuth614db982014-04-24 15:46:26 -0400792 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700793 &quot;status&quot;: { # JSON template for the status part of a channel. # The &lt;code&gt;status&lt;/code&gt; object encapsulates information about the privacy
794 # status of the channel.
795 &quot;isLinked&quot;: True or False, # If true, then the user is linked to either a YouTube username or G+
796 # account. Otherwise, the user doesn&#x27;t have a public YouTube identity.
Bu Sun Kim65020912020-05-20 12:08:20 -0700797 &quot;madeForKids&quot;: True or False,
798 &quot;privacyStatus&quot;: &quot;A String&quot;, # Privacy status of the channel.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700799 &quot;longUploadsStatus&quot;: &quot;A String&quot;, # The long uploads status of this channel. See
800 # https://support.google.com/youtube/answer/71673 for more information.
Bu Sun Kim65020912020-05-20 12:08:20 -0700801 &quot;selfDeclaredMadeForKids&quot;: True or False,
802 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700803 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
804 &quot;auditDetails&quot;: { # The &lt;code&gt;auditDetails&lt;/code&gt; object encapsulates channel data that is # The &lt;code&gt;auditionDetails&lt;/code&gt; object encapsulates channel data
805 # that is relevant for YouTube Partners during the audition process.
806 # relevant for YouTube Partners during the audit process.
807 &quot;communityGuidelinesGoodStanding&quot;: True or False, # Whether or not the channel respects the community guidelines.
808 &quot;copyrightStrikesGoodStanding&quot;: True or False, # Whether or not the channel has any copyright strikes.
809 &quot;contentIdClaimsGoodStanding&quot;: True or False, # Whether or not the channel has any unresolved claims.
Craig Citroe633be12015-03-02 13:40:36 -0800810 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700811 &quot;contentOwnerDetails&quot;: { # The &lt;code&gt;contentOwnerDetails&lt;/code&gt; object encapsulates channel data that # The &lt;code&gt;contentOwnerDetails&lt;/code&gt; object encapsulates channel data
812 # that is relevant for YouTube Partners linked with the channel.
813 # is relevant for YouTube Partners linked with the channel.
814 &quot;contentOwner&quot;: &quot;A String&quot;, # The ID of the content owner linked to the channel.
815 &quot;timeLinked&quot;: &quot;A String&quot;, # The date and time of when the channel was linked to the content owner.
816 # The value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO
817 # 8601&lt;/a&gt;
818 # format.
819 },
820 &quot;invideoPromotion&quot;: { # Describes an invideo promotion campaign consisting of multiple promoted # The &lt;code&gt;invideoPromotion&lt;/code&gt; object encapsulates information about
821 # promotion campaign associated with the channel.
822 # items. A campaign belongs to a single channel_id.
823 &quot;useSmartTiming&quot;: True or False, # Indicates whether the channel&#x27;s promotional campaign uses &quot;smart timing.&quot;
824 # This feature attempts to show promotions at a point in the video when they
825 # are more likely to be clicked and less likely to disrupt the viewing
826 # experience. This feature also picks up a single promotion to show on each
827 # video.
828 &quot;items&quot;: [ # List of promoted items in decreasing priority.
829 { # Describes a single promoted item.
830 &quot;timing&quot;: { # Describes a temporal position of a visual widget inside a video. # The temporal position within the video where the promoted item will be
831 # displayed. If present, it overrides the default timing.
832 &quot;type&quot;: &quot;A String&quot;, # Describes a timing type. If the value is &lt;code&gt;offsetFromStart&lt;/code&gt;, then
833 # the &lt;code&gt;offsetMs&lt;/code&gt; field represents an offset from the start of the
834 # video. If the value is &lt;code&gt;offsetFromEnd&lt;/code&gt;, then the
835 # &lt;code&gt;offsetMs&lt;/code&gt; field represents an offset from the end of the video.
836 &quot;offsetMs&quot;: &quot;A String&quot;, # Defines the time at which the promotion will appear. Depending on the value
837 # of &lt;code&gt;type&lt;/code&gt; the value of the &lt;code&gt;offsetMs&lt;/code&gt; field will
838 # represent a time offset from the start or from the end of the video,
839 # expressed in milliseconds.
840 &quot;durationMs&quot;: &quot;A String&quot;, # Defines the duration in milliseconds for which the promotion should be
841 # displayed. If missing, the client should use the default.
842 },
843 &quot;promotedByContentOwner&quot;: True or False, # If true, the content owner&#x27;s name will be used when displaying the
844 # promotion. This field can only be set when the update is made on behalf of
845 # the content owner.
846 &quot;id&quot;: { # Describes a single promoted item id. It is a union of various possible types. # Identifies the promoted item.
847 &quot;type&quot;: &quot;A String&quot;, # Describes the type of the promoted item.
848 &quot;recentlyUploadedBy&quot;: &quot;A String&quot;, # If type is recentUpload, this field identifies the channel from which to
849 # take the recent upload. If missing, the channel is assumed to be the same
850 # channel for which the invideoPromotion is set.
851 &quot;videoId&quot;: &quot;A String&quot;, # If the promoted item represents a video, this field represents the unique
852 # YouTube ID identifying it. This field will be present only if
853 # &lt;code&gt;type&lt;/code&gt; has the value &lt;code&gt;video&lt;/code&gt;.
854 &quot;websiteUrl&quot;: &quot;A String&quot;, # If the promoted item represents a website, this field represents the url
855 # pointing to the website. This field will be present only if
856 # &lt;code&gt;type&lt;/code&gt; has the value &lt;code&gt;website&lt;/code&gt;.
857 },
858 &quot;customMessage&quot;: &quot;A String&quot;, # A custom message to display for this promotion. This field is currently
859 # ignored unless the promoted item is a website.
860 },
861 ],
862 &quot;position&quot;: { # Describes the spatial position of a visual widget inside a video. It is a # The spatial position within the video where the promoted item will be
863 # displayed.
864 # union of various position types, out of which only will be set one.
865 &quot;type&quot;: &quot;A String&quot;, # Defines the position type.
866 &quot;cornerPosition&quot;: &quot;A String&quot;, # Describes in which corner of the video the visual widget will appear.
867 },
868 &quot;defaultTiming&quot;: { # Describes a temporal position of a visual widget inside a video. # The default temporal position within the video where the promoted item will
869 # be displayed. Can be overridden by more specific timing in the item.
870 &quot;type&quot;: &quot;A String&quot;, # Describes a timing type. If the value is &lt;code&gt;offsetFromStart&lt;/code&gt;, then
871 # the &lt;code&gt;offsetMs&lt;/code&gt; field represents an offset from the start of the
872 # video. If the value is &lt;code&gt;offsetFromEnd&lt;/code&gt;, then the
873 # &lt;code&gt;offsetMs&lt;/code&gt; field represents an offset from the end of the video.
874 &quot;offsetMs&quot;: &quot;A String&quot;, # Defines the time at which the promotion will appear. Depending on the value
875 # of &lt;code&gt;type&lt;/code&gt; the value of the &lt;code&gt;offsetMs&lt;/code&gt; field will
876 # represent a time offset from the start or from the end of the video,
877 # expressed in milliseconds.
878 &quot;durationMs&quot;: &quot;A String&quot;, # Defines the duration in milliseconds for which the promotion should be
879 # displayed. If missing, the client should use the default.
880 },
881 },
882 &quot;localizations&quot;: { # Localizations for different languages
883 &quot;a_key&quot;: { # Channel localization setting
884 &quot;description&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s description.
885 &quot;title&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s title.
886 },
887 },
888 }
889
890 onBehalfOfContentOwner: string, The &lt;code&gt;&lt;strong&gt;onBehalfOfContentOwner&lt;/strong&gt;&lt;/code&gt; parameter
891indicates that the authenticated user is acting on behalf of the content
892owner specified in the parameter value. This parameter is intended for
893YouTube content partners that own and manage many different YouTube
894channels. It allows content owners to authenticate once and get access to
895all their video and channel data, without having to provide authentication
896credentials for each individual channel. The actual CMS account that the
897user authenticates with needs to be linked to the specified YouTube content
898owner.
899 x__xgafv: string, V1 error format.
900 Allowed values
901 1 - v1 error format
902 2 - v2 error format
903
904Returns:
905 An object of the form:
906
907 { # A &lt;code&gt;&lt;strong&gt;channel&lt;/strong&gt;&lt;/code&gt; resource contains
908 # information about a YouTube channel.
909 &quot;brandingSettings&quot;: { # Branding properties of a YouTube channel. # The &lt;code&gt;brandingSettings&lt;/code&gt; object encapsulates information about
910 # the branding of the channel.
911 &quot;watch&quot;: { # Branding properties for the watch. All deprecated. # Branding properties for the watch page.
912 &quot;textColor&quot;: &quot;A String&quot;, # The background color for the video watch page&#x27;s branded area.
913 &quot;featuredPlaylistId&quot;: &quot;A String&quot;, # An ID that uniquely identifies a playlist that displays next to the video
914 # player.
915 &quot;backgroundColor&quot;: &quot;A String&quot;, # The text color for the video watch page&#x27;s branded area.
916 },
917 &quot;image&quot;: { # Branding properties for images associated with the channel. # Branding properties for branding images.
918 &quot;bannerMobileImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size (640x175).
919 &quot;bannerTvHighImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size high resolution (1920x1080).
920 &quot;bannerImageUrl&quot;: &quot;A String&quot;, # Banner image. Desktop size (1060x175).
921 &quot;bannerTvImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size extra high resolution (2120x1192).
922 &quot;largeBrandedBannerImageImapScript&quot;: { # The image map script for the large banner image.
923 &quot;localized&quot;: [
924 {
925 &quot;language&quot;: &quot;A String&quot;,
926 &quot;value&quot;: &quot;A String&quot;,
927 },
928 ],
929 &quot;default&quot;: &quot;A String&quot;,
930 &quot;defaultLanguage&quot;: { # The language of the default property.
931 &quot;value&quot;: &quot;A String&quot;,
932 },
933 },
934 &quot;bannerMobileExtraHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size high resolution (1440x395).
935 &quot;bannerExternalUrl&quot;: &quot;A String&quot;, # This is used only in update requests; if it&#x27;s set, we use this URL to
936 # generate all of the above banner URLs.
937 &quot;largeBrandedBannerImageUrl&quot;: { # The URL for the 854px by 70px image that appears below the video player in
938 # the expanded video view of the video watch page.
939 &quot;localized&quot;: [
940 {
941 &quot;language&quot;: &quot;A String&quot;,
942 &quot;value&quot;: &quot;A String&quot;,
943 },
944 ],
945 &quot;default&quot;: &quot;A String&quot;,
946 &quot;defaultLanguage&quot;: { # The language of the default property.
947 &quot;value&quot;: &quot;A String&quot;,
948 },
949 },
950 &quot;bannerMobileHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size high resolution (1280x360).
951 &quot;smallBrandedBannerImageUrl&quot;: { # The URL for the 640px by 70px banner image that appears below the video
952 # player in the default view of the video watch page.
953 # The URL for the image that appears above the top-left corner of the video
954 # player. This is a 25-pixel-high image with a flexible width that cannot
955 # exceed 170 pixels.
956 &quot;localized&quot;: [
957 {
958 &quot;language&quot;: &quot;A String&quot;,
959 &quot;value&quot;: &quot;A String&quot;,
960 },
961 ],
962 &quot;default&quot;: &quot;A String&quot;,
963 &quot;defaultLanguage&quot;: { # The language of the default property.
964 &quot;value&quot;: &quot;A String&quot;,
965 },
966 },
967 &quot;smallBrandedBannerImageImapScript&quot;: { # The image map script for the small banner image.
968 &quot;localized&quot;: [
969 {
970 &quot;language&quot;: &quot;A String&quot;,
971 &quot;value&quot;: &quot;A String&quot;,
972 },
973 ],
974 &quot;default&quot;: &quot;A String&quot;,
975 &quot;defaultLanguage&quot;: { # The language of the default property.
976 &quot;value&quot;: &quot;A String&quot;,
977 },
978 },
979 &quot;bannerTvLowImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size low resolution (854x480).
980 &quot;watchIconImageUrl&quot;: &quot;A String&quot;,
981 &quot;bannerMobileLowImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size low resolution (320x88).
982 &quot;bannerTabletLowImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size low resolution (1138x188).
983 &quot;bannerTvMediumImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size medium resolution (1280x720).
984 &quot;bannerTabletImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size (1707x283).
985 &quot;bannerTabletExtraHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size extra high resolution (2560x424).
986 &quot;bannerMobileMediumHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size medium/high resolution (960x263).
987 &quot;backgroundImageUrl&quot;: { # The URL for the background image shown on the video watch page. The image
988 # should be 1200px by 615px, with a maximum file size of 128k.
989 &quot;localized&quot;: [
990 {
991 &quot;language&quot;: &quot;A String&quot;,
992 &quot;value&quot;: &quot;A String&quot;,
993 },
994 ],
995 &quot;default&quot;: &quot;A String&quot;,
996 &quot;defaultLanguage&quot;: { # The language of the default property.
997 &quot;value&quot;: &quot;A String&quot;,
998 },
999 },
1000 &quot;trackingImageUrl&quot;: &quot;A String&quot;, # The URL for a 1px by 1px tracking pixel that can be used to collect
1001 # statistics for views of the channel or video pages.
1002 &quot;bannerTabletHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size high resolution (2276x377).
1003 },
1004 &quot;channel&quot;: { # Branding properties for the channel view. # Branding properties for the channel view.
1005 &quot;featuredChannelsTitle&quot;: &quot;A String&quot;, # Title for the featured channels tab.
1006 &quot;keywords&quot;: &quot;A String&quot;, # Lists keywords associated with the channel, comma-separated.
1007 &quot;featuredChannelsUrls&quot;: [ # The list of featured channels.
1008 &quot;A String&quot;,
1009 ],
1010 &quot;trackingAnalyticsAccountId&quot;: &quot;A String&quot;, # The ID for a Google Analytics account to track and measure traffic to the
1011 # channels.
1012 &quot;unsubscribedTrailer&quot;: &quot;A String&quot;, # The trailer of the channel, for users that are not subscribers.
1013 &quot;showBrowseView&quot;: True or False, # Whether the tab to browse the videos should be displayed.
1014 &quot;defaultTab&quot;: &quot;A String&quot;, # Which content tab users should see when viewing the channel.
1015 &quot;moderateComments&quot;: True or False, # Whether user-submitted comments left on the channel page need to be
1016 # approved by the channel owner to be publicly visible.
1017 &quot;showRelatedChannels&quot;: True or False, # Whether related channels should be proposed.
1018 &quot;country&quot;: &quot;A String&quot;, # The country of the channel.
1019 &quot;title&quot;: &quot;A String&quot;, # Specifies the channel title.
1020 &quot;description&quot;: &quot;A String&quot;, # Specifies the channel description.
1021 &quot;profileColor&quot;: &quot;A String&quot;, # A prominent color that can be rendered on this channel page.
1022 &quot;defaultLanguage&quot;: &quot;A String&quot;,
1023 },
1024 &quot;hints&quot;: [ # Additional experimental branding properties.
1025 { # A pair Property / Value.
1026 &quot;property&quot;: &quot;A String&quot;, # A property.
1027 &quot;value&quot;: &quot;A String&quot;, # The property&#x27;s value.
1028 },
1029 ],
1030 },
1031 &quot;conversionPings&quot;: { # The &lt;code&gt;conversionPings&lt;/code&gt; object encapsulates information about # The &lt;code&gt;conversionPings&lt;/code&gt; object encapsulates information about
1032 # conversion pings that need to be respected by the channel.
1033 # conversion pings that need to be respected by the channel.
1034 &quot;pings&quot;: [ # Pings that the app shall fire (authenticated by biscotti cookie). Each ping
1035 # has a context, in which the app must fire the ping, and a url identifying
1036 # the ping.
1037 { # Pings that the app shall fire (authenticated by biscotti cookie). Each ping
1038 # has a context, in which the app must fire the ping, and a url identifying the
1039 # ping.
1040 &quot;context&quot;: &quot;A String&quot;, # Defines the context of the ping.
1041 &quot;conversionUrl&quot;: &quot;A String&quot;, # The url (without the schema) that the player shall send the ping to.
1042 # It&#x27;s at caller&#x27;s descretion to decide which schema to use (http vs https)
1043 # Example of a returned url: //googleads.g.doubleclick.net/pagead/
1044 # viewthroughconversion/962985656/?data=path%3DtHe_path%3Btype%3D
1045 # cview%3Butuid%3DGISQtTNGYqaYl4sKxoVvKA&amp;labe=default
1046 # The caller must append biscotti authentication (ms param in case of
1047 # mobile, for example) to this ping.
1048 },
1049 ],
1050 },
1051 &quot;kind&quot;: &quot;youtube#channel&quot;, # Identifies what kind of resource this is. Value: the fixed string
1052 # &lt;code&gt;&quot;youtube#channel&quot;&lt;/code&gt;.
1053 &quot;contentDetails&quot;: { # Details about the content of a channel. # The &lt;code&gt;contentDetails&lt;/code&gt; object encapsulates information about the
1054 # channel&#x27;s content.
1055 &quot;relatedPlaylists&quot;: {
1056 &quot;favorites&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s favorite videos. Use
1057 # the &lt;code&gt; &lt;a
1058 # href=&quot;/youtube/v3/docs/playlistItems/insert&quot;&gt;playlistItems.insert&lt;/a&gt;&lt;/code&gt;
1059 # and &lt;code&gt; &lt;a
1060 # href=&quot;/youtube/v3/docs/playlistItems/delete&quot;&gt;playlistItems.delete&lt;/a&gt;&lt;/code&gt;
1061 # to add or remove items from that list.
1062 &quot;watchLater&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s watch later playlist.
1063 # Use the &lt;code&gt;&lt;a
1064 # href=&quot;/youtube/v3/docs/playlistItems/insert&quot;&gt;playlistItems.insert&lt;/a&gt;&lt;/code&gt;
1065 # and &lt;code&gt; &lt;a
1066 # href=&quot;/youtube/v3/docs/playlistItems/delete&quot;&gt;playlistItems.delete&lt;/a&gt;&lt;/code&gt;
1067 # to add or remove items from that list.
1068 &quot;watchHistory&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s watch history. Use the
1069 # &lt;code&gt; &lt;a
1070 # href=&quot;/youtube/v3/docs/playlistItems/insert&quot;&gt;playlistItems.insert&lt;/a&gt;&lt;/code&gt;
1071 # and &lt;code&gt; &lt;a
1072 # href=&quot;/youtube/v3/docs/playlistItems/delete&quot;&gt;playlistItems.delete&lt;/a&gt;&lt;/code&gt;
1073 # to add or remove items from that list.
1074 &quot;uploads&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s uploaded videos. Use
1075 # the &lt;code&gt; &lt;a
1076 # href=&quot;/youtube/v3/docs/videos/insert&quot;&gt;videos.insert&lt;/a&gt;&lt;/code&gt; method to
1077 # upload new videos and the &lt;code&gt;&lt;a
1078 # href=&quot;/youtube/v3/docs/videos/delete&quot;&gt;videos.delete&lt;/a&gt;&lt;/code&gt; method to
1079 # delete previously uploaded videos.
1080 &quot;likes&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s liked videos. Use the
1081 # &lt;code&gt; &lt;a href=&quot;/youtube/v3/docs/playlistItems/insert&quot;&gt;
1082 # playlistItems.insert&lt;/a&gt;&lt;/code&gt; and &lt;code&gt; &lt;a
1083 # href=&quot;/youtube/v3/docs/playlistItems/delete&quot;&gt;playlistItems.delete&lt;/a&gt;&lt;/code&gt;
1084 # to add or remove items from that list.
1085 },
1086 },
1087 &quot;statistics&quot;: { # Statistics about a channel: number of subscribers, number of videos in the # The &lt;code&gt;statistics&lt;/code&gt; object encapsulates statistics for the channel.
1088 # channel, etc.
1089 &quot;viewCount&quot;: &quot;A String&quot;, # The number of times the channel has been viewed.
1090 &quot;commentCount&quot;: &quot;A String&quot;, # The number of comments for the channel.
1091 &quot;subscriberCount&quot;: &quot;A String&quot;, # The number of subscribers that the channel has.
1092 &quot;hiddenSubscriberCount&quot;: True or False, # Whether or not the number of subscribers is shown for this user.
1093 &quot;videoCount&quot;: &quot;A String&quot;, # The number of videos uploaded to the channel.
1094 },
1095 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel.
1096 &quot;topicDetails&quot;: { # Freebase topic information related to the channel. # The &lt;code&gt;topicDetails&lt;/code&gt; object encapsulates information about
1097 # &lt;a href=&quot;http://www.freebase.com&quot;&gt;Freebase&lt;/a&gt; topics associated with the
1098 # channel.
1099 &quot;topicCategories&quot;: [ # A list of Wikipedia URLs that describe the channel&#x27;s content.
1100 &quot;A String&quot;,
1101 ],
1102 &quot;topicIds&quot;: [ # A list of Freebase topic IDs associated with the channel. You can retrieve
1103 # information about each topic using the &lt;a
1104 # href=&quot;http://wiki.freebase.com/wiki/Topic_API&quot;&gt;Freebase Topic API&lt;/a&gt;.
1105 &quot;A String&quot;,
1106 ],
1107 },
1108 &quot;snippet&quot;: { # Basic details about a channel, including title, description and thumbnails. # The &lt;code&gt;snippet&lt;/code&gt; object contains basic details about the channel,
1109 # such as its title, description, and thumbnail images.
1110 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the channel&#x27;s default title and description.
1111 &quot;customUrl&quot;: &quot;A String&quot;, # The custom url of the channel.
1112 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the channel. For each object in
1113 # the map, the key is the name of the thumbnail image, and the value is an
1114 # object that contains other information about the thumbnail.&lt;br&gt;&lt;br&gt; When
1115 # displaying thumbnails in your application, make sure that your code uses
1116 # the image URLs exactly as they are returned in API responses. For example,
1117 # your application should not use the &lt;code&gt;http&lt;/code&gt; domain instead of the
1118 # &lt;code&gt;https&lt;/code&gt; domain in a URL returned in an API response.&lt;br&gt;&lt;br&gt;
1119 # Beginning in July 2018, channel thumbnail URLs will only be available in
1120 # the &lt;code&gt;https&lt;/code&gt; domain, which is how the URLs appear in API
1121 # responses. After that time, you might see broken images in your application
1122 # if it tries to load YouTube images from the &lt;code&gt;http&lt;/code&gt; domain.
1123 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
1124 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1125 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1126 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1127 },
1128 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
1129 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1130 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1131 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1132 },
1133 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
1134 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1135 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1136 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1137 },
1138 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
1139 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1140 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1141 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1142 },
1143 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
1144 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
1145 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
1146 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
1147 },
1148 },
1149 &quot;localized&quot;: { # Channel localization setting # Localized title and description, read-only.
1150 &quot;description&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s description.
1151 &quot;title&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s title.
1152 },
1153 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the channel was created. The value is specified in
1154 # &lt; a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO 8601&lt;/a&gt;
1155 # format.
1156 &quot;title&quot;: &quot;A String&quot;, # The channel&#x27;s title.
1157 &quot;country&quot;: &quot;A String&quot;, # The country of the channel.
1158 &quot;description&quot;: &quot;A String&quot;, # The description of the channel.
1159 },
1160 &quot;status&quot;: { # JSON template for the status part of a channel. # The &lt;code&gt;status&lt;/code&gt; object encapsulates information about the privacy
1161 # status of the channel.
1162 &quot;isLinked&quot;: True or False, # If true, then the user is linked to either a YouTube username or G+
1163 # account. Otherwise, the user doesn&#x27;t have a public YouTube identity.
1164 &quot;madeForKids&quot;: True or False,
1165 &quot;privacyStatus&quot;: &quot;A String&quot;, # Privacy status of the channel.
1166 &quot;longUploadsStatus&quot;: &quot;A String&quot;, # The long uploads status of this channel. See
1167 # https://support.google.com/youtube/answer/71673 for more information.
1168 &quot;selfDeclaredMadeForKids&quot;: True or False,
1169 },
1170 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
1171 &quot;auditDetails&quot;: { # The &lt;code&gt;auditDetails&lt;/code&gt; object encapsulates channel data that is # The &lt;code&gt;auditionDetails&lt;/code&gt; object encapsulates channel data
1172 # that is relevant for YouTube Partners during the audition process.
1173 # relevant for YouTube Partners during the audit process.
1174 &quot;communityGuidelinesGoodStanding&quot;: True or False, # Whether or not the channel respects the community guidelines.
1175 &quot;copyrightStrikesGoodStanding&quot;: True or False, # Whether or not the channel has any copyright strikes.
1176 &quot;contentIdClaimsGoodStanding&quot;: True or False, # Whether or not the channel has any unresolved claims.
1177 },
1178 &quot;contentOwnerDetails&quot;: { # The &lt;code&gt;contentOwnerDetails&lt;/code&gt; object encapsulates channel data that # The &lt;code&gt;contentOwnerDetails&lt;/code&gt; object encapsulates channel data
1179 # that is relevant for YouTube Partners linked with the channel.
1180 # is relevant for YouTube Partners linked with the channel.
1181 &quot;contentOwner&quot;: &quot;A String&quot;, # The ID of the content owner linked to the channel.
1182 &quot;timeLinked&quot;: &quot;A String&quot;, # The date and time of when the channel was linked to the content owner.
1183 # The value is specified in &lt;a href=&quot;//www.w3.org/TR/NOTE-datetime&quot;&gt;ISO
1184 # 8601&lt;/a&gt;
1185 # format.
1186 },
1187 &quot;invideoPromotion&quot;: { # Describes an invideo promotion campaign consisting of multiple promoted # The &lt;code&gt;invideoPromotion&lt;/code&gt; object encapsulates information about
1188 # promotion campaign associated with the channel.
1189 # items. A campaign belongs to a single channel_id.
1190 &quot;useSmartTiming&quot;: True or False, # Indicates whether the channel&#x27;s promotional campaign uses &quot;smart timing.&quot;
1191 # This feature attempts to show promotions at a point in the video when they
1192 # are more likely to be clicked and less likely to disrupt the viewing
1193 # experience. This feature also picks up a single promotion to show on each
1194 # video.
1195 &quot;items&quot;: [ # List of promoted items in decreasing priority.
1196 { # Describes a single promoted item.
1197 &quot;timing&quot;: { # Describes a temporal position of a visual widget inside a video. # The temporal position within the video where the promoted item will be
1198 # displayed. If present, it overrides the default timing.
1199 &quot;type&quot;: &quot;A String&quot;, # Describes a timing type. If the value is &lt;code&gt;offsetFromStart&lt;/code&gt;, then
1200 # the &lt;code&gt;offsetMs&lt;/code&gt; field represents an offset from the start of the
1201 # video. If the value is &lt;code&gt;offsetFromEnd&lt;/code&gt;, then the
1202 # &lt;code&gt;offsetMs&lt;/code&gt; field represents an offset from the end of the video.
1203 &quot;offsetMs&quot;: &quot;A String&quot;, # Defines the time at which the promotion will appear. Depending on the value
1204 # of &lt;code&gt;type&lt;/code&gt; the value of the &lt;code&gt;offsetMs&lt;/code&gt; field will
1205 # represent a time offset from the start or from the end of the video,
1206 # expressed in milliseconds.
1207 &quot;durationMs&quot;: &quot;A String&quot;, # Defines the duration in milliseconds for which the promotion should be
1208 # displayed. If missing, the client should use the default.
1209 },
1210 &quot;promotedByContentOwner&quot;: True or False, # If true, the content owner&#x27;s name will be used when displaying the
1211 # promotion. This field can only be set when the update is made on behalf of
1212 # the content owner.
1213 &quot;id&quot;: { # Describes a single promoted item id. It is a union of various possible types. # Identifies the promoted item.
1214 &quot;type&quot;: &quot;A String&quot;, # Describes the type of the promoted item.
1215 &quot;recentlyUploadedBy&quot;: &quot;A String&quot;, # If type is recentUpload, this field identifies the channel from which to
1216 # take the recent upload. If missing, the channel is assumed to be the same
1217 # channel for which the invideoPromotion is set.
1218 &quot;videoId&quot;: &quot;A String&quot;, # If the promoted item represents a video, this field represents the unique
1219 # YouTube ID identifying it. This field will be present only if
1220 # &lt;code&gt;type&lt;/code&gt; has the value &lt;code&gt;video&lt;/code&gt;.
1221 &quot;websiteUrl&quot;: &quot;A String&quot;, # If the promoted item represents a website, this field represents the url
1222 # pointing to the website. This field will be present only if
1223 # &lt;code&gt;type&lt;/code&gt; has the value &lt;code&gt;website&lt;/code&gt;.
1224 },
1225 &quot;customMessage&quot;: &quot;A String&quot;, # A custom message to display for this promotion. This field is currently
1226 # ignored unless the promoted item is a website.
1227 },
1228 ],
1229 &quot;position&quot;: { # Describes the spatial position of a visual widget inside a video. It is a # The spatial position within the video where the promoted item will be
1230 # displayed.
1231 # union of various position types, out of which only will be set one.
1232 &quot;type&quot;: &quot;A String&quot;, # Defines the position type.
1233 &quot;cornerPosition&quot;: &quot;A String&quot;, # Describes in which corner of the video the visual widget will appear.
1234 },
1235 &quot;defaultTiming&quot;: { # Describes a temporal position of a visual widget inside a video. # The default temporal position within the video where the promoted item will
1236 # be displayed. Can be overridden by more specific timing in the item.
1237 &quot;type&quot;: &quot;A String&quot;, # Describes a timing type. If the value is &lt;code&gt;offsetFromStart&lt;/code&gt;, then
1238 # the &lt;code&gt;offsetMs&lt;/code&gt; field represents an offset from the start of the
1239 # video. If the value is &lt;code&gt;offsetFromEnd&lt;/code&gt;, then the
1240 # &lt;code&gt;offsetMs&lt;/code&gt; field represents an offset from the end of the video.
1241 &quot;offsetMs&quot;: &quot;A String&quot;, # Defines the time at which the promotion will appear. Depending on the value
1242 # of &lt;code&gt;type&lt;/code&gt; the value of the &lt;code&gt;offsetMs&lt;/code&gt; field will
1243 # represent a time offset from the start or from the end of the video,
1244 # expressed in milliseconds.
1245 &quot;durationMs&quot;: &quot;A String&quot;, # Defines the duration in milliseconds for which the promotion should be
1246 # displayed. If missing, the client should use the default.
1247 },
1248 },
1249 &quot;localizations&quot;: { # Localizations for different languages
1250 &quot;a_key&quot;: { # Channel localization setting
1251 &quot;description&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s description.
1252 &quot;title&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s title.
1253 },
1254 },
1255 }</pre>
John Asmuth614db982014-04-24 15:46:26 -04001256</div>
1257
1258</body></html>