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

AdAsset

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

A single ad asset.

interface AdAsset {
readonly adAssetId?: bigint;
adAssetType?: "AD_ASSET_TYPE_UNSPECIFIED" | "AD_ASSET_TYPE_IMAGE" | "AD_ASSET_TYPE_YOUTUBE_VIDEO";
readonly entityStatus?:
| "ENTITY_STATUS_UNSPECIFIED"
| "ENTITY_STATUS_ACTIVE"
| "ENTITY_STATUS_ARCHIVED"
| "ENTITY_STATUS_DRAFT"
| "ENTITY_STATUS_PAUSED"
| "ENTITY_STATUS_SCHEDULED_FOR_DELETION";
name?: string;
youtubeVideoAsset?: YoutubeVideoAsset;
}

§Properties

§
readonly adAssetId?: bigint
[src]

Output only. The ID of the ad asset. Referred to as the asset ID when assigned to an ad.

§
adAssetType?: "AD_ASSET_TYPE_UNSPECIFIED" | "AD_ASSET_TYPE_IMAGE" | "AD_ASSET_TYPE_YOUTUBE_VIDEO"
[src]

Required. The type of the ad asset.

§
readonly entityStatus?: "ENTITY_STATUS_UNSPECIFIED" | "ENTITY_STATUS_ACTIVE" | "ENTITY_STATUS_ARCHIVED" | "ENTITY_STATUS_DRAFT" | "ENTITY_STATUS_PAUSED" | "ENTITY_STATUS_SCHEDULED_FOR_DELETION"
[src]

Output only. The entity status of the ad asset.

§
name?: string
[src]

Identifier. The resource name of the ad asset.

§
youtubeVideoAsset?: YoutubeVideoAsset
[src]

Youtube video asset data.