Google Ads Ad Manager V1 Client - Class UnitType (0.6.0)

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 \ UnitTypeEnum

Methods

static::name

Parameter
Name
Description
value
mixed

static::value

Parameter
Name
Description
name
mixed

Constants

UNIT_TYPE_UNSPECIFIED

  Value: 0 
 

Default value. This value is unused.

Generated from protobuf enum UNIT_TYPE_UNSPECIFIED = 0;

IMPRESSIONS

  Value: 1 
 

The number of impressions served by creatives associated with the line item.

Generated from protobuf enum IMPRESSIONS = 1;

CLICKS

  Value: 2 
 

The number of clicks reported by creatives associated with the line item.

The line item type must be one of:

Generated from protobuf enum CLICKS = 2;

CLICK_THROUGH_CPA_CONVERSIONS

  Value: 3 
 

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.cost_type must be CostTypeEnum.CostType.CPA .

Generated from protobuf enum CLICK_THROUGH_CPA_CONVERSIONS = 3;

VIEW_THROUGH_CPA_CONVERSIONS

  Value: 4 
 

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.cost_type must be [CostTypeEnum.CostType.CPA}.

Generated from protobuf enum VIEW_THROUGH_CPA_CONVERSIONS = 4;

TOTAL_CPA_CONVERSIONS

  Value: 5 
 

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.cost_type} must be [CostTypeEnum.CostType.CPA}.

Generated from protobuf enum TOTAL_CPA_CONVERSIONS = 5;

VIEWABLE_IMPRESSIONS

  Value: 6 
 

The 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: 7 
 

The 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;

Design a Mobile Site
View Site in Mobile | Classic
Share by: