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

CreativeAssignment

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

Creative Assignment.

interface CreativeAssignment {
active?: boolean;
applyEventTags?: boolean;
clickThroughUrl?: ClickThroughUrl;
companionCreativeOverrides?: CompanionClickThroughOverride[];
creativeGroupAssignments?: CreativeGroupAssignment[];
creativeId?: bigint;
creativeIdDimensionValue?: DimensionValue;
endTime?: Date;
richMediaExitOverrides?: RichMediaExitOverride[];
sequence?: number;
sslCompliant?: boolean;
startTime?: Date;
weight?: number;
}

§Properties

§
active?: boolean
[src]

Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.

§
applyEventTags?: boolean
[src]

Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.

§
clickThroughUrl?: ClickThroughUrl
[src]

Click-through URL of the creative assignment.

§
companionCreativeOverrides?: CompanionClickThroughOverride[]
[src]

Companion creative overrides for this creative assignment. Applicable to video ads.

§
creativeGroupAssignments?: CreativeGroupAssignment[]
[src]

Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.

§
creativeId?: bigint
[src]

ID of the creative to be assigned. This is a required field.

§
creativeIdDimensionValue?: DimensionValue
[src]

Dimension value for the ID of the creative. This is a read-only, auto-generated field.

§
endTime?: Date
[src]
§
richMediaExitOverrides?: RichMediaExitOverride[]
[src]

Rich media exit overrides for this creative assignment. Applicable when the creative type is any of the following: - DISPLAY - RICH_MEDIA_INPAGE - RICH_MEDIA_INPAGE_FLOATING - RICH_MEDIA_IM_EXPAND - RICH_MEDIA_EXPANDING - RICH_MEDIA_INTERSTITIAL_FLOAT - RICH_MEDIA_MOBILE_IN_APP - RICH_MEDIA_MULTI_FLOATING - RICH_MEDIA_PEEL_DOWN - VPAID_LINEAR - VPAID_NON_LINEAR

§
sequence?: number
[src]

Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL. Acceptable values are 1 to 65535, inclusive.

§
sslCompliant?: boolean
[src]

Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.

§
startTime?: Date
[src]
§
weight?: number
[src]

Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM. Value must be greater than or equal to 1.