• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<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
75<h1><a href="youtube_v3.html">YouTube Data API</a> . <a href="youtube_v3.channels.html">channels</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#list">list(part, hl=None, mine=None, mySubscribers=None, id=None, managedByMe=None, onBehalfOfContentOwner=None, forUsername=None, pageToken=None, categoryId=None, maxResults=None)</a></code></p>
79<p class="firstline">Returns a collection of zero or more channel resources that match the request criteria.</p>
80<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">
84  <code><a href="#update">update(part, body, onBehalfOfContentOwner=None)</a></code></p>
85<p class="firstline">Updates a channel's metadata. Note that this method currently only supports updates to the channel resource's brandingSettings and invideoPromotion objects and their child properties.</p>
86<h3>Method Details</h3>
87<div class="method">
88    <code class="details" id="list">list(part, hl=None, mine=None, mySubscribers=None, id=None, managedByMe=None, onBehalfOfContentOwner=None, forUsername=None, pageToken=None, categoryId=None, maxResults=None)</code>
89  <pre>Returns a collection of zero or more channel resources that match the request criteria.
90
91Args:
92  part: string, The part parameter specifies a comma-separated list of one or more channel resource properties that the API response will include.
93
94If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channel resource, the contentDetails property contains other properties, such as the uploads properties. As such, if you set part=contentDetails, the API response will also contain all of those nested properties. (required)
95  hl: string, The hl parameter should be used for filter out the properties that are not in the given language. Used for the brandingSettings part.
96  mine: boolean, Set this parameter's value to true to instruct the API to only return channels owned by the authenticated user.
97  mySubscribers: boolean, Use the subscriptions.list method and its mySubscribers parameter to retrieve a list of subscribers to the authenticated user's channel.
98  id: string, The id parameter specifies a comma-separated list of the YouTube channel ID(s) for the resource(s) that are being retrieved. In a channel resource, the id property specifies the channel's YouTube channel ID.
99  managedByMe: boolean, Note: This parameter is intended exclusively for YouTube content partners.
100
101Set this parameter's value to true to instruct the API to only return channels managed by the content owner that the onBehalfOfContentOwner parameter specifies. The user must be authenticated as a CMS account linked to the specified content owner and onBehalfOfContentOwner must be provided.
102  onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
103
104The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
105  forUsername: string, The forUsername parameter specifies a YouTube username, thereby requesting the channel associated with that username.
106  pageToken: string, The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
107  categoryId: string, The categoryId parameter specifies a YouTube guide category, thereby requesting YouTube channels associated with that category.
108  maxResults: integer, The maxResults parameter specifies the maximum number of items that should be returned in the result set.
109
110Returns:
111  An object of the form:
112
113    {
114    "eventId": "A String", # Serialized EventId of the request which produced this response.
115    "nextPageToken": "A String", # The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
116    "kind": "youtube#channelListResponse", # Identifies what kind of resource this is. Value: the fixed string "youtube#channelListResponse".
117    "visitorId": "A String", # The visitorId identifies the visitor.
118    "items": [ # A list of channels that match the request criteria.
119      { # A channel resource contains information about a YouTube channel.
120        "status": { # JSON template for the status part of a channel. # The status object encapsulates information about the privacy status of the channel.
121          "privacyStatus": "A String", # Privacy status of the channel.
122          "isLinked": True or False, # If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn't have a public YouTube identity.
123          "longUploadsStatus": "A String", # The long uploads status of this channel. See
124        },
125        "invideoPromotion": { # Describes an invideo promotion campaign consisting of multiple promoted items. A campaign belongs to a single channel_id. # The invideoPromotion object encapsulates information about promotion campaign associated with the channel.
126          "defaultTiming": { # Describes a temporal position of a visual widget inside a video. # The default temporal position within the video where the promoted item will be displayed. Can be overriden by more specific timing in the item.
127            "offsetMs": "A String", # Defines the time at which the promotion will appear. Depending on the value of type the value of the offsetMs field will represent a time offset from the start or from the end of the video, expressed in milliseconds.
128            "type": "A String", # Describes a timing type. If the value is offsetFromStart, then the offsetMs field represents an offset from the start of the video. If the value is offsetFromEnd, then the offsetMs field represents an offset from the end of the video.
129            "durationMs": "A String", # Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.
130          },
131          "items": [ # List of promoted items in decreasing priority.
132            { # Describes a single promoted item.
133              "timing": { # Describes a temporal position of a visual widget inside a video. # The temporal position within the video where the promoted item will be displayed. If present, it overrides the default timing.
134                "offsetMs": "A String", # Defines the time at which the promotion will appear. Depending on the value of type the value of the offsetMs field will represent a time offset from the start or from the end of the video, expressed in milliseconds.
135                "type": "A String", # Describes a timing type. If the value is offsetFromStart, then the offsetMs field represents an offset from the start of the video. If the value is offsetFromEnd, then the offsetMs field represents an offset from the end of the video.
136                "durationMs": "A String", # Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.
137              },
138              "promotedByContentOwner": True or False, # If true, the content owner's name will be used when displaying the promotion. This field can only be set when the update is made on behalf of the content owner.
139              "customMessage": "A String", # A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website.
140              "id": { # Describes a single promoted item id. It is a union of various possible types. # Identifies the promoted item.
141                "websiteUrl": "A String", # If the promoted item represents a website, this field represents the url pointing to the website. This field will be present only if type has the value website.
142                "recentlyUploadedBy": "A String", # If type is recentUpload, this field identifies the channel from which to take the recent upload. If missing, the channel is assumed to be the same channel for which the invideoPromotion is set.
143                "type": "A String", # Describes the type of the promoted item.
144                "videoId": "A String", # If the promoted item represents a video, this field represents the unique YouTube ID identifying it. This field will be present only if type has the value video.
145              },
146            },
147          ],
148          "useSmartTiming": True or False, # Indicates whether the channel's promotional campaign uses "smart timing." This feature attempts to show promotions at a point in the video when they are more likely to be clicked and less likely to disrupt the viewing experience. This feature also picks up a single promotion to show on each video.
149          "position": { # Describes the spatial position of a visual widget inside a video. It is a union of various position types, out of which only will be set one. # The spatial position within the video where the promoted item will be displayed.
150            "cornerPosition": "A String", # Describes in which corner of the video the visual widget will appear.
151            "type": "A String", # Defines the position type.
152          },
153        },
154        "kind": "youtube#channel", # Identifies what kind of resource this is. Value: the fixed string "youtube#channel".
155        "statistics": { # Statistics about a channel: number of subscribers, number of videos in the channel, etc. # The statistics object encapsulates statistics for the channel.
156          "commentCount": "A String", # The number of comments for the channel.
157          "subscriberCount": "A String", # The number of subscribers that the channel has.
158          "videoCount": "A String", # The number of videos uploaded to the channel.
159          "hiddenSubscriberCount": True or False, # Whether or not the number of subscribers is shown for this user.
160          "viewCount": "A String", # The number of times the channel has been viewed.
161        },
162        "contentOwnerDetails": { # The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel. # The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel.
163          "contentOwner": "A String", # The ID of the content owner linked to the channel.
164          "timeLinked": "A String", # The date and time of when the channel was linked to the content owner. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
165        },
166        "topicDetails": { # Freebase topic information related to the channel. # The topicDetails object encapsulates information about Freebase topics associated with the channel.
167          "topicIds": [ # A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API.
168            "A String",
169          ],
170          "topicCategories": [ # A list of Wikipedia URLs that describe the channel's content.
171            "A String",
172          ],
173        },
174        "contentDetails": { # Details about the content of a channel. # The contentDetails object encapsulates information about the channel's content.
175          "relatedPlaylists": {
176            "watchLater": "A String", # The ID of the playlist that contains the channel"s watch later playlist. Use the playlistItems.insert and  playlistItems.delete to add or remove items from that list.
177            "watchHistory": "A String", # The ID of the playlist that contains the channel"s watch history. Use the  playlistItems.insert and  playlistItems.delete to add or remove items from that list.
178            "likes": "A String", # The ID of the playlist that contains the channel"s liked videos. Use the   playlistItems.insert and  playlistItems.delete to add or remove items from that list.
179            "favorites": "A String", # The ID of the playlist that contains the channel"s favorite videos. Use the  playlistItems.insert and  playlistItems.delete to add or remove items from that list.
180            "uploads": "A String", # The ID of the playlist that contains the channel"s uploaded videos. Use the  videos.insert method to upload new videos and the videos.delete method to delete previously uploaded videos.
181          },
182        },
183        "brandingSettings": { # Branding properties of a YouTube channel. # The brandingSettings object encapsulates information about the branding of the channel.
184          "image": { # Branding properties for images associated with the channel. # Branding properties for branding images.
185            "largeBrandedBannerImageImapScript": { # The image map script for the large banner image.
186              "default": "A String",
187              "localized": [
188                {
189                  "value": "A String",
190                  "language": "A String",
191                },
192              ],
193              "defaultLanguage": { # The language of the default property.
194                "value": "A String",
195              },
196            },
197            "smallBrandedBannerImageUrl": { # The URL for the 640px by 70px banner image that appears below the video player in the default view of the video watch page.
198              "default": "A String",
199              "localized": [
200                {
201                  "value": "A String",
202                  "language": "A String",
203                },
204              ],
205              "defaultLanguage": { # The language of the default property.
206                "value": "A String",
207              },
208            },
209            "bannerTvImageUrl": "A String", # Banner image. TV size extra high resolution (2120x1192).
210            "bannerTvLowImageUrl": "A String", # Banner image. TV size low resolution (854x480).
211            "largeBrandedBannerImageUrl": { # The URL for the 854px by 70px image that appears below the video player in the expanded video view of the video watch page.
212              "default": "A String",
213              "localized": [
214                {
215                  "value": "A String",
216                  "language": "A String",
217                },
218              ],
219              "defaultLanguage": { # The language of the default property.
220                "value": "A String",
221              },
222            },
223            "bannerImageUrl": "A String", # Banner image. Desktop size (1060x175).
224            "backgroundImageUrl": { # The URL for the background image shown on the video watch page. The image should be 1200px by 615px, with a maximum file size of 128k.
225              "default": "A String",
226              "localized": [
227                {
228                  "value": "A String",
229                  "language": "A String",
230                },
231              ],
232              "defaultLanguage": { # The language of the default property.
233                "value": "A String",
234              },
235            },
236            "smallBrandedBannerImageImapScript": { # The image map script for the small banner image.
237              "default": "A String",
238              "localized": [
239                {
240                  "value": "A String",
241                  "language": "A String",
242                },
243              ],
244              "defaultLanguage": { # The language of the default property.
245                "value": "A String",
246              },
247            },
248            "bannerExternalUrl": "A String", # This is used only in update requests; if it's set, we use this URL to generate all of the above banner URLs.
249            "watchIconImageUrl": "A String", # The URL for the image that appears above the top-left corner of the video player. This is a 25-pixel-high image with a flexible width that cannot exceed 170 pixels.
250            "bannerTvMediumImageUrl": "A String", # Banner image. TV size medium resolution (1280x720).
251            "bannerMobileImageUrl": "A String", # Banner image. Mobile size (640x175).
252            "bannerTabletHdImageUrl": "A String", # Banner image. Tablet size high resolution (2276x377).
253            "bannerTvHighImageUrl": "A String", # Banner image. TV size high resolution (1920x1080).
254            "trackingImageUrl": "A String", # The URL for a 1px by 1px tracking pixel that can be used to collect statistics for views of the channel or video pages.
255            "bannerTabletLowImageUrl": "A String", # Banner image. Tablet size low resolution (1138x188).
256            "bannerMobileExtraHdImageUrl": "A String", # Banner image. Mobile size high resolution (1440x395).
257            "bannerTabletImageUrl": "A String", # Banner image. Tablet size (1707x283).
258            "bannerMobileLowImageUrl": "A String", # Banner image. Mobile size low resolution (320x88).
259            "bannerMobileMediumHdImageUrl": "A String", # Banner image. Mobile size medium/high resolution (960x263).
260            "bannerTabletExtraHdImageUrl": "A String", # Banner image. Tablet size extra high resolution (2560x424).
261            "bannerMobileHdImageUrl": "A String", # Banner image. Mobile size high resolution (1280x360).
262          },
263          "watch": { # Branding properties for the watch. All deprecated. # Branding properties for the watch page.
264            "textColor": "A String", # The background color for the video watch page's branded area.
265            "featuredPlaylistId": "A String", # An ID that uniquely identifies a playlist that displays next to the video player.
266            "backgroundColor": "A String", # The text color for the video watch page's branded area.
267          },
268          "channel": { # Branding properties for the channel view. # Branding properties for the channel view.
269            "description": "A String", # Specifies the channel description.
270            "title": "A String", # Specifies the channel title.
271            "country": "A String", # The country of the channel.
272            "showBrowseView": True or False, # Whether the tab to browse the videos should be displayed.
273            "featuredChannelsTitle": "A String", # Title for the featured channels tab.
274            "defaultLanguage": "A String",
275            "unsubscribedTrailer": "A String", # The trailer of the channel, for users that are not subscribers.
276            "keywords": "A String", # Lists keywords associated with the channel, comma-separated.
277            "profileColor": "A String", # A prominent color that can be rendered on this channel page.
278            "defaultTab": "A String", # Which content tab users should see when viewing the channel.
279            "moderateComments": True or False, # Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible.
280            "featuredChannelsUrls": [ # The list of featured channels.
281              "A String",
282            ],
283            "trackingAnalyticsAccountId": "A String", # The ID for a Google Analytics account to track and measure traffic to the channels.
284            "showRelatedChannels": True or False, # Whether related channels should be proposed.
285          },
286          "hints": [ # Additional experimental branding properties.
287            { # A pair Property / Value.
288              "property": "A String", # A property.
289              "value": "A String", # The property's value.
290            },
291          ],
292        },
293        "conversionPings": { # The conversionPings object encapsulates information about conversion pings that need to be respected by the channel. # The conversionPings object encapsulates information about conversion pings that need to be respected by the channel.
294          "pings": [ # Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping.
295            { # Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping.
296              "conversionUrl": "A String", # The url (without the schema) that the player shall send the ping to. It's at caller's descretion to decide which schema to use (http vs https) Example of a returned url: //googleads.g.doubleclick.net/pagead/ viewthroughconversion/962985656/?data=path%3DtHe_path%3Btype%3D cview%3Butuid%3DGISQtTNGYqaYl4sKxoVvKA&labe=default The caller must append biscotti authentication (ms param in case of mobile, for example) to this ping.
297              "context": "A String", # Defines the context of the ping.
298            },
299          ],
300        },
301        "snippet": { # Basic details about a channel, including title, description and thumbnails. # The snippet object contains basic details about the channel, such as its title, description, and thumbnail images.
302          "description": "A String", # The description of the channel.
303          "title": "A String", # The channel's title.
304          "country": "A String", # The country of the channel.
305          "customUrl": "A String", # The custom url of the channel.
306          "publishedAt": "A String", # The date and time that the channel was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
307          "defaultLanguage": "A String", # The language of the channel's default title and description.
308          "localized": { # Channel localization setting # Localized title and description, read-only.
309            "description": "A String", # The localized strings for channel's description.
310            "title": "A String", # The localized strings for channel's title.
311          },
312          "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the channel. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
313              #
314              # When displaying thumbnails in your application, make sure that your code uses the image URLs exactly as they are returned in API responses. For example, your application should not use the http domain instead of the https domain in a URL returned in an API response.
315              #
316              # Beginning in July 2018, channel thumbnail URLs will only be available in the https domain, which is how the URLs appear in API responses. After that time, you might see broken images in your application if it tries to load YouTube images from the http domain.
317            "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
318              "url": "A String", # The thumbnail image's URL.
319              "width": 42, # (Optional) Width of the thumbnail image.
320              "height": 42, # (Optional) Height of the thumbnail image.
321            },
322            "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
323              "url": "A String", # The thumbnail image's URL.
324              "width": 42, # (Optional) Width of the thumbnail image.
325              "height": 42, # (Optional) Height of the thumbnail image.
326            },
327            "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
328              "url": "A String", # The thumbnail image's URL.
329              "width": 42, # (Optional) Width of the thumbnail image.
330              "height": 42, # (Optional) Height of the thumbnail image.
331            },
332            "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
333              "url": "A String", # The thumbnail image's URL.
334              "width": 42, # (Optional) Width of the thumbnail image.
335              "height": 42, # (Optional) Height of the thumbnail image.
336            },
337            "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
338              "url": "A String", # The thumbnail image's URL.
339              "width": 42, # (Optional) Width of the thumbnail image.
340              "height": 42, # (Optional) Height of the thumbnail image.
341            },
342          },
343        },
344        "auditDetails": { # The auditDetails object encapsulates channel data that is relevant for YouTube Partners during the audit process. # The auditionDetails object encapsulates channel data that is relevant for YouTube Partners during the audition process.
345          "communityGuidelinesGoodStanding": True or False, # Whether or not the channel respects the community guidelines.
346          "contentIdClaimsGoodStanding": True or False, # Whether or not the channel has any unresolved claims.
347          "copyrightStrikesGoodStanding": True or False, # Whether or not the channel has any copyright strikes.
348        },
349        "etag": "A String", # Etag of this resource.
350        "id": "A String", # The ID that YouTube uses to uniquely identify the channel.
351        "localizations": { # Localizations for different languages
352          "a_key": { # Channel localization setting # The language tag, using string since map_key require simple types.
353            "description": "A String", # The localized strings for channel's description.
354            "title": "A String", # The localized strings for channel's title.
355          },
356        },
357      },
358    ],
359    "tokenPagination": { # Stub token pagination template to suppress results.
360    },
361    "etag": "A String", # Etag of this resource.
362    "prevPageToken": "A String", # The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
363    "pageInfo": { # Paging details for lists of resources, including total number of items available and number of resources returned in a single page.
364      "totalResults": 42, # The total number of results in the result set.
365      "resultsPerPage": 42, # The number of results included in the API response.
366    },
367  }</pre>
368</div>
369
370<div class="method">
371    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
372  <pre>Retrieves the next page of results.
373
374Args:
375  previous_request: The request for the previous page. (required)
376  previous_response: The response from the request for the previous page. (required)
377
378Returns:
379  A request object that you can call 'execute()' on to request the next
380  page. Returns None if there are no more items in the collection.
381    </pre>
382</div>
383
384<div class="method">
385    <code class="details" id="update">update(part, body, onBehalfOfContentOwner=None)</code>
386  <pre>Updates a channel's metadata. Note that this method currently only supports updates to the channel resource's brandingSettings and invideoPromotion objects and their child properties.
387
388Args:
389  part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
390
391The API currently only allows the parameter value to be set to either brandingSettings or invideoPromotion. (You cannot update both of those parts with a single request.)
392
393Note that this method overrides the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. (required)
394  body: object, The request body. (required)
395    The object takes the form of:
396
397{ # A channel resource contains information about a YouTube channel.
398  "status": { # JSON template for the status part of a channel. # The status object encapsulates information about the privacy status of the channel.
399    "privacyStatus": "A String", # Privacy status of the channel.
400    "isLinked": True or False, # If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn't have a public YouTube identity.
401    "longUploadsStatus": "A String", # The long uploads status of this channel. See
402  },
403  "invideoPromotion": { # Describes an invideo promotion campaign consisting of multiple promoted items. A campaign belongs to a single channel_id. # The invideoPromotion object encapsulates information about promotion campaign associated with the channel.
404    "defaultTiming": { # Describes a temporal position of a visual widget inside a video. # The default temporal position within the video where the promoted item will be displayed. Can be overriden by more specific timing in the item.
405      "offsetMs": "A String", # Defines the time at which the promotion will appear. Depending on the value of type the value of the offsetMs field will represent a time offset from the start or from the end of the video, expressed in milliseconds.
406      "type": "A String", # Describes a timing type. If the value is offsetFromStart, then the offsetMs field represents an offset from the start of the video. If the value is offsetFromEnd, then the offsetMs field represents an offset from the end of the video.
407      "durationMs": "A String", # Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.
408    },
409    "items": [ # List of promoted items in decreasing priority.
410      { # Describes a single promoted item.
411        "timing": { # Describes a temporal position of a visual widget inside a video. # The temporal position within the video where the promoted item will be displayed. If present, it overrides the default timing.
412          "offsetMs": "A String", # Defines the time at which the promotion will appear. Depending on the value of type the value of the offsetMs field will represent a time offset from the start or from the end of the video, expressed in milliseconds.
413          "type": "A String", # Describes a timing type. If the value is offsetFromStart, then the offsetMs field represents an offset from the start of the video. If the value is offsetFromEnd, then the offsetMs field represents an offset from the end of the video.
414          "durationMs": "A String", # Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.
415        },
416        "promotedByContentOwner": True or False, # If true, the content owner's name will be used when displaying the promotion. This field can only be set when the update is made on behalf of the content owner.
417        "customMessage": "A String", # A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website.
418        "id": { # Describes a single promoted item id. It is a union of various possible types. # Identifies the promoted item.
419          "websiteUrl": "A String", # If the promoted item represents a website, this field represents the url pointing to the website. This field will be present only if type has the value website.
420          "recentlyUploadedBy": "A String", # If type is recentUpload, this field identifies the channel from which to take the recent upload. If missing, the channel is assumed to be the same channel for which the invideoPromotion is set.
421          "type": "A String", # Describes the type of the promoted item.
422          "videoId": "A String", # If the promoted item represents a video, this field represents the unique YouTube ID identifying it. This field will be present only if type has the value video.
423        },
424      },
425    ],
426    "useSmartTiming": True or False, # Indicates whether the channel's promotional campaign uses "smart timing." This feature attempts to show promotions at a point in the video when they are more likely to be clicked and less likely to disrupt the viewing experience. This feature also picks up a single promotion to show on each video.
427    "position": { # Describes the spatial position of a visual widget inside a video. It is a union of various position types, out of which only will be set one. # The spatial position within the video where the promoted item will be displayed.
428      "cornerPosition": "A String", # Describes in which corner of the video the visual widget will appear.
429      "type": "A String", # Defines the position type.
430    },
431  },
432  "kind": "youtube#channel", # Identifies what kind of resource this is. Value: the fixed string "youtube#channel".
433  "statistics": { # Statistics about a channel: number of subscribers, number of videos in the channel, etc. # The statistics object encapsulates statistics for the channel.
434    "commentCount": "A String", # The number of comments for the channel.
435    "subscriberCount": "A String", # The number of subscribers that the channel has.
436    "videoCount": "A String", # The number of videos uploaded to the channel.
437    "hiddenSubscriberCount": True or False, # Whether or not the number of subscribers is shown for this user.
438    "viewCount": "A String", # The number of times the channel has been viewed.
439  },
440  "contentOwnerDetails": { # The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel. # The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel.
441    "contentOwner": "A String", # The ID of the content owner linked to the channel.
442    "timeLinked": "A String", # The date and time of when the channel was linked to the content owner. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
443  },
444  "topicDetails": { # Freebase topic information related to the channel. # The topicDetails object encapsulates information about Freebase topics associated with the channel.
445    "topicIds": [ # A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API.
446      "A String",
447    ],
448    "topicCategories": [ # A list of Wikipedia URLs that describe the channel's content.
449      "A String",
450    ],
451  },
452  "contentDetails": { # Details about the content of a channel. # The contentDetails object encapsulates information about the channel's content.
453    "relatedPlaylists": {
454      "watchLater": "A String", # The ID of the playlist that contains the channel"s watch later playlist. Use the playlistItems.insert and  playlistItems.delete to add or remove items from that list.
455      "watchHistory": "A String", # The ID of the playlist that contains the channel"s watch history. Use the  playlistItems.insert and  playlistItems.delete to add or remove items from that list.
456      "likes": "A String", # The ID of the playlist that contains the channel"s liked videos. Use the   playlistItems.insert and  playlistItems.delete to add or remove items from that list.
457      "favorites": "A String", # The ID of the playlist that contains the channel"s favorite videos. Use the  playlistItems.insert and  playlistItems.delete to add or remove items from that list.
458      "uploads": "A String", # The ID of the playlist that contains the channel"s uploaded videos. Use the  videos.insert method to upload new videos and the videos.delete method to delete previously uploaded videos.
459    },
460  },
461  "brandingSettings": { # Branding properties of a YouTube channel. # The brandingSettings object encapsulates information about the branding of the channel.
462    "image": { # Branding properties for images associated with the channel. # Branding properties for branding images.
463      "largeBrandedBannerImageImapScript": { # The image map script for the large banner image.
464        "default": "A String",
465        "localized": [
466          {
467            "value": "A String",
468            "language": "A String",
469          },
470        ],
471        "defaultLanguage": { # The language of the default property.
472          "value": "A String",
473        },
474      },
475      "smallBrandedBannerImageUrl": { # The URL for the 640px by 70px banner image that appears below the video player in the default view of the video watch page.
476        "default": "A String",
477        "localized": [
478          {
479            "value": "A String",
480            "language": "A String",
481          },
482        ],
483        "defaultLanguage": { # The language of the default property.
484          "value": "A String",
485        },
486      },
487      "bannerTvImageUrl": "A String", # Banner image. TV size extra high resolution (2120x1192).
488      "bannerTvLowImageUrl": "A String", # Banner image. TV size low resolution (854x480).
489      "largeBrandedBannerImageUrl": { # The URL for the 854px by 70px image that appears below the video player in the expanded video view of the video watch page.
490        "default": "A String",
491        "localized": [
492          {
493            "value": "A String",
494            "language": "A String",
495          },
496        ],
497        "defaultLanguage": { # The language of the default property.
498          "value": "A String",
499        },
500      },
501      "bannerImageUrl": "A String", # Banner image. Desktop size (1060x175).
502      "backgroundImageUrl": { # The URL for the background image shown on the video watch page. The image should be 1200px by 615px, with a maximum file size of 128k.
503        "default": "A String",
504        "localized": [
505          {
506            "value": "A String",
507            "language": "A String",
508          },
509        ],
510        "defaultLanguage": { # The language of the default property.
511          "value": "A String",
512        },
513      },
514      "smallBrandedBannerImageImapScript": { # The image map script for the small banner image.
515        "default": "A String",
516        "localized": [
517          {
518            "value": "A String",
519            "language": "A String",
520          },
521        ],
522        "defaultLanguage": { # The language of the default property.
523          "value": "A String",
524        },
525      },
526      "bannerExternalUrl": "A String", # This is used only in update requests; if it's set, we use this URL to generate all of the above banner URLs.
527      "watchIconImageUrl": "A String", # The URL for the image that appears above the top-left corner of the video player. This is a 25-pixel-high image with a flexible width that cannot exceed 170 pixels.
528      "bannerTvMediumImageUrl": "A String", # Banner image. TV size medium resolution (1280x720).
529      "bannerMobileImageUrl": "A String", # Banner image. Mobile size (640x175).
530      "bannerTabletHdImageUrl": "A String", # Banner image. Tablet size high resolution (2276x377).
531      "bannerTvHighImageUrl": "A String", # Banner image. TV size high resolution (1920x1080).
532      "trackingImageUrl": "A String", # The URL for a 1px by 1px tracking pixel that can be used to collect statistics for views of the channel or video pages.
533      "bannerTabletLowImageUrl": "A String", # Banner image. Tablet size low resolution (1138x188).
534      "bannerMobileExtraHdImageUrl": "A String", # Banner image. Mobile size high resolution (1440x395).
535      "bannerTabletImageUrl": "A String", # Banner image. Tablet size (1707x283).
536      "bannerMobileLowImageUrl": "A String", # Banner image. Mobile size low resolution (320x88).
537      "bannerMobileMediumHdImageUrl": "A String", # Banner image. Mobile size medium/high resolution (960x263).
538      "bannerTabletExtraHdImageUrl": "A String", # Banner image. Tablet size extra high resolution (2560x424).
539      "bannerMobileHdImageUrl": "A String", # Banner image. Mobile size high resolution (1280x360).
540    },
541    "watch": { # Branding properties for the watch. All deprecated. # Branding properties for the watch page.
542      "textColor": "A String", # The background color for the video watch page's branded area.
543      "featuredPlaylistId": "A String", # An ID that uniquely identifies a playlist that displays next to the video player.
544      "backgroundColor": "A String", # The text color for the video watch page's branded area.
545    },
546    "channel": { # Branding properties for the channel view. # Branding properties for the channel view.
547      "description": "A String", # Specifies the channel description.
548      "title": "A String", # Specifies the channel title.
549      "country": "A String", # The country of the channel.
550      "showBrowseView": True or False, # Whether the tab to browse the videos should be displayed.
551      "featuredChannelsTitle": "A String", # Title for the featured channels tab.
552      "defaultLanguage": "A String",
553      "unsubscribedTrailer": "A String", # The trailer of the channel, for users that are not subscribers.
554      "keywords": "A String", # Lists keywords associated with the channel, comma-separated.
555      "profileColor": "A String", # A prominent color that can be rendered on this channel page.
556      "defaultTab": "A String", # Which content tab users should see when viewing the channel.
557      "moderateComments": True or False, # Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible.
558      "featuredChannelsUrls": [ # The list of featured channels.
559        "A String",
560      ],
561      "trackingAnalyticsAccountId": "A String", # The ID for a Google Analytics account to track and measure traffic to the channels.
562      "showRelatedChannels": True or False, # Whether related channels should be proposed.
563    },
564    "hints": [ # Additional experimental branding properties.
565      { # A pair Property / Value.
566        "property": "A String", # A property.
567        "value": "A String", # The property's value.
568      },
569    ],
570  },
571  "conversionPings": { # The conversionPings object encapsulates information about conversion pings that need to be respected by the channel. # The conversionPings object encapsulates information about conversion pings that need to be respected by the channel.
572    "pings": [ # Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping.
573      { # Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping.
574        "conversionUrl": "A String", # The url (without the schema) that the player shall send the ping to. It's at caller's descretion to decide which schema to use (http vs https) Example of a returned url: //googleads.g.doubleclick.net/pagead/ viewthroughconversion/962985656/?data=path%3DtHe_path%3Btype%3D cview%3Butuid%3DGISQtTNGYqaYl4sKxoVvKA&labe=default The caller must append biscotti authentication (ms param in case of mobile, for example) to this ping.
575        "context": "A String", # Defines the context of the ping.
576      },
577    ],
578  },
579  "snippet": { # Basic details about a channel, including title, description and thumbnails. # The snippet object contains basic details about the channel, such as its title, description, and thumbnail images.
580    "description": "A String", # The description of the channel.
581    "title": "A String", # The channel's title.
582    "country": "A String", # The country of the channel.
583    "customUrl": "A String", # The custom url of the channel.
584    "publishedAt": "A String", # The date and time that the channel was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
585    "defaultLanguage": "A String", # The language of the channel's default title and description.
586    "localized": { # Channel localization setting # Localized title and description, read-only.
587      "description": "A String", # The localized strings for channel's description.
588      "title": "A String", # The localized strings for channel's title.
589    },
590    "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the channel. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
591        #
592        # When displaying thumbnails in your application, make sure that your code uses the image URLs exactly as they are returned in API responses. For example, your application should not use the http domain instead of the https domain in a URL returned in an API response.
593        #
594        # Beginning in July 2018, channel thumbnail URLs will only be available in the https domain, which is how the URLs appear in API responses. After that time, you might see broken images in your application if it tries to load YouTube images from the http domain.
595      "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
596        "url": "A String", # The thumbnail image's URL.
597        "width": 42, # (Optional) Width of the thumbnail image.
598        "height": 42, # (Optional) Height of the thumbnail image.
599      },
600      "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
601        "url": "A String", # The thumbnail image's URL.
602        "width": 42, # (Optional) Width of the thumbnail image.
603        "height": 42, # (Optional) Height of the thumbnail image.
604      },
605      "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
606        "url": "A String", # The thumbnail image's URL.
607        "width": 42, # (Optional) Width of the thumbnail image.
608        "height": 42, # (Optional) Height of the thumbnail image.
609      },
610      "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
611        "url": "A String", # The thumbnail image's URL.
612        "width": 42, # (Optional) Width of the thumbnail image.
613        "height": 42, # (Optional) Height of the thumbnail image.
614      },
615      "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
616        "url": "A String", # The thumbnail image's URL.
617        "width": 42, # (Optional) Width of the thumbnail image.
618        "height": 42, # (Optional) Height of the thumbnail image.
619      },
620    },
621  },
622  "auditDetails": { # The auditDetails object encapsulates channel data that is relevant for YouTube Partners during the audit process. # The auditionDetails object encapsulates channel data that is relevant for YouTube Partners during the audition process.
623    "communityGuidelinesGoodStanding": True or False, # Whether or not the channel respects the community guidelines.
624    "contentIdClaimsGoodStanding": True or False, # Whether or not the channel has any unresolved claims.
625    "copyrightStrikesGoodStanding": True or False, # Whether or not the channel has any copyright strikes.
626  },
627  "etag": "A String", # Etag of this resource.
628  "id": "A String", # The ID that YouTube uses to uniquely identify the channel.
629  "localizations": { # Localizations for different languages
630    "a_key": { # Channel localization setting # The language tag, using string since map_key require simple types.
631      "description": "A String", # The localized strings for channel's description.
632      "title": "A String", # The localized strings for channel's title.
633    },
634  },
635}
636
637  onBehalfOfContentOwner: string, The onBehalfOfContentOwner parameter indicates that the authenticated user is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with needs to be linked to the specified YouTube content owner.
638
639Returns:
640  An object of the form:
641
642    { # A channel resource contains information about a YouTube channel.
643    "status": { # JSON template for the status part of a channel. # The status object encapsulates information about the privacy status of the channel.
644      "privacyStatus": "A String", # Privacy status of the channel.
645      "isLinked": True or False, # If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn't have a public YouTube identity.
646      "longUploadsStatus": "A String", # The long uploads status of this channel. See
647    },
648    "invideoPromotion": { # Describes an invideo promotion campaign consisting of multiple promoted items. A campaign belongs to a single channel_id. # The invideoPromotion object encapsulates information about promotion campaign associated with the channel.
649      "defaultTiming": { # Describes a temporal position of a visual widget inside a video. # The default temporal position within the video where the promoted item will be displayed. Can be overriden by more specific timing in the item.
650        "offsetMs": "A String", # Defines the time at which the promotion will appear. Depending on the value of type the value of the offsetMs field will represent a time offset from the start or from the end of the video, expressed in milliseconds.
651        "type": "A String", # Describes a timing type. If the value is offsetFromStart, then the offsetMs field represents an offset from the start of the video. If the value is offsetFromEnd, then the offsetMs field represents an offset from the end of the video.
652        "durationMs": "A String", # Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.
653      },
654      "items": [ # List of promoted items in decreasing priority.
655        { # Describes a single promoted item.
656          "timing": { # Describes a temporal position of a visual widget inside a video. # The temporal position within the video where the promoted item will be displayed. If present, it overrides the default timing.
657            "offsetMs": "A String", # Defines the time at which the promotion will appear. Depending on the value of type the value of the offsetMs field will represent a time offset from the start or from the end of the video, expressed in milliseconds.
658            "type": "A String", # Describes a timing type. If the value is offsetFromStart, then the offsetMs field represents an offset from the start of the video. If the value is offsetFromEnd, then the offsetMs field represents an offset from the end of the video.
659            "durationMs": "A String", # Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.
660          },
661          "promotedByContentOwner": True or False, # If true, the content owner's name will be used when displaying the promotion. This field can only be set when the update is made on behalf of the content owner.
662          "customMessage": "A String", # A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website.
663          "id": { # Describes a single promoted item id. It is a union of various possible types. # Identifies the promoted item.
664            "websiteUrl": "A String", # If the promoted item represents a website, this field represents the url pointing to the website. This field will be present only if type has the value website.
665            "recentlyUploadedBy": "A String", # If type is recentUpload, this field identifies the channel from which to take the recent upload. If missing, the channel is assumed to be the same channel for which the invideoPromotion is set.
666            "type": "A String", # Describes the type of the promoted item.
667            "videoId": "A String", # If the promoted item represents a video, this field represents the unique YouTube ID identifying it. This field will be present only if type has the value video.
668          },
669        },
670      ],
671      "useSmartTiming": True or False, # Indicates whether the channel's promotional campaign uses "smart timing." This feature attempts to show promotions at a point in the video when they are more likely to be clicked and less likely to disrupt the viewing experience. This feature also picks up a single promotion to show on each video.
672      "position": { # Describes the spatial position of a visual widget inside a video. It is a union of various position types, out of which only will be set one. # The spatial position within the video where the promoted item will be displayed.
673        "cornerPosition": "A String", # Describes in which corner of the video the visual widget will appear.
674        "type": "A String", # Defines the position type.
675      },
676    },
677    "kind": "youtube#channel", # Identifies what kind of resource this is. Value: the fixed string "youtube#channel".
678    "statistics": { # Statistics about a channel: number of subscribers, number of videos in the channel, etc. # The statistics object encapsulates statistics for the channel.
679      "commentCount": "A String", # The number of comments for the channel.
680      "subscriberCount": "A String", # The number of subscribers that the channel has.
681      "videoCount": "A String", # The number of videos uploaded to the channel.
682      "hiddenSubscriberCount": True or False, # Whether or not the number of subscribers is shown for this user.
683      "viewCount": "A String", # The number of times the channel has been viewed.
684    },
685    "contentOwnerDetails": { # The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel. # The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel.
686      "contentOwner": "A String", # The ID of the content owner linked to the channel.
687      "timeLinked": "A String", # The date and time of when the channel was linked to the content owner. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
688    },
689    "topicDetails": { # Freebase topic information related to the channel. # The topicDetails object encapsulates information about Freebase topics associated with the channel.
690      "topicIds": [ # A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API.
691        "A String",
692      ],
693      "topicCategories": [ # A list of Wikipedia URLs that describe the channel's content.
694        "A String",
695      ],
696    },
697    "contentDetails": { # Details about the content of a channel. # The contentDetails object encapsulates information about the channel's content.
698      "relatedPlaylists": {
699        "watchLater": "A String", # The ID of the playlist that contains the channel"s watch later playlist. Use the playlistItems.insert and  playlistItems.delete to add or remove items from that list.
700        "watchHistory": "A String", # The ID of the playlist that contains the channel"s watch history. Use the  playlistItems.insert and  playlistItems.delete to add or remove items from that list.
701        "likes": "A String", # The ID of the playlist that contains the channel"s liked videos. Use the   playlistItems.insert and  playlistItems.delete to add or remove items from that list.
702        "favorites": "A String", # The ID of the playlist that contains the channel"s favorite videos. Use the  playlistItems.insert and  playlistItems.delete to add or remove items from that list.
703        "uploads": "A String", # The ID of the playlist that contains the channel"s uploaded videos. Use the  videos.insert method to upload new videos and the videos.delete method to delete previously uploaded videos.
704      },
705    },
706    "brandingSettings": { # Branding properties of a YouTube channel. # The brandingSettings object encapsulates information about the branding of the channel.
707      "image": { # Branding properties for images associated with the channel. # Branding properties for branding images.
708        "largeBrandedBannerImageImapScript": { # The image map script for the large banner image.
709          "default": "A String",
710          "localized": [
711            {
712              "value": "A String",
713              "language": "A String",
714            },
715          ],
716          "defaultLanguage": { # The language of the default property.
717            "value": "A String",
718          },
719        },
720        "smallBrandedBannerImageUrl": { # The URL for the 640px by 70px banner image that appears below the video player in the default view of the video watch page.
721          "default": "A String",
722          "localized": [
723            {
724              "value": "A String",
725              "language": "A String",
726            },
727          ],
728          "defaultLanguage": { # The language of the default property.
729            "value": "A String",
730          },
731        },
732        "bannerTvImageUrl": "A String", # Banner image. TV size extra high resolution (2120x1192).
733        "bannerTvLowImageUrl": "A String", # Banner image. TV size low resolution (854x480).
734        "largeBrandedBannerImageUrl": { # The URL for the 854px by 70px image that appears below the video player in the expanded video view of the video watch page.
735          "default": "A String",
736          "localized": [
737            {
738              "value": "A String",
739              "language": "A String",
740            },
741          ],
742          "defaultLanguage": { # The language of the default property.
743            "value": "A String",
744          },
745        },
746        "bannerImageUrl": "A String", # Banner image. Desktop size (1060x175).
747        "backgroundImageUrl": { # The URL for the background image shown on the video watch page. The image should be 1200px by 615px, with a maximum file size of 128k.
748          "default": "A String",
749          "localized": [
750            {
751              "value": "A String",
752              "language": "A String",
753            },
754          ],
755          "defaultLanguage": { # The language of the default property.
756            "value": "A String",
757          },
758        },
759        "smallBrandedBannerImageImapScript": { # The image map script for the small banner image.
760          "default": "A String",
761          "localized": [
762            {
763              "value": "A String",
764              "language": "A String",
765            },
766          ],
767          "defaultLanguage": { # The language of the default property.
768            "value": "A String",
769          },
770        },
771        "bannerExternalUrl": "A String", # This is used only in update requests; if it's set, we use this URL to generate all of the above banner URLs.
772        "watchIconImageUrl": "A String", # The URL for the image that appears above the top-left corner of the video player. This is a 25-pixel-high image with a flexible width that cannot exceed 170 pixels.
773        "bannerTvMediumImageUrl": "A String", # Banner image. TV size medium resolution (1280x720).
774        "bannerMobileImageUrl": "A String", # Banner image. Mobile size (640x175).
775        "bannerTabletHdImageUrl": "A String", # Banner image. Tablet size high resolution (2276x377).
776        "bannerTvHighImageUrl": "A String", # Banner image. TV size high resolution (1920x1080).
777        "trackingImageUrl": "A String", # The URL for a 1px by 1px tracking pixel that can be used to collect statistics for views of the channel or video pages.
778        "bannerTabletLowImageUrl": "A String", # Banner image. Tablet size low resolution (1138x188).
779        "bannerMobileExtraHdImageUrl": "A String", # Banner image. Mobile size high resolution (1440x395).
780        "bannerTabletImageUrl": "A String", # Banner image. Tablet size (1707x283).
781        "bannerMobileLowImageUrl": "A String", # Banner image. Mobile size low resolution (320x88).
782        "bannerMobileMediumHdImageUrl": "A String", # Banner image. Mobile size medium/high resolution (960x263).
783        "bannerTabletExtraHdImageUrl": "A String", # Banner image. Tablet size extra high resolution (2560x424).
784        "bannerMobileHdImageUrl": "A String", # Banner image. Mobile size high resolution (1280x360).
785      },
786      "watch": { # Branding properties for the watch. All deprecated. # Branding properties for the watch page.
787        "textColor": "A String", # The background color for the video watch page's branded area.
788        "featuredPlaylistId": "A String", # An ID that uniquely identifies a playlist that displays next to the video player.
789        "backgroundColor": "A String", # The text color for the video watch page's branded area.
790      },
791      "channel": { # Branding properties for the channel view. # Branding properties for the channel view.
792        "description": "A String", # Specifies the channel description.
793        "title": "A String", # Specifies the channel title.
794        "country": "A String", # The country of the channel.
795        "showBrowseView": True or False, # Whether the tab to browse the videos should be displayed.
796        "featuredChannelsTitle": "A String", # Title for the featured channels tab.
797        "defaultLanguage": "A String",
798        "unsubscribedTrailer": "A String", # The trailer of the channel, for users that are not subscribers.
799        "keywords": "A String", # Lists keywords associated with the channel, comma-separated.
800        "profileColor": "A String", # A prominent color that can be rendered on this channel page.
801        "defaultTab": "A String", # Which content tab users should see when viewing the channel.
802        "moderateComments": True or False, # Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible.
803        "featuredChannelsUrls": [ # The list of featured channels.
804          "A String",
805        ],
806        "trackingAnalyticsAccountId": "A String", # The ID for a Google Analytics account to track and measure traffic to the channels.
807        "showRelatedChannels": True or False, # Whether related channels should be proposed.
808      },
809      "hints": [ # Additional experimental branding properties.
810        { # A pair Property / Value.
811          "property": "A String", # A property.
812          "value": "A String", # The property's value.
813        },
814      ],
815    },
816    "conversionPings": { # The conversionPings object encapsulates information about conversion pings that need to be respected by the channel. # The conversionPings object encapsulates information about conversion pings that need to be respected by the channel.
817      "pings": [ # Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping.
818        { # Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping.
819          "conversionUrl": "A String", # The url (without the schema) that the player shall send the ping to. It's at caller's descretion to decide which schema to use (http vs https) Example of a returned url: //googleads.g.doubleclick.net/pagead/ viewthroughconversion/962985656/?data=path%3DtHe_path%3Btype%3D cview%3Butuid%3DGISQtTNGYqaYl4sKxoVvKA&labe=default The caller must append biscotti authentication (ms param in case of mobile, for example) to this ping.
820          "context": "A String", # Defines the context of the ping.
821        },
822      ],
823    },
824    "snippet": { # Basic details about a channel, including title, description and thumbnails. # The snippet object contains basic details about the channel, such as its title, description, and thumbnail images.
825      "description": "A String", # The description of the channel.
826      "title": "A String", # The channel's title.
827      "country": "A String", # The country of the channel.
828      "customUrl": "A String", # The custom url of the channel.
829      "publishedAt": "A String", # The date and time that the channel was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
830      "defaultLanguage": "A String", # The language of the channel's default title and description.
831      "localized": { # Channel localization setting # Localized title and description, read-only.
832        "description": "A String", # The localized strings for channel's description.
833        "title": "A String", # The localized strings for channel's title.
834      },
835      "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the channel. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
836          #
837          # When displaying thumbnails in your application, make sure that your code uses the image URLs exactly as they are returned in API responses. For example, your application should not use the http domain instead of the https domain in a URL returned in an API response.
838          #
839          # Beginning in July 2018, channel thumbnail URLs will only be available in the https domain, which is how the URLs appear in API responses. After that time, you might see broken images in your application if it tries to load YouTube images from the http domain.
840        "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
841          "url": "A String", # The thumbnail image's URL.
842          "width": 42, # (Optional) Width of the thumbnail image.
843          "height": 42, # (Optional) Height of the thumbnail image.
844        },
845        "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
846          "url": "A String", # The thumbnail image's URL.
847          "width": 42, # (Optional) Width of the thumbnail image.
848          "height": 42, # (Optional) Height of the thumbnail image.
849        },
850        "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
851          "url": "A String", # The thumbnail image's URL.
852          "width": 42, # (Optional) Width of the thumbnail image.
853          "height": 42, # (Optional) Height of the thumbnail image.
854        },
855        "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
856          "url": "A String", # The thumbnail image's URL.
857          "width": 42, # (Optional) Width of the thumbnail image.
858          "height": 42, # (Optional) Height of the thumbnail image.
859        },
860        "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
861          "url": "A String", # The thumbnail image's URL.
862          "width": 42, # (Optional) Width of the thumbnail image.
863          "height": 42, # (Optional) Height of the thumbnail image.
864        },
865      },
866    },
867    "auditDetails": { # The auditDetails object encapsulates channel data that is relevant for YouTube Partners during the audit process. # The auditionDetails object encapsulates channel data that is relevant for YouTube Partners during the audition process.
868      "communityGuidelinesGoodStanding": True or False, # Whether or not the channel respects the community guidelines.
869      "contentIdClaimsGoodStanding": True or False, # Whether or not the channel has any unresolved claims.
870      "copyrightStrikesGoodStanding": True or False, # Whether or not the channel has any copyright strikes.
871    },
872    "etag": "A String", # Etag of this resource.
873    "id": "A String", # The ID that YouTube uses to uniquely identify the channel.
874    "localizations": { # Localizations for different languages
875      "a_key": { # Channel localization setting # The language tag, using string since map_key require simple types.
876        "description": "A String", # The localized strings for channel's description.
877        "title": "A String", # The localized strings for channel's title.
878      },
879    },
880  }</pre>
881</div>
882
883</body></html>