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

InsertionOrderBudget

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

Settings that control how insertion order budget is allocated.

interface InsertionOrderBudget {
automationType?:
| "INSERTION_ORDER_AUTOMATION_TYPE_UNSPECIFIED"
| "INSERTION_ORDER_AUTOMATION_TYPE_BUDGET"
| "INSERTION_ORDER_AUTOMATION_TYPE_NONE"
| "INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET";
budgetSegments?: InsertionOrderBudgetSegment[];
budgetUnit?: "BUDGET_UNIT_UNSPECIFIED" | "BUDGET_UNIT_CURRENCY" | "BUDGET_UNIT_IMPRESSIONS";
}

§Properties

§
automationType?: "INSERTION_ORDER_AUTOMATION_TYPE_UNSPECIFIED" | "INSERTION_ORDER_AUTOMATION_TYPE_BUDGET" | "INSERTION_ORDER_AUTOMATION_TYPE_NONE" | "INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET"
[src]

The type of automation used to manage bid and budget for the insertion order. If this field is unspecified in creation, the value defaults to INSERTION_ORDER_AUTOMATION_TYPE_NONE.

§

Required. The list of budget segments. Use a budget segment to specify a specific budget for a given period of time an insertion order is running.

§
budgetUnit?: "BUDGET_UNIT_UNSPECIFIED" | "BUDGET_UNIT_CURRENCY" | "BUDGET_UNIT_IMPRESSIONS"
[src]

Required. Immutable. The budget unit specifies whether the budget is currency based or impression based.