AI-generated Key Takeaways
-
The
Targeting
object contains criteria for LineItem objects and is defined within thehttps://www.google.com/apis/ads/publisher/v202411
namespace. -
Required targeting attributes include
inventoryTargeting
, which specifies the ad units or placements targeted by the LineItem. -
Optional targeting attributes allow for specifying geographical locations, days and times, dates and time ranges, browsing technologies, custom criteria, user domains, content categories and videos, video position types, mobile applications, URLs (for YieldGroup), verticals, and content labels.
-
Certain targeting attributes like
buyerUserListTargeting
are read-only, whilerequestPlatformTargeting
is required for video line items and ProposalLineItems and has varying modifiability depending on the LineItem type. -
Some targeting options, such as
inventoryUrlTargeting
andinventorySizeTargeting
, are currently supported only on specific entities like YieldGroup or TrafficDataRequest.
Contains targeting criteria for LineItem objects. See LineItem.targeting.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field |
|
---|---|
|
Specifies what geographical locations are targeted by the LineItem. This attribute is optional. |
|
Specifies what inventory is targeted by the LineItem. This attribute is required. The line item must target at least one ad unit or placement. |
|
Specifies the days of the week and times that are targeted by the LineItem. This attribute is optional. |
|
Specifies the dates and time ranges that are targeted by the LineItem. This attribute is optional. |
|
Specifies the browsing technologies that are targeted by the LineItem. This attribute is optional. |
|
Specifies the collection of custom criteria that is targeted by the LineItem. Once the LineItem is updated or modified with custom targeting, the server may return a normalized, but equivalent representation of the custom targeting expression.
The top level The second level of The third level can only comprise of CustomCriteria objects. The resulting custom targeting tree would be of the form: |
|
Specifies the domains or subdomains that are targeted or excluded by the LineItem. Users visiting from an IP address associated with those domains will be targeted or excluded. This attribute is optional. |
|
Specifies the video categories and individual videos targeted by the LineItem. |
|
Specifies targeting against video position types. |
|
Specifies targeting against mobile applications. |
|
Specifies whether buyer user lists are targeted on a programmatic LineItem or ProposalLineItem. This attribute is readonly and is populated by Google. |
|
Specifies the URLs that are targeted by the entity. This is currently only supported by YieldGroup. |
|
Specifies the verticals that are targeted by the entity. The IDs listed here correspond to the IDs in the AD_CATEGORY table of type VERTICAL. |
|
Specifies the content labels that are excluded by the entity. The IDs listed here correspond to the IDs in the CONTENT_LABEL table. |
|
Specifies the request platforms that are targeted by the LineItem. This attribute is required for video line items and for ProposalLineItem. This value is modifiable for video line items, but read-only for non-video line items. This value is read-only for video line items generated from proposal line items. |
|
Specifies the sizes that are targeted by the entity. This is currently only supported on YieldGroup and TrafficDataRequest. |