Resource: Channel
A channel resource contains information about a YouTube channel.
| JSON representation |
|---|
{
"kind": string,
"etag": string,
"id": string,
"snippet": {
"title": string,
"description": string,
"customUrl": string,
"publishedAt": string,
"thumbnails": {
object ( |
| Fields | |
|---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string |
etag |
Etag of this resource. |
id |
The ID that YouTube uses to uniquely identify the channel. |
snippet |
The |
snippet.title |
The channel's title. |
snippet.description |
The description of the channel. The property value has a maximum length of 1,000 characters. |
snippet.customUrl |
The channel's custom URL ( |
snippet.publishedAt |
The date and time that the channel was created. The value is specified in ISO 8601 format. |
snippet.thumbnails |
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. Valid key values are When displaying thumbnails in your application, use the image URLs exactly as returned in API responses. Channel thumbnail URLs use the |
snippet.defaultLanguage |
The language of the channel's default title and description. |
snippet.localized |
Localized title and description, read-only. This object contains the localized metadata for the language requested in the |
snippet.localized.title |
The localized channel title. |
snippet.localized.description |
The localized channel description. |
snippet.country |
The country with which the channel is associated. Set this value using |
contentDetails |
The |
contentDetails.relatedPlaylists |
Encapsulates information about the playlists associated with the channel, such as its uploaded or liked videos. Retrieve playlist metadata with |
contentDetails.relatedPlaylists.likes |
The ID of the playlist that contains the channel's liked videos. Use the |
contentDetails.relatedPlaylists.uploads |
The ID of the playlist that contains the channel's uploaded videos. Use the |
statistics |
The |
statistics.viewCount |
The sum of the number of times all the videos in all formats have been viewed for a channel. For all video formats (long-form, Live, and Shorts) on a channel, For all video formats (long-form, Live, and Shorts) on a channel, |
statistics.commentCount |
Deprecated: This property isn't populated. |
statistics.subscriberCount |
The number of subscribers that the channel has. This value is rounded down to three significant figures, as explained in the API revision history and the YouTube Help Center. If |
statistics.hiddenSubscriberCount |
Indicates whether the channel's subscriber count is hidden from public view ( |
statistics.videoCount |
The number of public videos uploaded to the channel. Private and unlisted videos aren't included, even when requested by the channel owner. |
topicDetails |
Encapsulates information about topics associated with the channel. Freebase topic IDs ( |
topicDetails.topicIds[] |
Deprecated: A list of Freebase topic IDs associated with the channel. Freebase topic IDs were deprecated on November 10, 2016, as announced in the API revision history; use |
topicDetails.topicCategories[] |
A list of Wikipedia URLs that describe the channel's content. |
status |
The |
status.privacyStatus |
Privacy status of the channel. Although the shared enum includes Valid values of this enum field are:
|
status.isLinked |
Indicates whether the user is linked to a YouTube channel identity. For existing channels, this property is always |
status.longUploadsStatus |
The long uploads status of this channel, indicating whether it can upload videos longer than 15 minutes. An Valid values of this enum field are:
|
status.madeForKids |
Indicates whether the channel is designated as child-directed, and contains the channel's "made for kids" status as determined by the creator's setting ( |
status.selfDeclaredMadeForKids |
In a |
brandingSettings |
The |
brandingSettings.channel |
Branding properties for the channel view. |
brandingSettings.channel.title |
The channel's title. When updating |
brandingSettings.channel.description |
Specifies the channel description. The property value has a maximum length of 1,000 characters. |
brandingSettings.channel.keywords |
Lists keywords associated with the channel, separated by spaces. Use quotation marks around multi-word keywords. The property value has a maximum length of 500 characters. |
brandingSettings.channel.trackingAnalyticsAccountId |
The ID for a Google Analytics account to track and measure traffic to the channel. |
brandingSettings.channel.unsubscribedTrailer |
The video ID of the trailer that plays on the channel page for users who aren't subscribed to the channel. |
brandingSettings.channel.defaultLanguage |
The default language of the channel's title and description. When updating |
brandingSettings.channel.country |
The country with which the channel is associated. |
brandingSettings.image |
Branding properties for branding images. |
brandingSettings.image.bannerExternalUrl |
This value is generated when a |
auditDetails |
Encapsulates channel data that is relevant for YouTube Partners during the audit process. Accessing this object requires authorization from the channel owner with the |
auditDetails.overallGoodStanding |
Whether the channel is in good standing overall. This value is the logical |
auditDetails.communityGuidelinesGoodStanding |
Whether the channel respects the community guidelines ( |
auditDetails.copyrightStrikesGoodStanding |
Whether the channel has any copyright strikes ( |
auditDetails.contentIdClaimsGoodStanding |
Whether the channel has any unresolved Content ID claims ( |
contentOwnerDetails |
Encapsulates channel data that is relevant for YouTube Partners linked with the channel. This object's fields are populated only when the request sets the |
contentOwnerDetails.contentOwner |
The ID of the content owner linked to the channel. |
contentOwnerDetails.timeLinked |
The date and time when the channel was linked to the content owner. The value is specified in ISO 8601 format. |
localizations[] |
Encapsulates translations of the channel's metadata. The property value is a map of string keys to objects. Each key is a BCP-47 language tag that identifies a language to which the channel's metadata has been translated. An object containing a list of |
localizations[].title |
The localized channel title. |
localizations[].description |
The localized channel description. |
Methods |
|
|---|---|
|
Returns a collection of zero or more channel resources that match the request criteria. |
|
Modifies a channel's metadata, including brandingSettings, localizations, and status. |