YouTubeVideoUpload

Represents a video upload to YouTube using the Google Ads API.

Proto definition GitHub

Fields

channel_id

string

Immutable. The destination YouTube channel ID for the video upload.

Only mutable on YouTube video upload creation. If omitted, the video will be uploaded to the Google-managed YouTube channel associated with the Ads account.

resource_name

string

Immutable. Resource name of the YouTube video upload.

state

YouTubeVideoUploadState

Output only. The current state of the YouTube video upload.

video_description

string

Input only. Immutable. The description of the video.

The video description must not exceed 5000 characters and must not contain invalid characters. It can be modified when creating the YouTube video upload, but is immutable after creation.

See the YouTube Help Center for more information: https://support.google.com/youtube/answer/57407

video_id

string

Output only. The YouTube video ID of the uploaded video.

video_privacy

YouTubeVideoPrivacy

The privacy state of the video.

Only mutable for videos uploaded to the advertiser owned (brand) YouTube channel. For videos uploaded to the Google-managed channels only UNLISTED privacy is allowed. Defaults to UNLISTED privacy if not specified.

video_title

string

Input only. Immutable. The title of the video.

The video title is required, must not exceed 100 characters, and must not contain invalid characters. It can be modified when creating the YouTube video upload, but is immutable after creation.

See the YouTube Help Center for more information: https://support.google.com/youtube/answer/57407

video_upload_id

int64

Output only. The unique ID of the YouTube video upload.