Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

YoutubeVideoDetails

import type { YoutubeVideoDetails } from "https://googleapis.deno.dev/v1/displayvideo:v4.ts";

Details of a YouTube video.

interface YoutubeVideoDetails {
readonly id?: string;
unavailableReason?: "VIDEO_UNAVAILABLE_REASON_UNSPECIFIED" | "VIDEO_UNAVAILABLE_REASON_PRIVATE" | "VIDEO_UNAVAILABLE_REASON_DELETED";
videoAssetId?: bigint;
}

§Properties

§
readonly id?: string
[src]

Output only. The YouTube video ID which can be searched on YouTube webpage.

§
unavailableReason?: "VIDEO_UNAVAILABLE_REASON_UNSPECIFIED" | "VIDEO_UNAVAILABLE_REASON_PRIVATE" | "VIDEO_UNAVAILABLE_REASON_DELETED"
[src]

The reason why the video data is not available.

§
videoAssetId?: bigint
[src]

Required. The YouTube video asset id. This is ad_asset.ad_asset_id.