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

Asset

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

A single asset.

interface Asset {
content?: string;
mediaId?: bigint;
}

§Properties

§
content?: string
[src]

The asset content. For uploaded assets, the content is the serving path.

§
mediaId?: bigint
[src]

Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other API calls, e.g. CreateCreative to associate the asset with a creative. The Media ID space updated on April 5, 2023. Update media IDs cached before April 5, 2023 by retrieving the new media ID from associated creative resources or re-uploading the asset.