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

PricingSchedule

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

Pricing Schedule

interface PricingSchedule {
capCostOption?: "CAP_COST_NONE" | "CAP_COST_MONTHLY" | "CAP_COST_CUMULATIVE";
endDate?: Date;
flighted?: boolean;
floodlightActivityId?: bigint;
pricingPeriods?: PricingSchedulePricingPeriod[];
pricingType?:
| "PRICING_TYPE_CPM"
| "PRICING_TYPE_CPC"
| "PRICING_TYPE_CPA"
| "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
| "PRICING_TYPE_FLAT_RATE_CLICKS"
| "PRICING_TYPE_CPM_ACTIVEVIEW";
startDate?: Date;
testingStartDate?: Date;
}

§Properties

§
capCostOption?: "CAP_COST_NONE" | "CAP_COST_MONTHLY" | "CAP_COST_CUMULATIVE"
[src]

Placement cap cost option.

§
endDate?: Date
[src]
§
flighted?: boolean
[src]

Whether this placement is flighted. If true, pricing periods will be computed automatically.

§
floodlightActivityId?: bigint
[src]

Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.

§

Pricing periods for this placement.

§
pricingType?: "PRICING_TYPE_CPM" | "PRICING_TYPE_CPC" | "PRICING_TYPE_CPA" | "PRICING_TYPE_FLAT_RATE_IMPRESSIONS" | "PRICING_TYPE_FLAT_RATE_CLICKS" | "PRICING_TYPE_CPM_ACTIVEVIEW"
[src]

Placement pricing type. This field is required on insertion.

§
startDate?: Date
[src]
§
testingStartDate?: Date
[src]