Enum UnitTypeEnum.UnitType (0.4.0)

public enum UnitTypeEnum.UnitType extends Enum<UnitTypeEnum.UnitType> implements ProtocolMessageEnum

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 enum google.ads.admanager.v1.UnitTypeEnum.UnitType

Implements

ProtocolMessageEnum

Static Fields

Name Description
CLICKS

The 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

CLICKS = 2;

CLICKS_VALUE

The 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

CLICKS = 2;

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

CLICK_THROUGH_CPA_CONVERSIONS = 3;

CLICK_THROUGH_CPA_CONVERSIONS_VALUE

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][].

CLICK_THROUGH_CPA_CONVERSIONS = 3;

IMPRESSIONS

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

IMPRESSIONS = 1;

IMPRESSIONS_VALUE

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

IMPRESSIONS = 1;

IN_TARGET_IMPRESSIONS

The number of in-target impressions reported by third party measurements. The LineItem.line_item_type must be LineItemTypeEnum.LineItemType.STANDARD.

IN_TARGET_IMPRESSIONS = 7;

IN_TARGET_IMPRESSIONS_VALUE

The number of in-target impressions reported by third party measurements. The LineItem.line_item_type must be LineItemTypeEnum.LineItemType.STANDARD.

IN_TARGET_IMPRESSIONS = 7;

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

TOTAL_CPA_CONVERSIONS = 5;

TOTAL_CPA_CONVERSIONS_VALUE

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}.

TOTAL_CPA_CONVERSIONS = 5;

UNIT_TYPE_UNSPECIFIED

Default value. This value is unused.

UNIT_TYPE_UNSPECIFIED = 0;

UNIT_TYPE_UNSPECIFIED_VALUE

Default value. This value is unused.

UNIT_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED
VIEWABLE_IMPRESSIONS

The number of viewable impressions reported by creatives associated with the line item. The LineItem.line_item_type must be LineItemTypeEnum.LineItemType.STANDARD.

VIEWABLE_IMPRESSIONS = 6;

VIEWABLE_IMPRESSIONS_VALUE

The number of viewable impressions reported by creatives associated with the line item. The LineItem.line_item_type must be LineItemTypeEnum.LineItemType.STANDARD.

VIEWABLE_IMPRESSIONS = 6;

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

VIEW_THROUGH_CPA_CONVERSIONS = 4;

VIEW_THROUGH_CPA_CONVERSIONS_VALUE

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}.

VIEW_THROUGH_CPA_CONVERSIONS = 4;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()