REST Resource: spreadsheetTemplate

  • The SpreadsheetTemplate resource represents a spreadsheet template, containing details like status, type, name, and content.

  • A JSON representation outlines the structure of this resource with fields for status, template type, name, content, and kind.

  • You can retrieve a list of spreadsheet templates for a content owner using the available list method.

Resource: SpreadsheetTemplate

This resource represents a spreadsheet template for a content owner.

JSON representation
{
  "status": string,
  "templateType": string,
  "templateName": string,
  "templateContent": string,
  "kind": string
}
Fields
status

string

The template status.

Acceptable values are:

  • Error
  • No content owner
  • No permissions to use
  • No template type
  • Not supported language
  • Success
  • Unknown
  • Unknown template
templateType

string

The template type, indicating the metadata format of the spreadsheet.

Supported template formats include:

  • CSV_ART_TRACK
  • CSV_ASSET_UPDATE
  • CSV_AUDIO_LIBRARY
  • CSV_COMPOSITION_RIGHTSFLOW
  • CSV_CONTENT_RATING_UPDATE
  • CSV_CREATOR_MUSIC_PUB_SYNC_RIGHTS
  • CSV_EPISODE_AVOD
  • CSV_EPISODE_TVOD
  • CSV_EPISODE_UPDATE
  • CSV_GEN_AI_DECLARATION
  • CSV_HDR_VIDEO_VERSION_ADD
  • CSV_MOVIE_AVOD
  • CSV_MOVIE_TVOD
  • CSV_MOVIE_UPDATE
  • CSV_MUSIC_VIDEO
  • CSV_MUSIC_VIDEO_UPDATE
  • CSV_PLAYLIST_CREATE
  • CSV_PLAYLIST_UPDATE
  • CSV_SEASON
  • CSV_SHOW
  • CSV_SOUND_RECORDING
  • CSV_VIDEO_LOCALIZATION
  • CSV_VIDEO_REPLACEMENT
  • CSV_VIDEO_UPDATE
  • CSV_WEB_VIDEO
templateName

string

The template name.

templateContent

string

The template content.

kind

string

The type of the API resource. For spreadsheet template resources, the value is youtubePartner#spreadsheetTemplate.

Methods

list

Retrieves a list of spreadsheet templates for a content owner.