LineItem is an advertiser's commitment to purchase a specific number of ad impressions, clicks, or time.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202405
Field |
|||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LineItemSummary (inherited)
|
|||||||||||||||||||||||
|
The ID of the Order to which the |
||||||||||||||||||||||
|
Uniquely identifies the |
||||||||||||||||||||||
|
The name of the line item. This attribute is required and has a maximum length of 255 characters. |
||||||||||||||||||||||
|
An identifier for the |
||||||||||||||||||||||
|
The name of the Order. This value is read-only. |
||||||||||||||||||||||
|
The date and time on which the |
||||||||||||||||||||||
|
Specifies whether to start serving to the Enumerations
|
||||||||||||||||||||||
|
The date and time on which the |
||||||||||||||||||||||
|
The number of days to allow a line item to deliver past its endDateTime. A maximum of 7 days is allowed. This is feature is only available for Ad Manager 360 accounts. |
||||||||||||||||||||||
|
Specifies whether or not the |
||||||||||||||||||||||
|
The strategy used for displaying multiple Creative objects that are associated with the
Enumerations
|
||||||||||||||||||||||
|
The strategy for delivering ads over the course of the line item's duration. This attribute is optional and defaults to DeliveryRateType.EVENLY or DeliveryRateType.FRONTLOADED depending on the network's configuration. Enumerations
|
||||||||||||||||||||||
|
Strategy for choosing forecasted traffic shapes to pace line items. This field is optional and defaults to DeliveryForecastSource.HISTORICAL. Enumerations
|
||||||||||||||||||||||
|
The curve that is used to pace the line item's delivery. This field is required if and only if the delivery forecast source is DeliveryForecastSource.CUSTOM_PACING_CURVE. |
||||||||||||||||||||||
|
The strategy for serving roadblocked creatives, i.e. instances where multiple creatives must be served together on a single web page. This attribute is optional and defaults to RoadblockingType.ONE_OR_MORE. Enumerations
|
||||||||||||||||||||||
|
The nature of the line item's creatives' skippability. This attribute is optional, only applicable for video line items, and defaults to SkippableAdType.NOT_SKIPPABLE. Enumerations
|
||||||||||||||||||||||
|
The set of frequency capping units for this |
||||||||||||||||||||||
|
Indicates the line item type of a The line item type determines the default priority of the line item. More information can be found on the Ad Manager Help Center. Enumerations
|
||||||||||||||||||||||
|
The priority for the line item. Valid values range from 1 to 16. This field is optional and defaults to the default priority of the LineItemType. The following table shows the default, minimum, and maximum priority values are for each line item type:
This field can only be edited by certain networks, otherwise a PermissionError will occur. |
||||||||||||||||||||||
|
The amount of money to spend per impression or click. This attribute is required for creating a
|
||||||||||||||||||||||
|
An amount to help the adserver rank inventory. LineItem.valueCostPerUnit artificially raises the value of inventory over the LineItem.costPerUnit but avoids raising the actual LineItem.costPerUnit. This attribute is optional and defaults to a Money object in the local currency with Money.microAmount 0. |
||||||||||||||||||||||
|
The method used for billing this Enumerations
|
||||||||||||||||||||||
|
The type of discount being applied to a Enumerations
|
||||||||||||||||||||||
|
The number here is either a percentage or an absolute value depending on the |
||||||||||||||||||||||
|
This attribute is only applicable for certain line item types and acts as an "FYI" or note, which does not impact adserving or other backend systems. For LineItemType.SPONSORSHIP line items, this represents the minimum quantity, which is a lifetime impression volume goal for reporting purposes only. For LineItemType.STANDARD line items, this represent the contracted
quantity, which is the number of units specified in the contract
the advertiser has bought for this |
||||||||||||||||||||||
|
Details about the creatives that are expected to serve through this |
||||||||||||||||||||||
|
This attribute is required and meaningful only if the LineItem.costType is |
||||||||||||||||||||||
|
The environment that the Enumerations
|
||||||||||||||||||||||
|
The set of Enumerations
|
||||||||||||||||||||||
|
The delivery option for companions. Setting this field is only meaningful if the following conditions are met:
This field is optional and defaults to CompanionDeliveryOption.OPTIONAL if the above conditions are met. In all other cases it defaults to CompanionDeliveryOption.UNKNOWN and is not meaningful. Enumerations
|
||||||||||||||||||||||
|
The flag indicates whether overbooking should be allowed when creating or updating reservations of line item types LineItemType.SPONSORSHIP and LineItemType.STANDARD. When true, operations on this line item will never trigger a ForecastError, which corresponds to an overbook warning in the UI. The default value is false. Note: this field will not persist on the line item itself, and the value will only affect the current request. |
||||||||||||||||||||||
|
The flag indicates whether the inventory check should be skipped when creating or updating a line item. The default value is false. Note: this field will not persist on the line item itself, and the value will only affect the current request. |
||||||||||||||||||||||
|
True to skip checks for warnings from rules applied to line items targeting inventory shared by a distributor partner for cross selling when performing an action on this line item. The default is false. |
||||||||||||||||||||||
|
The flag indicates whether inventory should be reserved when creating a line item of types LineItemType.SPONSORSHIP and LineItemType.STANDARD in an unapproved Order. The default value is false. |
||||||||||||||||||||||
|
Contains trafficking statistics for the line item. This attribute is readonly and is populated
by Google. This will be |
||||||||||||||||||||||
|
Indicates how well the line item has been performing. This
attribute is readonly and is populated by Google. This will be
|
||||||||||||||||||||||
|
Delivery data provides the number of clicks or impressions
delivered for a LineItem in the last 7 days. This attribute is readonly
and is populated by Google. This will be
|
||||||||||||||||||||||
|
The amount of money allocated to the |
||||||||||||||||||||||
|
The status of the Enumerations
|
||||||||||||||||||||||
|
Describes whether or not inventory has been reserved for the Enumerations
|
||||||||||||||||||||||
|
The archival status of the |
||||||||||||||||||||||
|
The web property code used for dynamic allocation line items. This web property is only required with line item types LineItemType.AD_EXCHANGE and LineItemType.ADSENSE. |
||||||||||||||||||||||
|
The set of labels applied directly to this line item. |
||||||||||||||||||||||
|
Contains the set of labels inherited from the order that contains this line item and the advertiser that owns the order. If a label has been negated, only the negated label is returned. This field is readonly and is assigned by Google. |
||||||||||||||||||||||
|
If a line item has a series of competitive exclusions on it, it could be blocked from serving
with line items from the same advertiser. Setting this to |
||||||||||||||||||||||
|
The application that last modified this line item. This attribute is read only and is assigned by Google. |
||||||||||||||||||||||
|
Provides any additional notes that may annotate the |
||||||||||||||||||||||
|
The Enumerations
|
||||||||||||||||||||||
|
The date and time this line item was last modified. |
||||||||||||||||||||||
|
This attribute may be |
||||||||||||||||||||||
|
The values of the custom fields associated with this line item. |
||||||||||||||||||||||
|
Indicates if a Creatives can be considered missing for several reasons including:
|
||||||||||||||||||||||
|
Indicates the ProgrammaticCreativeSource of the programmatic line item. This is a read-only field. Any changes must be made on the ProposalLineItem. Enumerations
|
||||||||||||||||||||||
|
|||||||||||||||||||||||
|
Designates this line item as intended for YT Kids app. If true, all creatives associated with this line item must be reviewed and approved. See the Ad Manager Help Center for more information. |
||||||||||||||||||||||
|
The max duration of a video creative associated with this
This attribute is only meaningful for video line items. For version v202011 and earlier, this attribute is optional and defaults to 0. For version v202102 and later, this attribute is required for video line items and must be greater than 0. |
||||||||||||||||||||||
|
The primary goal that this |
||||||||||||||||||||||
|
The secondary goals that this |
||||||||||||||||||||||
|
Contains the information for a line item which has a target GRP demographic. |
||||||||||||||||||||||
|
The deal information associated with this line item, if it is programmatic. |
||||||||||||||||||||||
|
Optional IDs of the Company that provide ad verification for this line item. Company.Type.VIEWABILITY_PROVIDER. |
||||||||||||||||||||||
|
Child content eligibility designation for this line item. This field is optional and defaults to ChildContentEligibility.DISALLOWED. Enumerations
|
||||||||||||||||||||||
|
Custom XML to be rendered in a custom VAST response at serving time. |
||||||||||||||||||||||
LineItem
|
|||||||||||||||||||||||
|
Contains the targeting criteria for the ad campaign. This attribute is required. |
||||||||||||||||||||||
|
A list of CreativeTargeting objects that can be used to specify creative level targeting for this line item. Creative level targeting is specified in a creative placeholder's CreativePlaceholder.targetingName field by referencing the creative targeting's name. It also needs to be re-specified in the LineItemCreativeAssociation.targetingName field when associating a line item with a creative that fits into that placeholder. |