YouTubeVideoAttributeMetadata

  • The metadata for a YouTube video attribute includes fields like thumbnail URL, video URL, views count, likes count, and comments count.

  • Additional video properties and the publish date are also included in the metadata.

  • The URLs for the thumbnail and video are prefixed with specific YouTube domains.

  • The counts for views, likes, and comments are represented as integer values.

  • Video properties can indicate characteristics such as whether the video is a short or a live stream.

Metadata for a YouTube video attribute.

Fields

thumbnail_url

string

The URL of the video thumbnail, prefixed by "https://img.youtube.com/".

video_url

string

The URL of the video, prefixed by "https://www.youtube.com/".

views_count

int64

The total number of views.

likes_count

int64

The total number of likes.

comments_count

int64

The total number of comments.

video_properties[]

YouTubeVideoProperty

The properties of this video (such as shorts, live stream).

publish_date

string

The date that the video was created. Formatted as "yyyy-mm-dd".