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

VideoMetadata

import type { VideoMetadata } from "https://googleapis.deno.dev/v1/realtimebidding:v1.ts";

Video metadata for a creative.

interface VideoMetadata {
duration?: number;
isValidVast?: boolean;
isVpaid?: boolean;
mediaFiles?: MediaFile[];
skipOffset?: number;
vastVersion?:
| "VAST_VERSION_UNSPECIFIED"
| "VAST_VERSION_1_0"
| "VAST_VERSION_2_0"
| "VAST_VERSION_3_0"
| "VAST_VERSION_4_0";
}

§Properties

§
duration?: number
[src]

The duration of the ad. Can be used to filter the response of the creatives.list method.

§
isValidVast?: boolean
[src]

Is this a valid VAST ad? Can be used to filter the response of the creatives.list method.

§
isVpaid?: boolean
[src]

Is this a VPAID ad? Can be used to filter the response of the creatives.list method.

§
mediaFiles?: MediaFile[]
[src]

The list of all media files declared in the VAST. If there are multiple VASTs in a wrapper chain, this includes the media files from the deepest one in the chain.

§
skipOffset?: number
[src]

The minimum duration that the user has to watch before being able to skip this ad. If the field is not set, the ad is not skippable. If the field is set, the ad is skippable. Can be used to filter the response of the creatives.list method.

§
vastVersion?: "VAST_VERSION_UNSPECIFIED" | "VAST_VERSION_1_0" | "VAST_VERSION_2_0" | "VAST_VERSION_3_0" | "VAST_VERSION_4_0"
[src]

The maximum VAST version across all wrapped VAST documents. Can be used to filter the response of the creatives.list method.