blob: 6b32dcad61a6ec69a7c755259a283f27c75aa56c [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
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">
Bu Sun Kim65020912020-05-20 12:08:20 -070078 <code><a href="#list">list(part, categoryId=None, forUsername=None, hl=None, id=None, managedByMe=None, maxResults=None, mine=None, mySubscribers=None, onBehalfOfContentOwner=None, pageToken=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040079<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">
Dan O'Mearadd494642020-05-01 07:42:23 -070084 <code><a href="#update">update(part, body=None, onBehalfOfContentOwner=None)</a></code></p>
Takashi Matsuo06694102015-09-11 13:55:40 -070085<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>
John Asmuth614db982014-04-24 15:46:26 -040086<h3>Method Details</h3>
87<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -070088 <code class="details" id="list">list(part, categoryId=None, forUsername=None, hl=None, id=None, managedByMe=None, maxResults=None, mine=None, mySubscribers=None, onBehalfOfContentOwner=None, pageToken=None)</code>
John Asmuth614db982014-04-24 15:46:26 -040089 <pre>Returns a collection of zero or more channel resources that match the request criteria.
90
91Args:
Takashi Matsuo06694102015-09-11 13:55:40 -070092 part: string, The part parameter specifies a comma-separated list of one or more channel resource properties that the API response will include.
John Asmuth614db982014-04-24 15:46:26 -040093
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)
Bu Sun Kim65020912020-05-20 12:08:20 -070095 categoryId: string, The categoryId parameter specifies a YouTube guide category, thereby requesting YouTube channels associated with that category.
96 forUsername: string, The forUsername parameter specifies a YouTube username, thereby requesting the channel associated with that username.
Nathaniel Manista4f877e52015-06-15 16:44:50 +000097 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.
Bu Sun Kim65020912020-05-20 12:08:20 -070098 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&#x27;s YouTube channel ID.
Takashi Matsuo06694102015-09-11 13:55:40 -070099 managedByMe: boolean, Note: This parameter is intended exclusively for YouTube content partners.
100
Bu Sun Kim65020912020-05-20 12:08:20 -0700101Set this parameter&#x27;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 maxResults: integer, The maxResults parameter specifies the maximum number of items that should be returned in the result set.
103 mine: boolean, Set this parameter&#x27;s value to true to instruct the API to only return channels owned by the authenticated user.
104 mySubscribers: boolean, Use the subscriptions.list method and its mySubscribers parameter to retrieve a list of subscribers to the authenticated user&#x27;s channel.
Takashi Matsuo06694102015-09-11 13:55:40 -0700105 onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
106
Bu Sun Kim65020912020-05-20 12:08:20 -0700107The onBehalfOfContentOwner parameter indicates that the request&#x27;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.
John Asmuth614db982014-04-24 15:46:26 -0400108 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.
John Asmuth614db982014-04-24 15:46:26 -0400109
110Returns:
111 An object of the form:
112
113 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700114 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
115 &quot;eventId&quot;: &quot;A String&quot;, # Serialized EventId of the request which produced this response.
116 &quot;items&quot;: [ # A list of channels that match the request criteria.
John Asmuth614db982014-04-24 15:46:26 -0400117 { # A channel resource contains information about a YouTube channel.
Bu Sun Kim65020912020-05-20 12:08:20 -0700118 &quot;auditDetails&quot;: { # 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.
119 &quot;communityGuidelinesGoodStanding&quot;: True or False, # Whether or not the channel respects the community guidelines.
120 &quot;contentIdClaimsGoodStanding&quot;: True or False, # Whether or not the channel has any unresolved claims.
121 &quot;copyrightStrikesGoodStanding&quot;: True or False, # Whether or not the channel has any copyright strikes.
John Asmuth614db982014-04-24 15:46:26 -0400122 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700123 &quot;brandingSettings&quot;: { # Branding properties of a YouTube channel. # The brandingSettings object encapsulates information about the branding of the channel.
124 &quot;channel&quot;: { # Branding properties for the channel view. # Branding properties for the channel view.
125 &quot;country&quot;: &quot;A String&quot;, # The country of the channel.
126 &quot;defaultLanguage&quot;: &quot;A String&quot;,
127 &quot;defaultTab&quot;: &quot;A String&quot;, # Which content tab users should see when viewing the channel.
128 &quot;description&quot;: &quot;A String&quot;, # Specifies the channel description.
129 &quot;featuredChannelsTitle&quot;: &quot;A String&quot;, # Title for the featured channels tab.
130 &quot;featuredChannelsUrls&quot;: [ # The list of featured channels.
131 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400132 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700133 &quot;keywords&quot;: &quot;A String&quot;, # Lists keywords associated with the channel, comma-separated.
134 &quot;moderateComments&quot;: True or False, # Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible.
135 &quot;profileColor&quot;: &quot;A String&quot;, # A prominent color that can be rendered on this channel page.
136 &quot;showBrowseView&quot;: True or False, # Whether the tab to browse the videos should be displayed.
137 &quot;showRelatedChannels&quot;: True or False, # Whether related channels should be proposed.
138 &quot;title&quot;: &quot;A String&quot;, # Specifies the channel title.
139 &quot;trackingAnalyticsAccountId&quot;: &quot;A String&quot;, # The ID for a Google Analytics account to track and measure traffic to the channels.
140 &quot;unsubscribedTrailer&quot;: &quot;A String&quot;, # The trailer of the channel, for users that are not subscribers.
John Asmuth614db982014-04-24 15:46:26 -0400141 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700142 &quot;hints&quot;: [ # Additional experimental branding properties.
John Asmuth614db982014-04-24 15:46:26 -0400143 { # A pair Property / Value.
Bu Sun Kim65020912020-05-20 12:08:20 -0700144 &quot;property&quot;: &quot;A String&quot;, # A property.
145 &quot;value&quot;: &quot;A String&quot;, # The property&#x27;s value.
John Asmuth614db982014-04-24 15:46:26 -0400146 },
147 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700148 &quot;image&quot;: { # Branding properties for images associated with the channel. # Branding properties for branding images.
149 &quot;backgroundImageUrl&quot;: { # 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.
150 &quot;default&quot;: &quot;A String&quot;,
151 &quot;defaultLanguage&quot;: { # The language of the default property.
152 &quot;value&quot;: &quot;A String&quot;,
153 },
154 &quot;localized&quot;: [
155 {
156 &quot;language&quot;: &quot;A String&quot;,
157 &quot;value&quot;: &quot;A String&quot;,
158 },
159 ],
John Asmuth614db982014-04-24 15:46:26 -0400160 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700161 &quot;bannerExternalUrl&quot;: &quot;A String&quot;, # This is used only in update requests; if it&#x27;s set, we use this URL to generate all of the above banner URLs.
162 &quot;bannerImageUrl&quot;: &quot;A String&quot;, # Banner image. Desktop size (1060x175).
163 &quot;bannerMobileExtraHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size high resolution (1440x395).
164 &quot;bannerMobileHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size high resolution (1280x360).
165 &quot;bannerMobileImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size (640x175).
166 &quot;bannerMobileLowImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size low resolution (320x88).
167 &quot;bannerMobileMediumHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size medium/high resolution (960x263).
168 &quot;bannerTabletExtraHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size extra high resolution (2560x424).
169 &quot;bannerTabletHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size high resolution (2276x377).
170 &quot;bannerTabletImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size (1707x283).
171 &quot;bannerTabletLowImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size low resolution (1138x188).
172 &quot;bannerTvHighImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size high resolution (1920x1080).
173 &quot;bannerTvImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size extra high resolution (2120x1192).
174 &quot;bannerTvLowImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size low resolution (854x480).
175 &quot;bannerTvMediumImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size medium resolution (1280x720).
176 &quot;largeBrandedBannerImageImapScript&quot;: { # The image map script for the large banner image.
177 &quot;default&quot;: &quot;A String&quot;,
178 &quot;defaultLanguage&quot;: { # The language of the default property.
179 &quot;value&quot;: &quot;A String&quot;,
180 },
181 &quot;localized&quot;: [
182 {
183 &quot;language&quot;: &quot;A String&quot;,
184 &quot;value&quot;: &quot;A String&quot;,
185 },
186 ],
187 },
188 &quot;largeBrandedBannerImageUrl&quot;: { # The URL for the 854px by 70px image that appears below the video player in the expanded video view of the video watch page.
189 &quot;default&quot;: &quot;A String&quot;,
190 &quot;defaultLanguage&quot;: { # The language of the default property.
191 &quot;value&quot;: &quot;A String&quot;,
192 },
193 &quot;localized&quot;: [
194 {
195 &quot;language&quot;: &quot;A String&quot;,
196 &quot;value&quot;: &quot;A String&quot;,
197 },
198 ],
199 },
200 &quot;smallBrandedBannerImageImapScript&quot;: { # The image map script for the small banner image.
201 &quot;default&quot;: &quot;A String&quot;,
202 &quot;defaultLanguage&quot;: { # The language of the default property.
203 &quot;value&quot;: &quot;A String&quot;,
204 },
205 &quot;localized&quot;: [
206 {
207 &quot;language&quot;: &quot;A String&quot;,
208 &quot;value&quot;: &quot;A String&quot;,
209 },
210 ],
211 },
212 &quot;smallBrandedBannerImageUrl&quot;: { # The URL for the 640px by 70px banner image that appears below the video player in the default view of the video watch page.
213 &quot;default&quot;: &quot;A String&quot;,
214 &quot;defaultLanguage&quot;: { # The language of the default property.
215 &quot;value&quot;: &quot;A String&quot;,
216 },
217 &quot;localized&quot;: [
218 {
219 &quot;language&quot;: &quot;A String&quot;,
220 &quot;value&quot;: &quot;A String&quot;,
221 },
222 ],
223 },
224 &quot;trackingImageUrl&quot;: &quot;A String&quot;, # The URL for a 1px by 1px tracking pixel that can be used to collect statistics for views of the channel or video pages.
225 &quot;watchIconImageUrl&quot;: &quot;A String&quot;, # 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.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700226 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700227 &quot;watch&quot;: { # Branding properties for the watch. All deprecated. # Branding properties for the watch page.
228 &quot;backgroundColor&quot;: &quot;A String&quot;, # The text color for the video watch page&#x27;s branded area.
229 &quot;featuredPlaylistId&quot;: &quot;A String&quot;, # An ID that uniquely identifies a playlist that displays next to the video player.
230 &quot;textColor&quot;: &quot;A String&quot;, # The background color for the video watch page&#x27;s branded area.
231 },
232 },
233 &quot;contentDetails&quot;: { # Details about the content of a channel. # The contentDetails object encapsulates information about the channel&#x27;s content.
234 &quot;relatedPlaylists&quot;: {
235 &quot;favorites&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s favorite videos. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
236 &quot;likes&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s liked videos. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
237 &quot;uploads&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s uploaded videos. Use the videos.insert method to upload new videos and the videos.delete method to delete previously uploaded videos.
238 &quot;watchHistory&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s watch history. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
239 &quot;watchLater&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s watch later playlist. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
240 },
241 },
242 &quot;contentOwnerDetails&quot;: { # 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.
243 &quot;contentOwner&quot;: &quot;A String&quot;, # The ID of the content owner linked to the channel.
244 &quot;timeLinked&quot;: &quot;A String&quot;, # 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.
245 },
246 &quot;conversionPings&quot;: { # 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.
247 &quot;pings&quot;: [ # 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.
248 { # 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.
249 &quot;context&quot;: &quot;A String&quot;, # Defines the context of the ping.
250 &quot;conversionUrl&quot;: &quot;A String&quot;, # The url (without the schema) that the player shall send the ping to. It&#x27;s at caller&#x27;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&amp;labe=default The caller must append biscotti authentication (ms param in case of mobile, for example) to this ping.
251 },
252 ],
253 },
254 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
255 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel.
256 &quot;invideoPromotion&quot;: { # 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.
257 &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 be displayed. Can be overriden by more specific timing in the item.
258 &quot;durationMs&quot;: &quot;A String&quot;, # Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.
259 &quot;offsetMs&quot;: &quot;A String&quot;, # 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.
260 &quot;type&quot;: &quot;A String&quot;, # 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.
261 },
262 &quot;items&quot;: [ # List of promoted items in decreasing priority.
263 { # Describes a single promoted item.
264 &quot;customMessage&quot;: &quot;A String&quot;, # A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website.
265 &quot;id&quot;: { # Describes a single promoted item id. It is a union of various possible types. # Identifies the promoted item.
266 &quot;recentlyUploadedBy&quot;: &quot;A String&quot;, # 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.
267 &quot;type&quot;: &quot;A String&quot;, # Describes the type of the promoted item.
268 &quot;videoId&quot;: &quot;A String&quot;, # 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.
269 &quot;websiteUrl&quot;: &quot;A String&quot;, # 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.
270 },
271 &quot;promotedByContentOwner&quot;: True or False, # If true, the content owner&#x27;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.
272 &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 displayed. If present, it overrides the default timing.
273 &quot;durationMs&quot;: &quot;A String&quot;, # Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.
274 &quot;offsetMs&quot;: &quot;A String&quot;, # 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.
275 &quot;type&quot;: &quot;A String&quot;, # 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.
276 },
277 },
278 ],
279 &quot;position&quot;: { # 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.
280 &quot;cornerPosition&quot;: &quot;A String&quot;, # Describes in which corner of the video the visual widget will appear.
281 &quot;type&quot;: &quot;A String&quot;, # Defines the position type.
282 },
283 &quot;useSmartTiming&quot;: True or False, # Indicates whether the channel&#x27;s promotional campaign uses &quot;smart timing.&quot; 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.
284 },
285 &quot;kind&quot;: &quot;youtube#channel&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#channel&quot;.
286 &quot;localizations&quot;: { # Localizations for different languages
287 &quot;a_key&quot;: { # Channel localization setting # The language tag, using string since map_key require simple types.
288 &quot;description&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s description.
289 &quot;title&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s title.
290 },
291 },
292 &quot;snippet&quot;: { # 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.
293 &quot;country&quot;: &quot;A String&quot;, # The country of the channel.
294 &quot;customUrl&quot;: &quot;A String&quot;, # The custom url of the channel.
295 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the channel&#x27;s default title and description.
296 &quot;description&quot;: &quot;A String&quot;, # The description of the channel.
297 &quot;localized&quot;: { # Channel localization setting # Localized title and description, read-only.
298 &quot;description&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s description.
299 &quot;title&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s title.
300 },
301 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the channel was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
302 &quot;thumbnails&quot;: { # 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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700303 #
304 # 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.
305 #
306 # 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.
Bu Sun Kim65020912020-05-20 12:08:20 -0700307 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
308 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
309 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
310 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400311 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700312 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
313 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
314 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
315 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400316 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700317 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
318 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
319 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
320 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400321 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700322 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
323 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
324 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
325 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400326 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700327 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
328 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
329 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
330 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400331 },
332 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700333 &quot;title&quot;: &quot;A String&quot;, # The channel&#x27;s title.
John Asmuth614db982014-04-24 15:46:26 -0400334 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700335 &quot;statistics&quot;: { # Statistics about a channel: number of subscribers, number of videos in the channel, etc. # The statistics object encapsulates statistics for the channel.
336 &quot;commentCount&quot;: &quot;A String&quot;, # The number of comments for the channel.
337 &quot;hiddenSubscriberCount&quot;: True or False, # Whether or not the number of subscribers is shown for this user.
338 &quot;subscriberCount&quot;: &quot;A String&quot;, # The number of subscribers that the channel has.
339 &quot;videoCount&quot;: &quot;A String&quot;, # The number of videos uploaded to the channel.
340 &quot;viewCount&quot;: &quot;A String&quot;, # The number of times the channel has been viewed.
John Asmuth614db982014-04-24 15:46:26 -0400341 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700342 &quot;status&quot;: { # JSON template for the status part of a channel. # The status object encapsulates information about the privacy status of the channel.
343 &quot;isLinked&quot;: True or False, # If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn&#x27;t have a public YouTube identity.
344 &quot;longUploadsStatus&quot;: &quot;A String&quot;, # The long uploads status of this channel. See
345 &quot;madeForKids&quot;: True or False,
346 &quot;privacyStatus&quot;: &quot;A String&quot;, # Privacy status of the channel.
347 &quot;selfDeclaredMadeForKids&quot;: True or False,
348 },
349 &quot;topicDetails&quot;: { # Freebase topic information related to the channel. # The topicDetails object encapsulates information about Freebase topics associated with the channel.
350 &quot;topicCategories&quot;: [ # A list of Wikipedia URLs that describe the channel&#x27;s content.
351 &quot;A String&quot;,
352 ],
353 &quot;topicIds&quot;: [ # A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API.
354 &quot;A String&quot;,
355 ],
Craig Citroe633be12015-03-02 13:40:36 -0800356 },
John Asmuth614db982014-04-24 15:46:26 -0400357 },
358 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700359 &quot;kind&quot;: &quot;youtube#channelListResponse&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#channelListResponse&quot;.
360 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
361 &quot;pageInfo&quot;: { # Paging details for lists of resources, including total number of items available and number of resources returned in a single page.
362 &quot;resultsPerPage&quot;: 42, # The number of results included in the API response.
363 &quot;totalResults&quot;: 42, # The total number of results in the result set.
John Asmuth614db982014-04-24 15:46:26 -0400364 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700365 &quot;prevPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
366 &quot;tokenPagination&quot;: { # Stub token pagination template to suppress results.
John Asmuth614db982014-04-24 15:46:26 -0400367 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700368 &quot;visitorId&quot;: &quot;A String&quot;, # The visitorId identifies the visitor.
John Asmuth614db982014-04-24 15:46:26 -0400369 }</pre>
370</div>
371
372<div class="method">
373 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
374 <pre>Retrieves the next page of results.
375
376Args:
377 previous_request: The request for the previous page. (required)
378 previous_response: The response from the request for the previous page. (required)
379
380Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700381 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400382 page. Returns None if there are no more items in the collection.
383 </pre>
384</div>
385
386<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700387 <code class="details" id="update">update(part, body=None, onBehalfOfContentOwner=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700388 <pre>Updates a channel&#x27;s metadata. Note that this method currently only supports updates to the channel resource&#x27;s brandingSettings and invideoPromotion objects and their child properties.
John Asmuth614db982014-04-24 15:46:26 -0400389
390Args:
391 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.
392
Takashi Matsuo06694102015-09-11 13:55:40 -0700393The 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.)
John Asmuth614db982014-04-24 15:46:26 -0400394
Takashi Matsuo06694102015-09-11 13:55:40 -0700395Note 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)
Dan O'Mearadd494642020-05-01 07:42:23 -0700396 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400397 The object takes the form of:
398
399{ # A channel resource contains information about a YouTube channel.
Bu Sun Kim65020912020-05-20 12:08:20 -0700400 &quot;auditDetails&quot;: { # 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.
401 &quot;communityGuidelinesGoodStanding&quot;: True or False, # Whether or not the channel respects the community guidelines.
402 &quot;contentIdClaimsGoodStanding&quot;: True or False, # Whether or not the channel has any unresolved claims.
403 &quot;copyrightStrikesGoodStanding&quot;: True or False, # Whether or not the channel has any copyright strikes.
John Asmuth614db982014-04-24 15:46:26 -0400404 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700405 &quot;brandingSettings&quot;: { # Branding properties of a YouTube channel. # The brandingSettings object encapsulates information about the branding of the channel.
406 &quot;channel&quot;: { # Branding properties for the channel view. # Branding properties for the channel view.
407 &quot;country&quot;: &quot;A String&quot;, # The country of the channel.
408 &quot;defaultLanguage&quot;: &quot;A String&quot;,
409 &quot;defaultTab&quot;: &quot;A String&quot;, # Which content tab users should see when viewing the channel.
410 &quot;description&quot;: &quot;A String&quot;, # Specifies the channel description.
411 &quot;featuredChannelsTitle&quot;: &quot;A String&quot;, # Title for the featured channels tab.
412 &quot;featuredChannelsUrls&quot;: [ # The list of featured channels.
413 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400414 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700415 &quot;keywords&quot;: &quot;A String&quot;, # Lists keywords associated with the channel, comma-separated.
416 &quot;moderateComments&quot;: True or False, # Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible.
417 &quot;profileColor&quot;: &quot;A String&quot;, # A prominent color that can be rendered on this channel page.
418 &quot;showBrowseView&quot;: True or False, # Whether the tab to browse the videos should be displayed.
419 &quot;showRelatedChannels&quot;: True or False, # Whether related channels should be proposed.
420 &quot;title&quot;: &quot;A String&quot;, # Specifies the channel title.
421 &quot;trackingAnalyticsAccountId&quot;: &quot;A String&quot;, # The ID for a Google Analytics account to track and measure traffic to the channels.
422 &quot;unsubscribedTrailer&quot;: &quot;A String&quot;, # The trailer of the channel, for users that are not subscribers.
John Asmuth614db982014-04-24 15:46:26 -0400423 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700424 &quot;hints&quot;: [ # Additional experimental branding properties.
John Asmuth614db982014-04-24 15:46:26 -0400425 { # A pair Property / Value.
Bu Sun Kim65020912020-05-20 12:08:20 -0700426 &quot;property&quot;: &quot;A String&quot;, # A property.
427 &quot;value&quot;: &quot;A String&quot;, # The property&#x27;s value.
John Asmuth614db982014-04-24 15:46:26 -0400428 },
429 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700430 &quot;image&quot;: { # Branding properties for images associated with the channel. # Branding properties for branding images.
431 &quot;backgroundImageUrl&quot;: { # 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.
432 &quot;default&quot;: &quot;A String&quot;,
433 &quot;defaultLanguage&quot;: { # The language of the default property.
434 &quot;value&quot;: &quot;A String&quot;,
435 },
436 &quot;localized&quot;: [
437 {
438 &quot;language&quot;: &quot;A String&quot;,
439 &quot;value&quot;: &quot;A String&quot;,
440 },
441 ],
John Asmuth614db982014-04-24 15:46:26 -0400442 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700443 &quot;bannerExternalUrl&quot;: &quot;A String&quot;, # This is used only in update requests; if it&#x27;s set, we use this URL to generate all of the above banner URLs.
444 &quot;bannerImageUrl&quot;: &quot;A String&quot;, # Banner image. Desktop size (1060x175).
445 &quot;bannerMobileExtraHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size high resolution (1440x395).
446 &quot;bannerMobileHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size high resolution (1280x360).
447 &quot;bannerMobileImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size (640x175).
448 &quot;bannerMobileLowImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size low resolution (320x88).
449 &quot;bannerMobileMediumHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size medium/high resolution (960x263).
450 &quot;bannerTabletExtraHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size extra high resolution (2560x424).
451 &quot;bannerTabletHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size high resolution (2276x377).
452 &quot;bannerTabletImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size (1707x283).
453 &quot;bannerTabletLowImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size low resolution (1138x188).
454 &quot;bannerTvHighImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size high resolution (1920x1080).
455 &quot;bannerTvImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size extra high resolution (2120x1192).
456 &quot;bannerTvLowImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size low resolution (854x480).
457 &quot;bannerTvMediumImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size medium resolution (1280x720).
458 &quot;largeBrandedBannerImageImapScript&quot;: { # The image map script for the large banner image.
459 &quot;default&quot;: &quot;A String&quot;,
460 &quot;defaultLanguage&quot;: { # The language of the default property.
461 &quot;value&quot;: &quot;A String&quot;,
462 },
463 &quot;localized&quot;: [
464 {
465 &quot;language&quot;: &quot;A String&quot;,
466 &quot;value&quot;: &quot;A String&quot;,
467 },
468 ],
469 },
470 &quot;largeBrandedBannerImageUrl&quot;: { # The URL for the 854px by 70px image that appears below the video player in the expanded video view of the video watch page.
471 &quot;default&quot;: &quot;A String&quot;,
472 &quot;defaultLanguage&quot;: { # The language of the default property.
473 &quot;value&quot;: &quot;A String&quot;,
474 },
475 &quot;localized&quot;: [
476 {
477 &quot;language&quot;: &quot;A String&quot;,
478 &quot;value&quot;: &quot;A String&quot;,
479 },
480 ],
481 },
482 &quot;smallBrandedBannerImageImapScript&quot;: { # The image map script for the small banner image.
483 &quot;default&quot;: &quot;A String&quot;,
484 &quot;defaultLanguage&quot;: { # The language of the default property.
485 &quot;value&quot;: &quot;A String&quot;,
486 },
487 &quot;localized&quot;: [
488 {
489 &quot;language&quot;: &quot;A String&quot;,
490 &quot;value&quot;: &quot;A String&quot;,
491 },
492 ],
493 },
494 &quot;smallBrandedBannerImageUrl&quot;: { # The URL for the 640px by 70px banner image that appears below the video player in the default view of the video watch page.
495 &quot;default&quot;: &quot;A String&quot;,
496 &quot;defaultLanguage&quot;: { # The language of the default property.
497 &quot;value&quot;: &quot;A String&quot;,
498 },
499 &quot;localized&quot;: [
500 {
501 &quot;language&quot;: &quot;A String&quot;,
502 &quot;value&quot;: &quot;A String&quot;,
503 },
504 ],
505 },
506 &quot;trackingImageUrl&quot;: &quot;A String&quot;, # The URL for a 1px by 1px tracking pixel that can be used to collect statistics for views of the channel or video pages.
507 &quot;watchIconImageUrl&quot;: &quot;A String&quot;, # 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.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700508 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700509 &quot;watch&quot;: { # Branding properties for the watch. All deprecated. # Branding properties for the watch page.
510 &quot;backgroundColor&quot;: &quot;A String&quot;, # The text color for the video watch page&#x27;s branded area.
511 &quot;featuredPlaylistId&quot;: &quot;A String&quot;, # An ID that uniquely identifies a playlist that displays next to the video player.
512 &quot;textColor&quot;: &quot;A String&quot;, # The background color for the video watch page&#x27;s branded area.
513 },
514 },
515 &quot;contentDetails&quot;: { # Details about the content of a channel. # The contentDetails object encapsulates information about the channel&#x27;s content.
516 &quot;relatedPlaylists&quot;: {
517 &quot;favorites&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s favorite videos. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
518 &quot;likes&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s liked videos. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
519 &quot;uploads&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s uploaded videos. Use the videos.insert method to upload new videos and the videos.delete method to delete previously uploaded videos.
520 &quot;watchHistory&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s watch history. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
521 &quot;watchLater&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s watch later playlist. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
522 },
523 },
524 &quot;contentOwnerDetails&quot;: { # 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.
525 &quot;contentOwner&quot;: &quot;A String&quot;, # The ID of the content owner linked to the channel.
526 &quot;timeLinked&quot;: &quot;A String&quot;, # 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.
527 },
528 &quot;conversionPings&quot;: { # 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.
529 &quot;pings&quot;: [ # 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.
530 { # 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.
531 &quot;context&quot;: &quot;A String&quot;, # Defines the context of the ping.
532 &quot;conversionUrl&quot;: &quot;A String&quot;, # The url (without the schema) that the player shall send the ping to. It&#x27;s at caller&#x27;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&amp;labe=default The caller must append biscotti authentication (ms param in case of mobile, for example) to this ping.
533 },
534 ],
535 },
536 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
537 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel.
538 &quot;invideoPromotion&quot;: { # 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.
539 &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 be displayed. Can be overriden by more specific timing in the item.
540 &quot;durationMs&quot;: &quot;A String&quot;, # Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.
541 &quot;offsetMs&quot;: &quot;A String&quot;, # 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.
542 &quot;type&quot;: &quot;A String&quot;, # 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.
543 },
544 &quot;items&quot;: [ # List of promoted items in decreasing priority.
545 { # Describes a single promoted item.
546 &quot;customMessage&quot;: &quot;A String&quot;, # A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website.
547 &quot;id&quot;: { # Describes a single promoted item id. It is a union of various possible types. # Identifies the promoted item.
548 &quot;recentlyUploadedBy&quot;: &quot;A String&quot;, # 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.
549 &quot;type&quot;: &quot;A String&quot;, # Describes the type of the promoted item.
550 &quot;videoId&quot;: &quot;A String&quot;, # 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.
551 &quot;websiteUrl&quot;: &quot;A String&quot;, # 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.
552 },
553 &quot;promotedByContentOwner&quot;: True or False, # If true, the content owner&#x27;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.
554 &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 displayed. If present, it overrides the default timing.
555 &quot;durationMs&quot;: &quot;A String&quot;, # Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.
556 &quot;offsetMs&quot;: &quot;A String&quot;, # 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.
557 &quot;type&quot;: &quot;A String&quot;, # 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.
558 },
559 },
560 ],
561 &quot;position&quot;: { # 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.
562 &quot;cornerPosition&quot;: &quot;A String&quot;, # Describes in which corner of the video the visual widget will appear.
563 &quot;type&quot;: &quot;A String&quot;, # Defines the position type.
564 },
565 &quot;useSmartTiming&quot;: True or False, # Indicates whether the channel&#x27;s promotional campaign uses &quot;smart timing.&quot; 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.
566 },
567 &quot;kind&quot;: &quot;youtube#channel&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#channel&quot;.
568 &quot;localizations&quot;: { # Localizations for different languages
569 &quot;a_key&quot;: { # Channel localization setting # The language tag, using string since map_key require simple types.
570 &quot;description&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s description.
571 &quot;title&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s title.
572 },
573 },
574 &quot;snippet&quot;: { # 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.
575 &quot;country&quot;: &quot;A String&quot;, # The country of the channel.
576 &quot;customUrl&quot;: &quot;A String&quot;, # The custom url of the channel.
577 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the channel&#x27;s default title and description.
578 &quot;description&quot;: &quot;A String&quot;, # The description of the channel.
579 &quot;localized&quot;: { # Channel localization setting # Localized title and description, read-only.
580 &quot;description&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s description.
581 &quot;title&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s title.
582 },
583 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the channel was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
584 &quot;thumbnails&quot;: { # 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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700585 #
586 # 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.
587 #
588 # 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.
Bu Sun Kim65020912020-05-20 12:08:20 -0700589 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
590 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
591 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
592 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400593 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700594 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
595 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
596 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
597 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400598 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700599 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
600 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
601 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
602 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400603 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700604 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
605 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
606 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
607 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400608 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700609 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
610 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
611 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
612 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400613 },
614 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700615 &quot;title&quot;: &quot;A String&quot;, # The channel&#x27;s title.
John Asmuth614db982014-04-24 15:46:26 -0400616 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700617 &quot;statistics&quot;: { # Statistics about a channel: number of subscribers, number of videos in the channel, etc. # The statistics object encapsulates statistics for the channel.
618 &quot;commentCount&quot;: &quot;A String&quot;, # The number of comments for the channel.
619 &quot;hiddenSubscriberCount&quot;: True or False, # Whether or not the number of subscribers is shown for this user.
620 &quot;subscriberCount&quot;: &quot;A String&quot;, # The number of subscribers that the channel has.
621 &quot;videoCount&quot;: &quot;A String&quot;, # The number of videos uploaded to the channel.
622 &quot;viewCount&quot;: &quot;A String&quot;, # The number of times the channel has been viewed.
John Asmuth614db982014-04-24 15:46:26 -0400623 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700624 &quot;status&quot;: { # JSON template for the status part of a channel. # The status object encapsulates information about the privacy status of the channel.
625 &quot;isLinked&quot;: True or False, # If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn&#x27;t have a public YouTube identity.
626 &quot;longUploadsStatus&quot;: &quot;A String&quot;, # The long uploads status of this channel. See
627 &quot;madeForKids&quot;: True or False,
628 &quot;privacyStatus&quot;: &quot;A String&quot;, # Privacy status of the channel.
629 &quot;selfDeclaredMadeForKids&quot;: True or False,
630 },
631 &quot;topicDetails&quot;: { # Freebase topic information related to the channel. # The topicDetails object encapsulates information about Freebase topics associated with the channel.
632 &quot;topicCategories&quot;: [ # A list of Wikipedia URLs that describe the channel&#x27;s content.
633 &quot;A String&quot;,
634 ],
635 &quot;topicIds&quot;: [ # A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API.
636 &quot;A String&quot;,
637 ],
Craig Citroe633be12015-03-02 13:40:36 -0800638 },
John Asmuth614db982014-04-24 15:46:26 -0400639}
640
641 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.
642
643Returns:
644 An object of the form:
645
646 { # A channel resource contains information about a YouTube channel.
Bu Sun Kim65020912020-05-20 12:08:20 -0700647 &quot;auditDetails&quot;: { # 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.
648 &quot;communityGuidelinesGoodStanding&quot;: True or False, # Whether or not the channel respects the community guidelines.
649 &quot;contentIdClaimsGoodStanding&quot;: True or False, # Whether or not the channel has any unresolved claims.
650 &quot;copyrightStrikesGoodStanding&quot;: True or False, # Whether or not the channel has any copyright strikes.
John Asmuth614db982014-04-24 15:46:26 -0400651 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700652 &quot;brandingSettings&quot;: { # Branding properties of a YouTube channel. # The brandingSettings object encapsulates information about the branding of the channel.
653 &quot;channel&quot;: { # Branding properties for the channel view. # Branding properties for the channel view.
654 &quot;country&quot;: &quot;A String&quot;, # The country of the channel.
655 &quot;defaultLanguage&quot;: &quot;A String&quot;,
656 &quot;defaultTab&quot;: &quot;A String&quot;, # Which content tab users should see when viewing the channel.
657 &quot;description&quot;: &quot;A String&quot;, # Specifies the channel description.
658 &quot;featuredChannelsTitle&quot;: &quot;A String&quot;, # Title for the featured channels tab.
659 &quot;featuredChannelsUrls&quot;: [ # The list of featured channels.
660 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400661 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700662 &quot;keywords&quot;: &quot;A String&quot;, # Lists keywords associated with the channel, comma-separated.
663 &quot;moderateComments&quot;: True or False, # Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible.
664 &quot;profileColor&quot;: &quot;A String&quot;, # A prominent color that can be rendered on this channel page.
665 &quot;showBrowseView&quot;: True or False, # Whether the tab to browse the videos should be displayed.
666 &quot;showRelatedChannels&quot;: True or False, # Whether related channels should be proposed.
667 &quot;title&quot;: &quot;A String&quot;, # Specifies the channel title.
668 &quot;trackingAnalyticsAccountId&quot;: &quot;A String&quot;, # The ID for a Google Analytics account to track and measure traffic to the channels.
669 &quot;unsubscribedTrailer&quot;: &quot;A String&quot;, # The trailer of the channel, for users that are not subscribers.
John Asmuth614db982014-04-24 15:46:26 -0400670 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700671 &quot;hints&quot;: [ # Additional experimental branding properties.
John Asmuth614db982014-04-24 15:46:26 -0400672 { # A pair Property / Value.
Bu Sun Kim65020912020-05-20 12:08:20 -0700673 &quot;property&quot;: &quot;A String&quot;, # A property.
674 &quot;value&quot;: &quot;A String&quot;, # The property&#x27;s value.
John Asmuth614db982014-04-24 15:46:26 -0400675 },
676 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700677 &quot;image&quot;: { # Branding properties for images associated with the channel. # Branding properties for branding images.
678 &quot;backgroundImageUrl&quot;: { # 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.
679 &quot;default&quot;: &quot;A String&quot;,
680 &quot;defaultLanguage&quot;: { # The language of the default property.
681 &quot;value&quot;: &quot;A String&quot;,
682 },
683 &quot;localized&quot;: [
684 {
685 &quot;language&quot;: &quot;A String&quot;,
686 &quot;value&quot;: &quot;A String&quot;,
687 },
688 ],
John Asmuth614db982014-04-24 15:46:26 -0400689 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700690 &quot;bannerExternalUrl&quot;: &quot;A String&quot;, # This is used only in update requests; if it&#x27;s set, we use this URL to generate all of the above banner URLs.
691 &quot;bannerImageUrl&quot;: &quot;A String&quot;, # Banner image. Desktop size (1060x175).
692 &quot;bannerMobileExtraHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size high resolution (1440x395).
693 &quot;bannerMobileHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size high resolution (1280x360).
694 &quot;bannerMobileImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size (640x175).
695 &quot;bannerMobileLowImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size low resolution (320x88).
696 &quot;bannerMobileMediumHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Mobile size medium/high resolution (960x263).
697 &quot;bannerTabletExtraHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size extra high resolution (2560x424).
698 &quot;bannerTabletHdImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size high resolution (2276x377).
699 &quot;bannerTabletImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size (1707x283).
700 &quot;bannerTabletLowImageUrl&quot;: &quot;A String&quot;, # Banner image. Tablet size low resolution (1138x188).
701 &quot;bannerTvHighImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size high resolution (1920x1080).
702 &quot;bannerTvImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size extra high resolution (2120x1192).
703 &quot;bannerTvLowImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size low resolution (854x480).
704 &quot;bannerTvMediumImageUrl&quot;: &quot;A String&quot;, # Banner image. TV size medium resolution (1280x720).
705 &quot;largeBrandedBannerImageImapScript&quot;: { # The image map script for the large banner image.
706 &quot;default&quot;: &quot;A String&quot;,
707 &quot;defaultLanguage&quot;: { # The language of the default property.
708 &quot;value&quot;: &quot;A String&quot;,
709 },
710 &quot;localized&quot;: [
711 {
712 &quot;language&quot;: &quot;A String&quot;,
713 &quot;value&quot;: &quot;A String&quot;,
714 },
715 ],
716 },
717 &quot;largeBrandedBannerImageUrl&quot;: { # The URL for the 854px by 70px image that appears below the video player in the expanded video view of the video watch page.
718 &quot;default&quot;: &quot;A String&quot;,
719 &quot;defaultLanguage&quot;: { # The language of the default property.
720 &quot;value&quot;: &quot;A String&quot;,
721 },
722 &quot;localized&quot;: [
723 {
724 &quot;language&quot;: &quot;A String&quot;,
725 &quot;value&quot;: &quot;A String&quot;,
726 },
727 ],
728 },
729 &quot;smallBrandedBannerImageImapScript&quot;: { # The image map script for the small banner image.
730 &quot;default&quot;: &quot;A String&quot;,
731 &quot;defaultLanguage&quot;: { # The language of the default property.
732 &quot;value&quot;: &quot;A String&quot;,
733 },
734 &quot;localized&quot;: [
735 {
736 &quot;language&quot;: &quot;A String&quot;,
737 &quot;value&quot;: &quot;A String&quot;,
738 },
739 ],
740 },
741 &quot;smallBrandedBannerImageUrl&quot;: { # The URL for the 640px by 70px banner image that appears below the video player in the default view of the video watch page.
742 &quot;default&quot;: &quot;A String&quot;,
743 &quot;defaultLanguage&quot;: { # The language of the default property.
744 &quot;value&quot;: &quot;A String&quot;,
745 },
746 &quot;localized&quot;: [
747 {
748 &quot;language&quot;: &quot;A String&quot;,
749 &quot;value&quot;: &quot;A String&quot;,
750 },
751 ],
752 },
753 &quot;trackingImageUrl&quot;: &quot;A String&quot;, # The URL for a 1px by 1px tracking pixel that can be used to collect statistics for views of the channel or video pages.
754 &quot;watchIconImageUrl&quot;: &quot;A String&quot;, # 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.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700755 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700756 &quot;watch&quot;: { # Branding properties for the watch. All deprecated. # Branding properties for the watch page.
757 &quot;backgroundColor&quot;: &quot;A String&quot;, # The text color for the video watch page&#x27;s branded area.
758 &quot;featuredPlaylistId&quot;: &quot;A String&quot;, # An ID that uniquely identifies a playlist that displays next to the video player.
759 &quot;textColor&quot;: &quot;A String&quot;, # The background color for the video watch page&#x27;s branded area.
760 },
761 },
762 &quot;contentDetails&quot;: { # Details about the content of a channel. # The contentDetails object encapsulates information about the channel&#x27;s content.
763 &quot;relatedPlaylists&quot;: {
764 &quot;favorites&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s favorite videos. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
765 &quot;likes&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s liked videos. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
766 &quot;uploads&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s uploaded videos. Use the videos.insert method to upload new videos and the videos.delete method to delete previously uploaded videos.
767 &quot;watchHistory&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s watch history. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
768 &quot;watchLater&quot;: &quot;A String&quot;, # The ID of the playlist that contains the channel&quot;s watch later playlist. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
769 },
770 },
771 &quot;contentOwnerDetails&quot;: { # 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.
772 &quot;contentOwner&quot;: &quot;A String&quot;, # The ID of the content owner linked to the channel.
773 &quot;timeLinked&quot;: &quot;A String&quot;, # 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.
774 },
775 &quot;conversionPings&quot;: { # 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.
776 &quot;pings&quot;: [ # 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.
777 { # 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.
778 &quot;context&quot;: &quot;A String&quot;, # Defines the context of the ping.
779 &quot;conversionUrl&quot;: &quot;A String&quot;, # The url (without the schema) that the player shall send the ping to. It&#x27;s at caller&#x27;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&amp;labe=default The caller must append biscotti authentication (ms param in case of mobile, for example) to this ping.
780 },
781 ],
782 },
783 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
784 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel.
785 &quot;invideoPromotion&quot;: { # 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.
786 &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 be displayed. Can be overriden by more specific timing in the item.
787 &quot;durationMs&quot;: &quot;A String&quot;, # Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.
788 &quot;offsetMs&quot;: &quot;A String&quot;, # 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.
789 &quot;type&quot;: &quot;A String&quot;, # 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.
790 },
791 &quot;items&quot;: [ # List of promoted items in decreasing priority.
792 { # Describes a single promoted item.
793 &quot;customMessage&quot;: &quot;A String&quot;, # A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website.
794 &quot;id&quot;: { # Describes a single promoted item id. It is a union of various possible types. # Identifies the promoted item.
795 &quot;recentlyUploadedBy&quot;: &quot;A String&quot;, # 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.
796 &quot;type&quot;: &quot;A String&quot;, # Describes the type of the promoted item.
797 &quot;videoId&quot;: &quot;A String&quot;, # 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.
798 &quot;websiteUrl&quot;: &quot;A String&quot;, # 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.
799 },
800 &quot;promotedByContentOwner&quot;: True or False, # If true, the content owner&#x27;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.
801 &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 displayed. If present, it overrides the default timing.
802 &quot;durationMs&quot;: &quot;A String&quot;, # Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.
803 &quot;offsetMs&quot;: &quot;A String&quot;, # 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.
804 &quot;type&quot;: &quot;A String&quot;, # 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.
805 },
806 },
807 ],
808 &quot;position&quot;: { # 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.
809 &quot;cornerPosition&quot;: &quot;A String&quot;, # Describes in which corner of the video the visual widget will appear.
810 &quot;type&quot;: &quot;A String&quot;, # Defines the position type.
811 },
812 &quot;useSmartTiming&quot;: True or False, # Indicates whether the channel&#x27;s promotional campaign uses &quot;smart timing.&quot; 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.
813 },
814 &quot;kind&quot;: &quot;youtube#channel&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#channel&quot;.
815 &quot;localizations&quot;: { # Localizations for different languages
816 &quot;a_key&quot;: { # Channel localization setting # The language tag, using string since map_key require simple types.
817 &quot;description&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s description.
818 &quot;title&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s title.
819 },
820 },
821 &quot;snippet&quot;: { # 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.
822 &quot;country&quot;: &quot;A String&quot;, # The country of the channel.
823 &quot;customUrl&quot;: &quot;A String&quot;, # The custom url of the channel.
824 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the channel&#x27;s default title and description.
825 &quot;description&quot;: &quot;A String&quot;, # The description of the channel.
826 &quot;localized&quot;: { # Channel localization setting # Localized title and description, read-only.
827 &quot;description&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s description.
828 &quot;title&quot;: &quot;A String&quot;, # The localized strings for channel&#x27;s title.
829 },
830 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the channel was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
831 &quot;thumbnails&quot;: { # 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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700832 #
833 # 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.
834 #
835 # 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.
Bu Sun Kim65020912020-05-20 12:08:20 -0700836 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
837 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
838 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
839 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400840 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700841 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
842 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
843 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
844 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400845 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700846 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
847 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
848 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
849 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400850 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700851 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
852 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
853 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
854 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400855 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700856 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
857 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
858 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
859 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
John Asmuth614db982014-04-24 15:46:26 -0400860 },
861 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700862 &quot;title&quot;: &quot;A String&quot;, # The channel&#x27;s title.
John Asmuth614db982014-04-24 15:46:26 -0400863 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700864 &quot;statistics&quot;: { # Statistics about a channel: number of subscribers, number of videos in the channel, etc. # The statistics object encapsulates statistics for the channel.
865 &quot;commentCount&quot;: &quot;A String&quot;, # The number of comments for the channel.
866 &quot;hiddenSubscriberCount&quot;: True or False, # Whether or not the number of subscribers is shown for this user.
867 &quot;subscriberCount&quot;: &quot;A String&quot;, # The number of subscribers that the channel has.
868 &quot;videoCount&quot;: &quot;A String&quot;, # The number of videos uploaded to the channel.
869 &quot;viewCount&quot;: &quot;A String&quot;, # The number of times the channel has been viewed.
John Asmuth614db982014-04-24 15:46:26 -0400870 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700871 &quot;status&quot;: { # JSON template for the status part of a channel. # The status object encapsulates information about the privacy status of the channel.
872 &quot;isLinked&quot;: True or False, # If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn&#x27;t have a public YouTube identity.
873 &quot;longUploadsStatus&quot;: &quot;A String&quot;, # The long uploads status of this channel. See
874 &quot;madeForKids&quot;: True or False,
875 &quot;privacyStatus&quot;: &quot;A String&quot;, # Privacy status of the channel.
876 &quot;selfDeclaredMadeForKids&quot;: True or False,
877 },
878 &quot;topicDetails&quot;: { # Freebase topic information related to the channel. # The topicDetails object encapsulates information about Freebase topics associated with the channel.
879 &quot;topicCategories&quot;: [ # A list of Wikipedia URLs that describe the channel&#x27;s content.
880 &quot;A String&quot;,
881 ],
882 &quot;topicIds&quot;: [ # A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API.
883 &quot;A String&quot;,
884 ],
Craig Citroe633be12015-03-02 13:40:36 -0800885 },
John Asmuth614db982014-04-24 15:46:26 -0400886 }</pre>
887</div>
888
889</body></html>