LineItem
import type { LineItem } from "https://googleapis.deno.dev/v1/displayvideo:v4.ts";
A single line item.
§Properties
Output only. The unique ID of the advertiser the line item belongs to.
Required. The bidding strategy of the line item.
Required. The budget allocation setting of the line item.
Output only. The unique ID of the campaign that the line item belongs to.
The conversion tracking setting of the line item. Warning: Starting April 1, 2025, the floodlight_activity_configs field will no longer be writable while a custom bidding algorithm is assigned to the line item. If you set this field and assign a custom bidding algorithm in the same request, the floodlight activities must match the ones used by the custom bidding algorithm. Read more about this announced change.
Required. The display name of the line item. Must be UTF-8 encoded with a maximum size of 240 bytes.
Required. Controls whether or not the line item can spend its budget and
bid on inventory. * For CreateLineItem method, only ENTITY_STATUS_DRAFT
is allowed. To activate a line item, use UpdateLineItem method and update
the status to ENTITY_STATUS_ACTIVE
after creation. * A line item cannot
be changed back to ENTITY_STATUS_DRAFT
status from any other status. * If
the line item's parent insertion order is not active, the line item can't
spend its budget even if its own status is ENTITY_STATUS_ACTIVE
.
Whether to exclude new exchanges from automatically being targeted by the line item. This field is false by default.
Required. The start and end time of the line item's flight.
Required. The impression frequency cap settings of the line item. The max_impressions field in this settings object must be used if assigning a limited cap.
Required. Immutable. The unique ID of the insertion order that the line item belongs to.
Integration details of the line item.
Output only. The unique ID of the line item. Assigned by the system.
Required. Immutable. The type of the line item.
The partner costs associated with the line item. If absent or empty in CreateLineItem method, the newly created line item will inherit partner costs from its parent insertion order.
Required. The partner revenue model setting of the line item.
Output only. The reservation type of the line item.
The optimized targeting settings of the line item. This config is only applicable for display, video, or audio line items that use automated bidding and positively target eligible audience lists.
Output only. The warning messages generated by the line item. These warnings do not block saving the line item, but some may block the line item from running.
Output only. Settings specific to YouTube and Partners line items.