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

YoutubeAssetAssociation

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

An association between a resource and a YouTube asset.

interface YoutubeAssetAssociation {
name?: string;
youtubeAssetType?:
| "YOUTUBE_ASSET_TYPE_UNSPECIFIED"
| "YOUTUBE_ASSET_TYPE_LOCATION"
| "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION"
| "YOUTUBE_ASSET_TYPE_SITELINK";
}

§Properties

§

Required. The YouTube asset associated with the resource.

§
name?: string
[src]

Identifier. The resource name of the association. For line item-level associations: The name pattern is advertisers/{advertiser_id}/lineItems/{line_item_id}/youtubeAssetTypes/{youtube_asset_type}/youtubeAssetAssociations/{youtube_asset_association_id}. For ad group-level associations: The name pattern is advertisers/{advertiser_id}/adGroups/{ad_group_id}/youtubeAssetTypes/{youtube_asset_type}/youtubeAssetAssociations/{youtube_asset_association_id}. For YOUTUBE_ASSET_TYPE_LOCATION and YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION associations: youtube_asset_association_id is the ID of the asset set linked, or 0 if the location_matching_type or affiliate_location_matching_type is DISABLED. For YOUTUBE_ASSET_TYPE_SITELINK associations: youtube_asset_association_id is be the ID of the sitelink asset linked.

§
youtubeAssetType?: "YOUTUBE_ASSET_TYPE_UNSPECIFIED" | "YOUTUBE_ASSET_TYPE_LOCATION" | "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION" | "YOUTUBE_ASSET_TYPE_SITELINK"
[src]

Required. The type of YouTube asset associated with the resource.