Update
|
|||||
|
|
Update a channelSection
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Manage your YouTube account
- See, edit, and permanently delete your YouTube videos, ratings, comments and captions
- View and manage your assets and associated content on YouTube
Input
This building block consumes 24 input parameters
Name | Format | Description |
---|---|---|
part Required |
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 part names that you can include in the parameter value are snippet and contentDetails |
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 |
contentDetails |
OBJECT |
Details about a channelsection, including playlists and channels |
contentDetails.channels[] |
STRING |
|
contentDetails.playlists[] |
STRING |
|
etag |
STRING |
Etag of this resource |
id |
STRING |
The ID that YouTube uses to uniquely identify the channel section |
kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection" |
localizations |
OBJECT |
Localizations for different languages |
localizations.customKey |
OBJECT |
Add additional named properties |
localizations.customKey.title |
STRING |
The localized strings for channel section's title |
snippet |
OBJECT |
Basic details about a channel section, including title, style and position |
snippet.channelId |
STRING |
The ID that YouTube uses to uniquely identify the channel that published the channel section |
snippet.defaultLanguage |
STRING |
The language of the channel section's default title and description |
snippet.localized |
OBJECT |
ChannelSection localization setting |
snippet.localized.title |
STRING |
The localized strings for channel section's title |
snippet.position |
INTEGER |
The position of the channel section in the channel |
snippet.style |
ENUMERATION |
The style of the channel section |
snippet.title |
STRING |
The channel section's title for multiple_playlists and multiple_channels |
snippet.type |
ENUMERATION |
The type of the channel section |
targeting |
OBJECT |
ChannelSection targeting setting |
targeting.countries[] |
STRING |
|
targeting.languages[] |
STRING |
|
targeting.regions[] |
STRING |
= Parameter name
= Format
part STRING Required 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 part names that you can include in the parameter value are snippet and contentDetails |
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 |
contentDetails OBJECT Details about a channelsection, including playlists and channels |
contentDetails.channels[] STRING |
contentDetails.playlists[] STRING |
etag STRING Etag of this resource |
id STRING The ID that YouTube uses to uniquely identify the channel section |
kind STRING Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection" |
localizations OBJECT Localizations for different languages |
localizations.customKey OBJECT Add additional named properties |
localizations.customKey.title STRING The localized strings for channel section's title |
snippet OBJECT Basic details about a channel section, including title, style and position |
snippet.channelId STRING The ID that YouTube uses to uniquely identify the channel that published the channel section |
snippet.defaultLanguage STRING The language of the channel section's default title and description |
snippet.localized OBJECT ChannelSection localization setting |
snippet.localized.title STRING The localized strings for channel section's title |
snippet.position INTEGER The position of the channel section in the channel |
snippet.style ENUMERATION The style of the channel section |
snippet.title STRING The channel section's title for multiple_playlists and multiple_channels |
snippet.type ENUMERATION The type of the channel section |
targeting OBJECT ChannelSection targeting setting |
targeting.countries[] STRING |
targeting.languages[] STRING |
targeting.regions[] STRING |
Output
This building block provides 22 output parameters
Name | Format | Description |
---|---|---|
contentDetails |
OBJECT |
Details about a channelsection, including playlists and channels |
contentDetails.channels[] |
STRING |
|
contentDetails.playlists[] |
STRING |
|
etag |
STRING |
Etag of this resource |
id |
STRING |
The ID that YouTube uses to uniquely identify the channel section |
kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection" |
localizations |
OBJECT |
Localizations for different languages |
localizations.customKey |
OBJECT |
Add additional named properties |
localizations.customKey.title |
STRING |
The localized strings for channel section's title |
snippet |
OBJECT |
Basic details about a channel section, including title, style and position |
snippet.channelId |
STRING |
The ID that YouTube uses to uniquely identify the channel that published the channel section |
snippet.defaultLanguage |
STRING |
The language of the channel section's default title and description |
snippet.localized |
OBJECT |
ChannelSection localization setting |
snippet.localized.title |
STRING |
The localized strings for channel section's title |
snippet.position |
INTEGER |
The position of the channel section in the channel |
snippet.style |
ENUMERATION |
The style of the channel section |
snippet.title |
STRING |
The channel section's title for multiple_playlists and multiple_channels |
snippet.type |
ENUMERATION |
The type of the channel section |
targeting |
OBJECT |
ChannelSection targeting setting |
targeting.countries[] |
STRING |
|
targeting.languages[] |
STRING |
|
targeting.regions[] |
STRING |
= Parameter name
= Format
contentDetails OBJECT Details about a channelsection, including playlists and channels |
contentDetails.channels[] STRING |
contentDetails.playlists[] STRING |
etag STRING Etag of this resource |
id STRING The ID that YouTube uses to uniquely identify the channel section |
kind STRING Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection" |
localizations OBJECT Localizations for different languages |
localizations.customKey OBJECT Add additional named properties |
localizations.customKey.title STRING The localized strings for channel section's title |
snippet OBJECT Basic details about a channel section, including title, style and position |
snippet.channelId STRING The ID that YouTube uses to uniquely identify the channel that published the channel section |
snippet.defaultLanguage STRING The language of the channel section's default title and description |
snippet.localized OBJECT ChannelSection localization setting |
snippet.localized.title STRING The localized strings for channel section's title |
snippet.position INTEGER The position of the channel section in the channel |
snippet.style ENUMERATION The style of the channel section |
snippet.title STRING The channel section's title for multiple_playlists and multiple_channels |
snippet.type ENUMERATION The type of the channel section |
targeting OBJECT ChannelSection targeting setting |
targeting.countries[] STRING |
targeting.languages[] STRING |
targeting.regions[] STRING |