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/v202411
Enumeration
Description
IMPRESSIONS
The number of impressions served by creatives associated with the line
item. Line items of all LineItemType support this UnitType.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eUnitType\u003c/code\u003e within ProposalLineItemService indicates how a reservation is defined, typically by impressions, clicks, or conversions.\u003c/p\u003e\n"],["\u003cp\u003eWhile \u003ccode\u003eUnitType\u003c/code\u003e often aligns with how an ad is billed (\u003ccode\u003eCostType\u003c/code\u003e), they can differ (e.g., impression goal but billed by clicks).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUnitType\u003c/code\u003e options include impressions, clicks, various CPA conversions, viewable impressions, and in-target impressions, each with specific requirements and limitations.\u003c/p\u003e\n"],["\u003cp\u003eCertain \u003ccode\u003eUnitType\u003c/code\u003e options like CPA conversions are only supported as secondary goals and require specific \u003ccode\u003eCostType\u003c/code\u003e settings on the line item.\u003c/p\u003e\n"],["\u003cp\u003eLine item types like STANDARD, BULK, or PRICE_PRIORITY are often necessary for specific \u003ccode\u003eUnitType\u003c/code\u003e options to be valid.\u003c/p\u003e\n"]]],["The `UnitType` defines reservation units, which may differ from the `CostType`. It includes `IMPRESSIONS`, `CLICKS`, and various CPA conversions (click-through, view-through, total). Specific `LineItemType` restrictions apply to certain units, for example `CLICKS` must be `STANDARD`, `BULK`, or `PRICE_PRIORITY` `LineItemTypes`, and CPA conversions require a `CostType.CPA`. There is `VIEWABLE_IMPRESSIONS`, `IN_TARGET_IMPRESSIONS`, and a `UNKNOWN` type.\n"],null,["# enum UnitType (v202411)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202411/ForecastService.UnitType) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.UnitType) **ProposalLineItemService** **Dependencies** \n[Goal](/ad-manager/api/reference/v202411/ProposalLineItemService.Goal) \n▼\n**UnitType**\n\nIndicates the type of unit used for defining a reservation. The\n[CostType](/ad-manager/api/reference/v202411/ForecastService.CostType) can differ from the [UnitType](/ad-manager/api/reference/v202411/ProposalLineItemService.UnitType) - an\nad can have an impression goal, but be billed by its click. Usually\n[CostType](/ad-manager/api/reference/v202411/ForecastService.CostType) and [UnitType](/ad-manager/api/reference/v202411/ProposalLineItemService.UnitType) will refer to the\nsame unit.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `IMPRESSIONS` | The number of impressions served by creatives associated with the line item. Line items of all [LineItemType](/ad-manager/api/reference/v202411/ProposalLineItemService.LineItemType) support this `UnitType`. |\n| `CLICKS` | The number of clicks reported by creatives associated with the line item. The [LineItem.lineItemType](/ad-manager/api/reference/v202411/ForecastService.LineItem#lineItemType) must be [LineItemType.STANDARD](/ad-manager/api/reference/v202411/ProposalLineItemService.LineItemType#STANDARD), [LineItemType.BULK](/ad-manager/api/reference/v202411/ProposalLineItemService.LineItemType#BULK) or [LineItemType.PRICE_PRIORITY](/ad-manager/api/reference/v202411/ProposalLineItemService.LineItemType#PRICE_PRIORITY). |\n| `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](/ad-manager/api/reference/v202411/ForecastService.LineItem#costType) must be [CostType.CPA](/ad-manager/api/reference/v202411/ForecastService.CostType#CPA). |\n| `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](/ad-manager/api/reference/v202411/ForecastService.LineItem#costType) must be [CostType.CPA](/ad-manager/api/reference/v202411/ForecastService.CostType#CPA). |\n| `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](/ad-manager/api/reference/v202411/ForecastService.LineItem#costType) must be [CostType.CPA](/ad-manager/api/reference/v202411/ForecastService.CostType#CPA). |\n| `VIEWABLE_IMPRESSIONS` | The number of viewable impressions reported by creatives associated with the line item. The [LineItem.lineItemType](/ad-manager/api/reference/v202411/ForecastService.LineItem#lineItemType) must be [LineItemType.STANDARD](/ad-manager/api/reference/v202411/ProposalLineItemService.LineItemType#STANDARD). |\n| `IN_TARGET_IMPRESSIONS` | The number of in-target impressions reported by third party measurements. The [LineItem.lineItemType](/ad-manager/api/reference/v202411/ForecastService.LineItem#lineItemType) must be [LineItemType.STANDARD](/ad-manager/api/reference/v202411/ProposalLineItemService.LineItemType#STANDARD). |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]