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

YoutubeAndPartnersSettings

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

Settings for YouTube and Partners line items.

interface YoutubeAndPartnersSettings {
contentCategory?:
| "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED"
| "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD"
| "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED"
| "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_LIMITED";
readonly effectiveContentCategory?:
| "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED"
| "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD"
| "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED"
| "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_LIMITED";
inventorySourceSettings?: YoutubeAndPartnersInventorySourceConfig;
leadFormId?: bigint;
linkedMerchantId?: bigint;
relatedVideoIds?: string[];
targetFrequency?: TargetFrequency;
thirdPartyMeasurementConfigs?: ThirdPartyMeasurementConfigs;
videoAdSequenceSettings?: VideoAdSequenceSettings;
viewFrequencyCap?: FrequencyCap;
}

§Properties

§
contentCategory?: "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED" | "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD" | "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED" | "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_LIMITED"
[src]

The kind of content on which the YouTube and Partners ads will be shown.

§
readonly effectiveContentCategory?: "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED" | "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD" | "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED" | "YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_LIMITED"
[src]

Output only. The content category which takes effect when serving the line item. When content category is set in both line item and advertiser, the stricter one will take effect when serving the line item.

§

Settings that control what YouTube and Partners inventories the line item will target.

§
leadFormId?: bigint
[src]

Optional. The ID of the form to generate leads.

§
linkedMerchantId?: bigint
[src]

Optional. The ID of the merchant which is linked to the line item for product feed.

§
relatedVideoIds?: string[]
[src]

Optional. The IDs of the videos appear below the primary video ad when the ad is playing in the YouTube app on mobile devices.

§
targetFrequency?: TargetFrequency
[src]

Optional. The average number of times you want ads from this line item to show to the same person over a certain period of time.

§
thirdPartyMeasurementConfigs?: ThirdPartyMeasurementConfigs
[src]

Optional. The third-party measurement configs of the line item.

§
videoAdSequenceSettings?: VideoAdSequenceSettings
[src]

Optional. The settings related to VideoAdSequence.

§
viewFrequencyCap?: FrequencyCap
[src]

The view frequency cap settings of the line item. The max_views field in this settings object must be used if assigning a limited cap.