Insert

Adds a channelSection for the authenticated user's channel

25 variables
22 variables

Adds a channelSection for the authenticated user's channel

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 25 input parameters

  = 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

onBehalfOfContentOwnerChannel STRING

This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.

The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies.

This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel

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

  = 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