MediaVideo

  • Encapsulates a video with fields providing information about its duration, YouTube ID, and advertising identifiers.

  • The ad_duration_millis field indicates the video's duration in milliseconds.

  • The youtube_video_id is the immutable YouTube video ID used to construct the streaming URL.

  • advertising_id_code and isci_code are output-only identifiers primarily used for television commercials.

Encapsulates a Video.

Fields

ad_duration_millis

int64

Output only. The duration of the Video in milliseconds.

youtube_video_id

string

Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix "https://www.youtube.com/watch?v=" to this ID will get the YouTube streaming URL for this video.

advertising_id_code

string

Output only. The Advertising Digital Identification code for this video, as defined by the American Association of Advertising Agencies, used mainly for television commercials.

isci_code

string

Output only. The Industry Standard Commercial Identifier code for this video, used mainly for television commercials.