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

Pricing

import type { Pricing } from "https://googleapis.deno.dev/v1/dfareporting:v4.ts";
interface Pricing {
capCostType?: "PLANNING_PLACEMENT_CAP_COST_TYPE_NONE" | "PLANNING_PLACEMENT_CAP_COST_TYPE_MONTHLY" | "PLANNING_PLACEMENT_CAP_COST_TYPE_CUMULATIVE";
endDate?: Date;
flights?: Flight[];
groupType?: "PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE" | "PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK";
pricingType?:
| "PLANNING_PLACEMENT_PRICING_TYPE_IMPRESSIONS"
| "PLANNING_PLACEMENT_PRICING_TYPE_CPM"
| "PLANNING_PLACEMENT_PRICING_TYPE_CLICKS"
| "PLANNING_PLACEMENT_PRICING_TYPE_CPC"
| "PLANNING_PLACEMENT_PRICING_TYPE_CPA"
| "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
| "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_CLICKS"
| "PLANNING_PLACEMENT_PRICING_TYPE_CPM_ACTIVEVIEW";
startDate?: Date;
}

§Properties

§
capCostType?: "PLANNING_PLACEMENT_CAP_COST_TYPE_NONE" | "PLANNING_PLACEMENT_CAP_COST_TYPE_MONTHLY" | "PLANNING_PLACEMENT_CAP_COST_TYPE_CUMULATIVE"
[src]

Cap cost type of this inventory item.

§
endDate?: Date
[src]
§
flights?: Flight[]
[src]

Flights of this inventory item. A flight (a.k.a. pricing period) represents the inventory item pricing information for a specific period of time.

§
groupType?: "PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE" | "PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK"
[src]

Group type of this inventory item if it represents a placement group. Is null otherwise. There are two type of placement groups: PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE is a simple group of inventory items that acts as a single pricing point for a group of tags. PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK is a group of inventory items that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned inventory items to be marked as primary.

§
pricingType?: "PLANNING_PLACEMENT_PRICING_TYPE_IMPRESSIONS" | "PLANNING_PLACEMENT_PRICING_TYPE_CPM" | "PLANNING_PLACEMENT_PRICING_TYPE_CLICKS" | "PLANNING_PLACEMENT_PRICING_TYPE_CPC" | "PLANNING_PLACEMENT_PRICING_TYPE_CPA" | "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_IMPRESSIONS" | "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_CLICKS" | "PLANNING_PLACEMENT_PRICING_TYPE_CPM_ACTIVEVIEW"
[src]

Pricing type of this inventory item.

§
startDate?: Date
[src]