John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, 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 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 75 | <h1><a href="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.channels.html">channels</a></h1> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 78 | <code><a href="#close">close()</a></code></p> |
| 79 | <p class="firstline">Close httplib2 connections.</p> |
| 80 | <p class="toc_element"> |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 81 | <code><a href="#list">list(part, onBehalfOfContentOwner=None, forUsername=None, hl=None, maxResults=None, mySubscribers=None, mine=None, categoryId=None, id=None, managedByMe=None, pageToken=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 82 | <p class="firstline">Retrieves a list of resources, possibly filtered.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 83 | <p class="toc_element"> |
| 84 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 85 | <p class="firstline">Retrieves the next page of results.</p> |
| 86 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 87 | <code><a href="#update">update(part, body=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p> |
| 88 | <p class="firstline">Updates an existing resource.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 89 | <h3>Method Details</h3> |
| 90 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 91 | <code class="details" id="close">close()</code> |
| 92 | <pre>Close httplib2 connections.</pre> |
| 93 | </div> |
| 94 | |
| 95 | <div class="method"> |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 96 | <code class="details" id="list">list(part, onBehalfOfContentOwner=None, forUsername=None, hl=None, maxResults=None, mySubscribers=None, mine=None, categoryId=None, id=None, managedByMe=None, pageToken=None, x__xgafv=None)</code> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 97 | <pre>Retrieves a list of resources, possibly filtered. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 98 | |
| 99 | Args: |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 100 | part: string, The *part* parameter specifies a comma-separated list of one or more channel resource properties that the API response will include. If 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) (repeated) |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 101 | onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *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. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 102 | forUsername: string, Return the channel associated with a YouTube username. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 103 | hl: string, Stands for "host language". Specifies the localization language of the metadata to be filled into snippet.localized. The field is filled with the default metadata if there is no localization in the specified language. The parameter value must be a language code included in the list returned by the i18nLanguages.list method (e.g. en_US, es_MX). |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 104 | maxResults: integer, The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 105 | mySubscribers: boolean, Return the channels subscribed to the authenticated user |
| 106 | mine: boolean, Return the ids of channels owned by the authenticated user. |
| 107 | categoryId: string, Return the channels within the specified guide category ID. |
| 108 | id: string, Return the channels with the specified IDs. (repeated) |
| 109 | managedByMe: boolean, Return the channels managed by the authenticated user. |
| 110 | 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. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 111 | x__xgafv: string, V1 error format. |
| 112 | Allowed values |
| 113 | 1 - v1 error format |
| 114 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 115 | |
| 116 | Returns: |
| 117 | An object of the form: |
| 118 | |
| 119 | { |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 120 | "tokenPagination": { # Stub token pagination template to suppress results. |
| 121 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 122 | "items": [ |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 123 | { # A *channel* resource contains information about a YouTube channel. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 124 | "brandingSettings": { # Branding properties of a YouTube channel. # The brandingSettings object encapsulates information about the branding of the channel. |
| 125 | "hints": [ # Additional experimental branding properties. |
| 126 | { # A pair Property / Value. |
| 127 | "value": "A String", # The property's value. |
| 128 | "property": "A String", # A property. |
| 129 | }, |
| 130 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 131 | "image": { # Branding properties for images associated with the channel. # Branding properties for branding images. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 132 | "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. |
| 133 | "bannerTabletExtraHdImageUrl": "A String", # Banner image. Tablet size extra high resolution (2560x424). |
| 134 | "bannerMobileMediumHdImageUrl": "A String", # Banner image. Mobile size medium/high resolution (960x263). |
| 135 | "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. |
| 136 | "localized": [ |
| 137 | { |
| 138 | "value": "A String", |
| 139 | "language": "A String", |
| 140 | }, |
| 141 | ], |
| 142 | "default": "A String", |
| 143 | "defaultLanguage": { # The language of the default property. |
| 144 | "value": "A String", |
| 145 | }, |
| 146 | }, |
| 147 | "bannerImageUrl": "A String", # Banner image. Desktop size (1060x175). |
| 148 | "bannerTabletLowImageUrl": "A String", # Banner image. Tablet size low resolution (1138x188). |
| 149 | "bannerTvImageUrl": "A String", # Banner image. TV size extra high resolution (2120x1192). |
| 150 | "bannerTvMediumImageUrl": "A String", # Banner image. TV size medium resolution (1280x720). |
| 151 | "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. |
| 152 | "localized": [ |
| 153 | { |
| 154 | "value": "A String", |
| 155 | "language": "A String", |
| 156 | }, |
| 157 | ], |
| 158 | "default": "A String", |
| 159 | "defaultLanguage": { # The language of the default property. |
| 160 | "value": "A String", |
| 161 | }, |
| 162 | }, |
| 163 | "bannerTabletHdImageUrl": "A String", # Banner image. Tablet size high resolution (2276x377). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 164 | "bannerMobileImageUrl": "A String", # Banner image. Mobile size (640x175). |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 165 | "bannerTabletImageUrl": "A String", # Banner image. Tablet size (1707x283). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 166 | "bannerTvHighImageUrl": "A String", # Banner image. TV size high resolution (1920x1080). |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 167 | "bannerMobileLowImageUrl": "A String", # Banner image. Mobile size low resolution (320x88). |
| 168 | "watchIconImageUrl": "A String", |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 169 | "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. |
| 170 | "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. 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. |
| 171 | "localized": [ |
| 172 | { |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 173 | "value": "A String", |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 174 | "language": "A String", |
| 175 | }, |
| 176 | ], |
| 177 | "default": "A String", |
| 178 | "defaultLanguage": { # The language of the default property. |
| 179 | "value": "A String", |
| 180 | }, |
| 181 | }, |
| 182 | "bannerMobileExtraHdImageUrl": "A String", # Banner image. Mobile size high resolution (1440x395). |
| 183 | "bannerMobileHdImageUrl": "A String", # Banner image. Mobile size high resolution (1280x360). |
| 184 | "bannerTvLowImageUrl": "A String", # Banner image. TV size low resolution (854x480). |
| 185 | "smallBrandedBannerImageImapScript": { # The image map script for the small banner image. |
| 186 | "localized": [ |
| 187 | { |
| 188 | "value": "A String", |
| 189 | "language": "A String", |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 190 | }, |
| 191 | ], |
| 192 | "default": "A String", |
| 193 | "defaultLanguage": { # The language of the default property. |
| 194 | "value": "A String", |
| 195 | }, |
| 196 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 197 | "largeBrandedBannerImageImapScript": { # The image map script for the large banner image. |
| 198 | "localized": [ |
| 199 | { |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 200 | "value": "A String", |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 201 | "language": "A String", |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 202 | }, |
| 203 | ], |
| 204 | "default": "A String", |
| 205 | "defaultLanguage": { # The language of the default property. |
| 206 | "value": "A String", |
| 207 | }, |
| 208 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 209 | }, |
| 210 | "channel": { # Branding properties for the channel view. # Branding properties for the channel view. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 211 | "profileColor": "A String", # A prominent color that can be rendered on this channel page. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 212 | "defaultTab": "A String", # Which content tab users should see when viewing the channel. |
| 213 | "showBrowseView": True or False, # Whether the tab to browse the videos should be displayed. |
| 214 | "country": "A String", # The country of the channel. |
| 215 | "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. |
| 216 | "description": "A String", # Specifies the channel description. |
| 217 | "featuredChannelsTitle": "A String", # Title for the featured channels tab. |
| 218 | "defaultLanguage": "A String", |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 219 | "unsubscribedTrailer": "A String", # The trailer of the channel, for users that are not subscribers. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 220 | "trackingAnalyticsAccountId": "A String", # The ID for a Google Analytics account to track and measure traffic to the channels. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 221 | "featuredChannelsUrls": [ # The list of featured channels. |
| 222 | "A String", |
| 223 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 224 | "keywords": "A String", # Lists keywords associated with the channel, comma-separated. |
| 225 | "showRelatedChannels": True or False, # Whether related channels should be proposed. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 226 | "title": "A String", # Specifies the channel title. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 227 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 228 | "watch": { # Branding properties for the watch. All deprecated. # Branding properties for the watch page. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 229 | "featuredPlaylistId": "A String", # An ID that uniquely identifies a playlist that displays next to the video player. |
| 230 | "backgroundColor": "A String", # The text color for the video watch page's branded area. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 231 | "textColor": "A String", # The background color for the video watch page's branded area. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 232 | }, |
| 233 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 234 | "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. |
| 235 | "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. |
| 236 | { # 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. |
| 237 | "context": "A String", # Defines the context of the ping. |
| 238 | "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. |
| 239 | }, |
| 240 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 241 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 242 | "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. |
| 243 | "timeLinked": "A String", # The date and time of when the channel was linked to the content owner. The value is specified in ISO 8601 format. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 244 | "contentOwner": "A String", # The ID of the content owner linked to the channel. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 245 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 246 | "localizations": { # Localizations for different languages |
| 247 | "a_key": { # Channel localization setting |
| 248 | "description": "A String", # The localized strings for channel's description. |
| 249 | "title": "A String", # The localized strings for channel's title. |
| 250 | }, |
| 251 | }, |
| 252 | "topicDetails": { # Freebase topic information related to the channel. # The topicDetails object encapsulates information about Freebase topics associated with the channel. |
| 253 | "topicCategories": [ # A list of Wikipedia URLs that describe the channel's content. |
| 254 | "A String", |
| 255 | ], |
| 256 | "topicIds": [ # A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API. |
| 257 | "A String", |
| 258 | ], |
| 259 | }, |
| 260 | "status": { # JSON template for the status part of a channel. # The status object encapsulates information about the privacy status of the channel. |
| 261 | "longUploadsStatus": "A String", # The long uploads status of this channel. See https://support.google.com/youtube/answer/71673 for more information. |
| 262 | "madeForKids": True or False, |
| 263 | "selfDeclaredMadeForKids": True or False, |
| 264 | "privacyStatus": "A String", # Privacy status of the channel. |
| 265 | "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. |
| 266 | }, |
| 267 | "contentDetails": { # Details about the content of a channel. # The contentDetails object encapsulates information about the channel's content. |
| 268 | "relatedPlaylists": { |
| 269 | "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. |
| 270 | "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. |
| 271 | "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. |
| 272 | "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. |
| 273 | "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. |
| 274 | }, |
| 275 | }, |
| 276 | "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. |
| 277 | "localized": { # Channel localization setting # Localized title and description, read-only. |
| 278 | "description": "A String", # The localized strings for channel's description. |
| 279 | "title": "A String", # The localized strings for channel's title. |
| 280 | }, |
| 281 | "title": "A String", # The channel's title. |
| 282 | "defaultLanguage": "A String", # The language of the channel's default title and description. |
| 283 | "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. 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. 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. Thumbnail images might be empty for newly created channels and might take up to one day to populate. |
| 284 | "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource. |
| 285 | "height": 42, # (Optional) Height of the thumbnail image. |
| 286 | "url": "A String", # The thumbnail image's URL. |
| 287 | "width": 42, # (Optional) Width of the thumbnail image. |
| 288 | }, |
| 289 | "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource. |
| 290 | "height": 42, # (Optional) Height of the thumbnail image. |
| 291 | "url": "A String", # The thumbnail image's URL. |
| 292 | "width": 42, # (Optional) Width of the thumbnail image. |
| 293 | }, |
| 294 | "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource. |
| 295 | "height": 42, # (Optional) Height of the thumbnail image. |
| 296 | "url": "A String", # The thumbnail image's URL. |
| 297 | "width": 42, # (Optional) Width of the thumbnail image. |
| 298 | }, |
| 299 | "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource. |
| 300 | "height": 42, # (Optional) Height of the thumbnail image. |
| 301 | "url": "A String", # The thumbnail image's URL. |
| 302 | "width": 42, # (Optional) Width of the thumbnail image. |
| 303 | }, |
| 304 | "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource. |
| 305 | "height": 42, # (Optional) Height of the thumbnail image. |
| 306 | "url": "A String", # The thumbnail image's URL. |
| 307 | "width": 42, # (Optional) Width of the thumbnail image. |
| 308 | }, |
| 309 | }, |
| 310 | "publishedAt": "A String", # The date and time that the channel was created. The value is specified in < a href="//www.w3.org/TR/NOTE-datetime">ISO 8601 format. |
| 311 | "description": "A String", # The description of the channel. |
| 312 | "country": "A String", # The country of the channel. |
| 313 | "customUrl": "A String", # The custom url of the channel. |
| 314 | }, |
| 315 | "kind": "youtube#channel", # Identifies what kind of resource this is. Value: the fixed string "youtube#channel". |
| 316 | "etag": "A String", # Etag of this resource. |
| 317 | "id": "A String", # The ID that YouTube uses to uniquely identify the channel. |
| 318 | "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. |
| 319 | "contentIdClaimsGoodStanding": True or False, # Whether or not the channel has any unresolved claims. |
| 320 | "communityGuidelinesGoodStanding": True or False, # Whether or not the channel respects the community guidelines. |
| 321 | "copyrightStrikesGoodStanding": True or False, # Whether or not the channel has any copyright strikes. |
| 322 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 323 | "statistics": { # Statistics about a channel: number of subscribers, number of videos in the channel, etc. # The statistics object encapsulates statistics for the channel. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 324 | "subscriberCount": "A String", # The number of subscribers that the channel has. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 325 | "viewCount": "A String", # The number of times the channel has been viewed. |
| 326 | "commentCount": "A String", # The number of comments for the channel. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 327 | "hiddenSubscriberCount": True or False, # Whether or not the number of subscribers is shown for this user. |
| 328 | "videoCount": "A String", # The number of videos uploaded to the channel. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 329 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 330 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 331 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 332 | "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. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 333 | "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. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 334 | "eventId": "A String", # Serialized EventId of the request which produced this response. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 335 | "kind": "youtube#channelListResponse", # Identifies what kind of resource this is. Value: the fixed string "youtube#channelListResponse". |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 336 | "etag": "A String", # Etag of this resource. |
| 337 | "pageInfo": { # Paging details for lists of resources, including total number of items available and number of resources returned in a single page. # General pagination information. |
| 338 | "totalResults": 42, # The total number of results in the result set. |
| 339 | "resultsPerPage": 42, # The number of results included in the API response. |
| 340 | }, |
| 341 | "visitorId": "A String", # The visitorId identifies the visitor. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 342 | }</pre> |
| 343 | </div> |
| 344 | |
| 345 | <div class="method"> |
| 346 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 347 | <pre>Retrieves the next page of results. |
| 348 | |
| 349 | Args: |
| 350 | previous_request: The request for the previous page. (required) |
| 351 | previous_response: The response from the request for the previous page. (required) |
| 352 | |
| 353 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 354 | A request object that you can call 'execute()' on to request the next |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 355 | page. Returns None if there are no more items in the collection. |
| 356 | </pre> |
| 357 | </div> |
| 358 | |
| 359 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 360 | <code class="details" id="update">update(part, body=None, onBehalfOfContentOwner=None, x__xgafv=None)</code> |
| 361 | <pre>Updates an existing resource. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 362 | |
| 363 | Args: |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 364 | 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. The 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.) Note 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) (repeated) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 365 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 366 | The object takes the form of: |
| 367 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 368 | { # A *channel* resource contains information about a YouTube channel. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 369 | "brandingSettings": { # Branding properties of a YouTube channel. # The brandingSettings object encapsulates information about the branding of the channel. |
| 370 | "hints": [ # Additional experimental branding properties. |
| 371 | { # A pair Property / Value. |
| 372 | "value": "A String", # The property's value. |
| 373 | "property": "A String", # A property. |
| 374 | }, |
| 375 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 376 | "image": { # Branding properties for images associated with the channel. # Branding properties for branding images. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 377 | "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. |
| 378 | "bannerTabletExtraHdImageUrl": "A String", # Banner image. Tablet size extra high resolution (2560x424). |
| 379 | "bannerMobileMediumHdImageUrl": "A String", # Banner image. Mobile size medium/high resolution (960x263). |
| 380 | "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. |
| 381 | "localized": [ |
| 382 | { |
| 383 | "value": "A String", |
| 384 | "language": "A String", |
| 385 | }, |
| 386 | ], |
| 387 | "default": "A String", |
| 388 | "defaultLanguage": { # The language of the default property. |
| 389 | "value": "A String", |
| 390 | }, |
| 391 | }, |
| 392 | "bannerImageUrl": "A String", # Banner image. Desktop size (1060x175). |
| 393 | "bannerTabletLowImageUrl": "A String", # Banner image. Tablet size low resolution (1138x188). |
| 394 | "bannerTvImageUrl": "A String", # Banner image. TV size extra high resolution (2120x1192). |
| 395 | "bannerTvMediumImageUrl": "A String", # Banner image. TV size medium resolution (1280x720). |
| 396 | "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. |
| 397 | "localized": [ |
| 398 | { |
| 399 | "value": "A String", |
| 400 | "language": "A String", |
| 401 | }, |
| 402 | ], |
| 403 | "default": "A String", |
| 404 | "defaultLanguage": { # The language of the default property. |
| 405 | "value": "A String", |
| 406 | }, |
| 407 | }, |
| 408 | "bannerTabletHdImageUrl": "A String", # Banner image. Tablet size high resolution (2276x377). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 409 | "bannerMobileImageUrl": "A String", # Banner image. Mobile size (640x175). |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 410 | "bannerTabletImageUrl": "A String", # Banner image. Tablet size (1707x283). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 411 | "bannerTvHighImageUrl": "A String", # Banner image. TV size high resolution (1920x1080). |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 412 | "bannerMobileLowImageUrl": "A String", # Banner image. Mobile size low resolution (320x88). |
| 413 | "watchIconImageUrl": "A String", |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 414 | "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. |
| 415 | "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. 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. |
| 416 | "localized": [ |
| 417 | { |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 418 | "value": "A String", |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 419 | "language": "A String", |
| 420 | }, |
| 421 | ], |
| 422 | "default": "A String", |
| 423 | "defaultLanguage": { # The language of the default property. |
| 424 | "value": "A String", |
| 425 | }, |
| 426 | }, |
| 427 | "bannerMobileExtraHdImageUrl": "A String", # Banner image. Mobile size high resolution (1440x395). |
| 428 | "bannerMobileHdImageUrl": "A String", # Banner image. Mobile size high resolution (1280x360). |
| 429 | "bannerTvLowImageUrl": "A String", # Banner image. TV size low resolution (854x480). |
| 430 | "smallBrandedBannerImageImapScript": { # The image map script for the small banner image. |
| 431 | "localized": [ |
| 432 | { |
| 433 | "value": "A String", |
| 434 | "language": "A String", |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 435 | }, |
| 436 | ], |
| 437 | "default": "A String", |
| 438 | "defaultLanguage": { # The language of the default property. |
| 439 | "value": "A String", |
| 440 | }, |
| 441 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 442 | "largeBrandedBannerImageImapScript": { # The image map script for the large banner image. |
| 443 | "localized": [ |
| 444 | { |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 445 | "value": "A String", |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 446 | "language": "A String", |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 447 | }, |
| 448 | ], |
| 449 | "default": "A String", |
| 450 | "defaultLanguage": { # The language of the default property. |
| 451 | "value": "A String", |
| 452 | }, |
| 453 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 454 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 455 | "channel": { # Branding properties for the channel view. # Branding properties for the channel view. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 456 | "profileColor": "A String", # A prominent color that can be rendered on this channel page. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 457 | "defaultTab": "A String", # Which content tab users should see when viewing the channel. |
| 458 | "showBrowseView": True or False, # Whether the tab to browse the videos should be displayed. |
| 459 | "country": "A String", # The country of the channel. |
| 460 | "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. |
| 461 | "description": "A String", # Specifies the channel description. |
| 462 | "featuredChannelsTitle": "A String", # Title for the featured channels tab. |
| 463 | "defaultLanguage": "A String", |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 464 | "unsubscribedTrailer": "A String", # The trailer of the channel, for users that are not subscribers. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 465 | "trackingAnalyticsAccountId": "A String", # The ID for a Google Analytics account to track and measure traffic to the channels. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 466 | "featuredChannelsUrls": [ # The list of featured channels. |
| 467 | "A String", |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 468 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 469 | "keywords": "A String", # Lists keywords associated with the channel, comma-separated. |
| 470 | "showRelatedChannels": True or False, # Whether related channels should be proposed. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 471 | "title": "A String", # Specifies the channel title. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 472 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 473 | "watch": { # Branding properties for the watch. All deprecated. # Branding properties for the watch page. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 474 | "featuredPlaylistId": "A String", # An ID that uniquely identifies a playlist that displays next to the video player. |
| 475 | "backgroundColor": "A String", # The text color for the video watch page's branded area. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 476 | "textColor": "A String", # The background color for the video watch page's branded area. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 477 | }, |
| 478 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 479 | "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. |
| 480 | "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. |
| 481 | { # 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. |
| 482 | "context": "A String", # Defines the context of the ping. |
| 483 | "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. |
| 484 | }, |
| 485 | ], |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 486 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 487 | "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. |
| 488 | "timeLinked": "A String", # The date and time of when the channel was linked to the content owner. The value is specified in ISO 8601 format. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 489 | "contentOwner": "A String", # The ID of the content owner linked to the channel. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 490 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 491 | "localizations": { # Localizations for different languages |
| 492 | "a_key": { # Channel localization setting |
| 493 | "description": "A String", # The localized strings for channel's description. |
| 494 | "title": "A String", # The localized strings for channel's title. |
| 495 | }, |
| 496 | }, |
| 497 | "topicDetails": { # Freebase topic information related to the channel. # The topicDetails object encapsulates information about Freebase topics associated with the channel. |
| 498 | "topicCategories": [ # A list of Wikipedia URLs that describe the channel's content. |
| 499 | "A String", |
| 500 | ], |
| 501 | "topicIds": [ # A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API. |
| 502 | "A String", |
| 503 | ], |
| 504 | }, |
| 505 | "status": { # JSON template for the status part of a channel. # The status object encapsulates information about the privacy status of the channel. |
| 506 | "longUploadsStatus": "A String", # The long uploads status of this channel. See https://support.google.com/youtube/answer/71673 for more information. |
| 507 | "madeForKids": True or False, |
| 508 | "selfDeclaredMadeForKids": True or False, |
| 509 | "privacyStatus": "A String", # Privacy status of the channel. |
| 510 | "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. |
| 511 | }, |
| 512 | "contentDetails": { # Details about the content of a channel. # The contentDetails object encapsulates information about the channel's content. |
| 513 | "relatedPlaylists": { |
| 514 | "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. |
| 515 | "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. |
| 516 | "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. |
| 517 | "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. |
| 518 | "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. |
| 519 | }, |
| 520 | }, |
| 521 | "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. |
| 522 | "localized": { # Channel localization setting # Localized title and description, read-only. |
| 523 | "description": "A String", # The localized strings for channel's description. |
| 524 | "title": "A String", # The localized strings for channel's title. |
| 525 | }, |
| 526 | "title": "A String", # The channel's title. |
| 527 | "defaultLanguage": "A String", # The language of the channel's default title and description. |
| 528 | "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. 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. 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. Thumbnail images might be empty for newly created channels and might take up to one day to populate. |
| 529 | "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource. |
| 530 | "height": 42, # (Optional) Height of the thumbnail image. |
| 531 | "url": "A String", # The thumbnail image's URL. |
| 532 | "width": 42, # (Optional) Width of the thumbnail image. |
| 533 | }, |
| 534 | "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource. |
| 535 | "height": 42, # (Optional) Height of the thumbnail image. |
| 536 | "url": "A String", # The thumbnail image's URL. |
| 537 | "width": 42, # (Optional) Width of the thumbnail image. |
| 538 | }, |
| 539 | "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource. |
| 540 | "height": 42, # (Optional) Height of the thumbnail image. |
| 541 | "url": "A String", # The thumbnail image's URL. |
| 542 | "width": 42, # (Optional) Width of the thumbnail image. |
| 543 | }, |
| 544 | "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource. |
| 545 | "height": 42, # (Optional) Height of the thumbnail image. |
| 546 | "url": "A String", # The thumbnail image's URL. |
| 547 | "width": 42, # (Optional) Width of the thumbnail image. |
| 548 | }, |
| 549 | "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource. |
| 550 | "height": 42, # (Optional) Height of the thumbnail image. |
| 551 | "url": "A String", # The thumbnail image's URL. |
| 552 | "width": 42, # (Optional) Width of the thumbnail image. |
| 553 | }, |
| 554 | }, |
| 555 | "publishedAt": "A String", # The date and time that the channel was created. The value is specified in < a href="//www.w3.org/TR/NOTE-datetime">ISO 8601 format. |
| 556 | "description": "A String", # The description of the channel. |
| 557 | "country": "A String", # The country of the channel. |
| 558 | "customUrl": "A String", # The custom url of the channel. |
| 559 | }, |
| 560 | "kind": "youtube#channel", # Identifies what kind of resource this is. Value: the fixed string "youtube#channel". |
| 561 | "etag": "A String", # Etag of this resource. |
| 562 | "id": "A String", # The ID that YouTube uses to uniquely identify the channel. |
| 563 | "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. |
| 564 | "contentIdClaimsGoodStanding": True or False, # Whether or not the channel has any unresolved claims. |
| 565 | "communityGuidelinesGoodStanding": True or False, # Whether or not the channel respects the community guidelines. |
| 566 | "copyrightStrikesGoodStanding": True or False, # Whether or not the channel has any copyright strikes. |
| 567 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 568 | "statistics": { # Statistics about a channel: number of subscribers, number of videos in the channel, etc. # The statistics object encapsulates statistics for the channel. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 569 | "subscriberCount": "A String", # The number of subscribers that the channel has. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 570 | "viewCount": "A String", # The number of times the channel has been viewed. |
| 571 | "commentCount": "A String", # The number of comments for the channel. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 572 | "hiddenSubscriberCount": True or False, # Whether or not the number of subscribers is shown for this user. |
| 573 | "videoCount": "A String", # The number of videos uploaded to the channel. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 574 | }, |
| 575 | } |
| 576 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 577 | 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. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 578 | x__xgafv: string, V1 error format. |
| 579 | Allowed values |
| 580 | 1 - v1 error format |
| 581 | 2 - v2 error format |
| 582 | |
| 583 | Returns: |
| 584 | An object of the form: |
| 585 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 586 | { # A *channel* resource contains information about a YouTube channel. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 587 | "brandingSettings": { # Branding properties of a YouTube channel. # The brandingSettings object encapsulates information about the branding of the channel. |
| 588 | "hints": [ # Additional experimental branding properties. |
| 589 | { # A pair Property / Value. |
| 590 | "value": "A String", # The property's value. |
| 591 | "property": "A String", # A property. |
| 592 | }, |
| 593 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 594 | "image": { # Branding properties for images associated with the channel. # Branding properties for branding images. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 595 | "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. |
| 596 | "bannerTabletExtraHdImageUrl": "A String", # Banner image. Tablet size extra high resolution (2560x424). |
| 597 | "bannerMobileMediumHdImageUrl": "A String", # Banner image. Mobile size medium/high resolution (960x263). |
| 598 | "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. |
| 599 | "localized": [ |
| 600 | { |
| 601 | "value": "A String", |
| 602 | "language": "A String", |
| 603 | }, |
| 604 | ], |
| 605 | "default": "A String", |
| 606 | "defaultLanguage": { # The language of the default property. |
| 607 | "value": "A String", |
| 608 | }, |
| 609 | }, |
| 610 | "bannerImageUrl": "A String", # Banner image. Desktop size (1060x175). |
| 611 | "bannerTabletLowImageUrl": "A String", # Banner image. Tablet size low resolution (1138x188). |
| 612 | "bannerTvImageUrl": "A String", # Banner image. TV size extra high resolution (2120x1192). |
| 613 | "bannerTvMediumImageUrl": "A String", # Banner image. TV size medium resolution (1280x720). |
| 614 | "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. |
| 615 | "localized": [ |
| 616 | { |
| 617 | "value": "A String", |
| 618 | "language": "A String", |
| 619 | }, |
| 620 | ], |
| 621 | "default": "A String", |
| 622 | "defaultLanguage": { # The language of the default property. |
| 623 | "value": "A String", |
| 624 | }, |
| 625 | }, |
| 626 | "bannerTabletHdImageUrl": "A String", # Banner image. Tablet size high resolution (2276x377). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 627 | "bannerMobileImageUrl": "A String", # Banner image. Mobile size (640x175). |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 628 | "bannerTabletImageUrl": "A String", # Banner image. Tablet size (1707x283). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 629 | "bannerTvHighImageUrl": "A String", # Banner image. TV size high resolution (1920x1080). |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 630 | "bannerMobileLowImageUrl": "A String", # Banner image. Mobile size low resolution (320x88). |
| 631 | "watchIconImageUrl": "A String", |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 632 | "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. |
| 633 | "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. 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. |
| 634 | "localized": [ |
| 635 | { |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 636 | "value": "A String", |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 637 | "language": "A String", |
| 638 | }, |
| 639 | ], |
| 640 | "default": "A String", |
| 641 | "defaultLanguage": { # The language of the default property. |
| 642 | "value": "A String", |
| 643 | }, |
| 644 | }, |
| 645 | "bannerMobileExtraHdImageUrl": "A String", # Banner image. Mobile size high resolution (1440x395). |
| 646 | "bannerMobileHdImageUrl": "A String", # Banner image. Mobile size high resolution (1280x360). |
| 647 | "bannerTvLowImageUrl": "A String", # Banner image. TV size low resolution (854x480). |
| 648 | "smallBrandedBannerImageImapScript": { # The image map script for the small banner image. |
| 649 | "localized": [ |
| 650 | { |
| 651 | "value": "A String", |
| 652 | "language": "A String", |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 653 | }, |
| 654 | ], |
| 655 | "default": "A String", |
| 656 | "defaultLanguage": { # The language of the default property. |
| 657 | "value": "A String", |
| 658 | }, |
| 659 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 660 | "largeBrandedBannerImageImapScript": { # The image map script for the large banner image. |
| 661 | "localized": [ |
| 662 | { |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 663 | "value": "A String", |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 664 | "language": "A String", |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 665 | }, |
| 666 | ], |
| 667 | "default": "A String", |
| 668 | "defaultLanguage": { # The language of the default property. |
| 669 | "value": "A String", |
| 670 | }, |
| 671 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 672 | }, |
| 673 | "channel": { # Branding properties for the channel view. # Branding properties for the channel view. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 674 | "profileColor": "A String", # A prominent color that can be rendered on this channel page. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 675 | "defaultTab": "A String", # Which content tab users should see when viewing the channel. |
| 676 | "showBrowseView": True or False, # Whether the tab to browse the videos should be displayed. |
| 677 | "country": "A String", # The country of the channel. |
| 678 | "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. |
| 679 | "description": "A String", # Specifies the channel description. |
| 680 | "featuredChannelsTitle": "A String", # Title for the featured channels tab. |
| 681 | "defaultLanguage": "A String", |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 682 | "unsubscribedTrailer": "A String", # The trailer of the channel, for users that are not subscribers. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 683 | "trackingAnalyticsAccountId": "A String", # The ID for a Google Analytics account to track and measure traffic to the channels. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 684 | "featuredChannelsUrls": [ # The list of featured channels. |
| 685 | "A String", |
| 686 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 687 | "keywords": "A String", # Lists keywords associated with the channel, comma-separated. |
| 688 | "showRelatedChannels": True or False, # Whether related channels should be proposed. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 689 | "title": "A String", # Specifies the channel title. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 690 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 691 | "watch": { # Branding properties for the watch. All deprecated. # Branding properties for the watch page. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 692 | "featuredPlaylistId": "A String", # An ID that uniquely identifies a playlist that displays next to the video player. |
| 693 | "backgroundColor": "A String", # The text color for the video watch page's branded area. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 694 | "textColor": "A String", # The background color for the video watch page's branded area. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 695 | }, |
| 696 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 697 | "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. |
| 698 | "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. |
| 699 | { # 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. |
| 700 | "context": "A String", # Defines the context of the ping. |
| 701 | "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. |
| 702 | }, |
| 703 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 704 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 705 | "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. |
| 706 | "timeLinked": "A String", # The date and time of when the channel was linked to the content owner. The value is specified in ISO 8601 format. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 707 | "contentOwner": "A String", # The ID of the content owner linked to the channel. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 708 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 709 | "localizations": { # Localizations for different languages |
| 710 | "a_key": { # Channel localization setting |
| 711 | "description": "A String", # The localized strings for channel's description. |
| 712 | "title": "A String", # The localized strings for channel's title. |
| 713 | }, |
| 714 | }, |
| 715 | "topicDetails": { # Freebase topic information related to the channel. # The topicDetails object encapsulates information about Freebase topics associated with the channel. |
| 716 | "topicCategories": [ # A list of Wikipedia URLs that describe the channel's content. |
| 717 | "A String", |
| 718 | ], |
| 719 | "topicIds": [ # A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API. |
| 720 | "A String", |
| 721 | ], |
| 722 | }, |
| 723 | "status": { # JSON template for the status part of a channel. # The status object encapsulates information about the privacy status of the channel. |
| 724 | "longUploadsStatus": "A String", # The long uploads status of this channel. See https://support.google.com/youtube/answer/71673 for more information. |
| 725 | "madeForKids": True or False, |
| 726 | "selfDeclaredMadeForKids": True or False, |
| 727 | "privacyStatus": "A String", # Privacy status of the channel. |
| 728 | "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. |
| 729 | }, |
| 730 | "contentDetails": { # Details about the content of a channel. # The contentDetails object encapsulates information about the channel's content. |
| 731 | "relatedPlaylists": { |
| 732 | "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. |
| 733 | "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. |
| 734 | "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. |
| 735 | "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. |
| 736 | "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. |
| 737 | }, |
| 738 | }, |
| 739 | "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. |
| 740 | "localized": { # Channel localization setting # Localized title and description, read-only. |
| 741 | "description": "A String", # The localized strings for channel's description. |
| 742 | "title": "A String", # The localized strings for channel's title. |
| 743 | }, |
| 744 | "title": "A String", # The channel's title. |
| 745 | "defaultLanguage": "A String", # The language of the channel's default title and description. |
| 746 | "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. 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. 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. Thumbnail images might be empty for newly created channels and might take up to one day to populate. |
| 747 | "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource. |
| 748 | "height": 42, # (Optional) Height of the thumbnail image. |
| 749 | "url": "A String", # The thumbnail image's URL. |
| 750 | "width": 42, # (Optional) Width of the thumbnail image. |
| 751 | }, |
| 752 | "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource. |
| 753 | "height": 42, # (Optional) Height of the thumbnail image. |
| 754 | "url": "A String", # The thumbnail image's URL. |
| 755 | "width": 42, # (Optional) Width of the thumbnail image. |
| 756 | }, |
| 757 | "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource. |
| 758 | "height": 42, # (Optional) Height of the thumbnail image. |
| 759 | "url": "A String", # The thumbnail image's URL. |
| 760 | "width": 42, # (Optional) Width of the thumbnail image. |
| 761 | }, |
| 762 | "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource. |
| 763 | "height": 42, # (Optional) Height of the thumbnail image. |
| 764 | "url": "A String", # The thumbnail image's URL. |
| 765 | "width": 42, # (Optional) Width of the thumbnail image. |
| 766 | }, |
| 767 | "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource. |
| 768 | "height": 42, # (Optional) Height of the thumbnail image. |
| 769 | "url": "A String", # The thumbnail image's URL. |
| 770 | "width": 42, # (Optional) Width of the thumbnail image. |
| 771 | }, |
| 772 | }, |
| 773 | "publishedAt": "A String", # The date and time that the channel was created. The value is specified in < a href="//www.w3.org/TR/NOTE-datetime">ISO 8601 format. |
| 774 | "description": "A String", # The description of the channel. |
| 775 | "country": "A String", # The country of the channel. |
| 776 | "customUrl": "A String", # The custom url of the channel. |
| 777 | }, |
| 778 | "kind": "youtube#channel", # Identifies what kind of resource this is. Value: the fixed string "youtube#channel". |
| 779 | "etag": "A String", # Etag of this resource. |
| 780 | "id": "A String", # The ID that YouTube uses to uniquely identify the channel. |
| 781 | "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. |
| 782 | "contentIdClaimsGoodStanding": True or False, # Whether or not the channel has any unresolved claims. |
| 783 | "communityGuidelinesGoodStanding": True or False, # Whether or not the channel respects the community guidelines. |
| 784 | "copyrightStrikesGoodStanding": True or False, # Whether or not the channel has any copyright strikes. |
| 785 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 786 | "statistics": { # Statistics about a channel: number of subscribers, number of videos in the channel, etc. # The statistics object encapsulates statistics for the channel. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 787 | "subscriberCount": "A String", # The number of subscribers that the channel has. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 788 | "viewCount": "A String", # The number of times the channel has been viewed. |
| 789 | "commentCount": "A String", # The number of comments for the channel. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 790 | "hiddenSubscriberCount": True or False, # Whether or not the number of subscribers is shown for this user. |
| 791 | "videoCount": "A String", # The number of videos uploaded to the channel. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 792 | }, |
| 793 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 794 | </div> |
| 795 | |
| 796 | </body></html> |