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

Campaign

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

A single campaign.

interface Campaign {
readonly advertiserId?: bigint;
campaignBudgets?: CampaignBudget[];
campaignFlight?: CampaignFlight;
campaignGoal?: CampaignGoal;
readonly campaignId?: bigint;
displayName?: string;
entityStatus?:
| "ENTITY_STATUS_UNSPECIFIED"
| "ENTITY_STATUS_ACTIVE"
| "ENTITY_STATUS_ARCHIVED"
| "ENTITY_STATUS_DRAFT"
| "ENTITY_STATUS_PAUSED"
| "ENTITY_STATUS_SCHEDULED_FOR_DELETION";
frequencyCap?: FrequencyCap;
readonly name?: string;
readonly updateTime?: Date;
}

§Properties

§
readonly advertiserId?: bigint
[src]

Output only. The unique ID of the advertiser the campaign belongs to.

§
campaignBudgets?: CampaignBudget[]
[src]

The list of budgets available to this campaign. If this field is not set, the campaign uses an unlimited budget.

§
campaignFlight?: CampaignFlight
[src]

Required. The planned spend and duration of the campaign.

§
campaignGoal?: CampaignGoal
[src]

Required. The goal of the campaign.

§
readonly campaignId?: bigint
[src]

Output only. The unique ID of the campaign. Assigned by the system.

§
displayName?: string
[src]

Required. The display name of the campaign. Must be UTF-8 encoded with a maximum size of 240 bytes.

§
entityStatus?: "ENTITY_STATUS_UNSPECIFIED" | "ENTITY_STATUS_ACTIVE" | "ENTITY_STATUS_ARCHIVED" | "ENTITY_STATUS_DRAFT" | "ENTITY_STATUS_PAUSED" | "ENTITY_STATUS_SCHEDULED_FOR_DELETION"
[src]

Required. Controls whether or not the insertion orders under this campaign can spend their budgets and bid on inventory. * Accepted values are ENTITY_STATUS_ACTIVE, ENTITY_STATUS_ARCHIVED, and ENTITY_STATUS_PAUSED. * For CreateCampaign method, ENTITY_STATUS_ARCHIVED is not allowed.

§
frequencyCap?: FrequencyCap
[src]

Required. The frequency cap setting of the campaign.

§
readonly name?: string
[src]

Output only. The resource name of the campaign.

§
readonly updateTime?: Date
[src]

Output only. The timestamp when the campaign was last updated. Assigned by the system.