Reference documentation and code samples for the Google Ads Ad Manager V1 Client class UnitType.
Indicates the type of unit used for defining a reservation. The LineItem.cost_type 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.
Protobuf type google.ads.admanager.v1.UnitTypeEnum.UnitType
Namespace
Google \ Ads \ AdManager \ V1 \ UnitTypeEnumMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
UNIT_TYPE_UNSPECIFIED
Value: 0Default value. This value is unused.
Generated from protobuf enum UNIT_TYPE_UNSPECIFIED = 0;
IMPRESSIONS
Value: 1The number of impressions served by creatives associated with the line item.
Generated from protobuf enum IMPRESSIONS = 1;
CLICKS
Value: 2The number of clicks reported by creatives associated with the line item.
The line item type must be one of:
- LineItemTypeEnum.LineItemType.STANDARD
- LineItemTypeEnum.LineItemType.BULK
- LineItemTypeEnum.LineItemType.PRICE_PRIORITY
Generated from protobuf enum CLICKS = 2;
CLICK_THROUGH_CPA_CONVERSIONS
Value: 3The 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.cost_type must be CostTypeEnum.CostType.CPA.
Generated from protobuf enum CLICK_THROUGH_CPA_CONVERSIONS = 3;
VIEW_THROUGH_CPA_CONVERSIONS
Value: 4The 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.cost_type must be [CostTypeEnum.CostType.CPA}.
Generated from protobuf enum VIEW_THROUGH_CPA_CONVERSIONS = 4;
TOTAL_CPA_CONVERSIONS
Value: 5The 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.cost_type} must be [CostTypeEnum.CostType.CPA}.
Generated from protobuf enum TOTAL_CPA_CONVERSIONS = 5;
VIEWABLE_IMPRESSIONS
Value: 6The number of viewable impressions reported by creatives associated with the line item. The LineItem.line_item_type must be LineItemTypeEnum.LineItemType.STANDARD.
Generated from protobuf enum VIEWABLE_IMPRESSIONS = 6;
IN_TARGET_IMPRESSIONS
Value: 7The number of in-target impressions reported by third party measurements.
The LineItem.line_item_type must be LineItemTypeEnum.LineItemType.STANDARD.
Generated from protobuf enum IN_TARGET_IMPRESSIONS = 7;