AI-generated Key Takeaways
-
UnitType indicates the type of unit used for defining a reservation, which can differ from the CostType.
-
UnitType has several possible enumeration values, including IMPRESSIONS, CLICKS, and various CPA conversions.
-
The supported LineItemTypes for CLICKS and VIEWABLE_IMPRESSIONS are limited to specific types like STANDARD, BULK, or PRICE_PRIORITY.
-
CPA conversion UnitTypes are only supported as secondary goals and require the CostType to be CPA.
-
The UNKNOWN UnitType is returned if the actual value is not exposed by the requested API version.
Indicates the type of unit used for defining a reservation. The CostType can differ from the UnitType - an ad can have an impression goal, but be billed by its click. Usually CostType and UnitType will refer to the same unit.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
| Enumeration | Description |
|---|---|
IMPRESSIONS
|
The number of impressions served by creatives associated with the line
item. Line items of all LineItemType support this UnitType.
|
CLICKS
|
The number of clicks reported by creatives associated with the line item. The LineItem.lineItemType must be LineItemType.STANDARD, LineItemType.BULK or LineItemType.PRICE_PRIORITY. |
CLICK_THROUGH_CPA_CONVERSIONS
|
The number of click-through Cost-Per-Action (CPA) conversions from creatives associated with the line item. This is only supported as secondary goal and the LineItem.costType must be CostType.CPA. |
VIEW_THROUGH_CPA_CONVERSIONS
|
The number of view-through Cost-Per-Action (CPA) conversions from creatives associated with the line item. This is only supported as secondary goal and the LineItem.costType must be CostType.CPA. |
TOTAL_CPA_CONVERSIONS
|
The number of total Cost-Per-Action (CPA) conversions from creatives associated with the line item. This is only supported as secondary goal and the LineItem.costType must be CostType.CPA. |
VIEWABLE_IMPRESSIONS
|
The number of viewable impressions reported by creatives associated with the line item. The LineItem.lineItemType must be LineItemType.STANDARD. |
IN_TARGET_IMPRESSIONS
|
The number of in-target impressions reported by third party measurements. The LineItem.lineItemType must be LineItemType.STANDARD. |
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version. |