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

CreativeRotation

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

Creative Rotation.

interface CreativeRotation {
creativeAssignments?: CreativeAssignment[];
creativeOptimizationConfigurationId?: bigint;
type?: "CREATIVE_ROTATION_TYPE_SEQUENTIAL" | "CREATIVE_ROTATION_TYPE_RANDOM";
weightCalculationStrategy?:
| "WEIGHT_STRATEGY_EQUAL"
| "WEIGHT_STRATEGY_CUSTOM"
| "WEIGHT_STRATEGY_HIGHEST_CTR"
| "WEIGHT_STRATEGY_OPTIMIZED";
}

§Properties

§
creativeAssignments?: CreativeAssignment[]
[src]

Creative assignments in this creative rotation.

§
creativeOptimizationConfigurationId?: bigint
[src]

Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad.

§
type?: "CREATIVE_ROTATION_TYPE_SEQUENTIAL" | "CREATIVE_ROTATION_TYPE_RANDOM"
[src]

Type of creative rotation. Can be used to specify whether to use sequential or random rotation.

§
weightCalculationStrategy?: "WEIGHT_STRATEGY_EQUAL" | "WEIGHT_STRATEGY_CUSTOM" | "WEIGHT_STRATEGY_HIGHEST_CTR" | "WEIGHT_STRATEGY_OPTIMIZED"
[src]

Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.