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

CampaignFlight

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

Settings that track the planned spend and duration of a campaign.

interface CampaignFlight {
plannedDates?: DateRange;
plannedSpendAmountMicros?: bigint;
}

§Properties

§
plannedDates?: DateRange
[src]

Required. The dates that the campaign is expected to run. They are resolved relative to the parent advertiser's time zone. * The dates specified here will not affect serving. They are used to generate alerts and warnings. For example, if the flight date of any child insertion order is outside the range of these dates, the user interface will show a warning. * start_date is required and must be the current date or later.

  • end_date is optional. If specified, it must be the start_date or later. * Any specified date must be before the year 2037.
§
plannedSpendAmountMicros?: bigint
[src]

The amount the campaign is expected to spend for its given planned_dates. This will not limit serving, but will be used for tracking spend in the DV360 UI. The amount is in micros. Must be greater than or equal to 0. For example, 500000000 represents 500 standard units of the currency.