enum CostType (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Describes the LineItem actions that are billable.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eCostType\u003c/code\u003e describes the billable actions associated with a LineItem within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt includes various cost types like CPA, CPC, CPD, CPM, VCPM, and CPM_IN_TARGET, each with specific LineItem requirements.\u003c/p\u003e\n"],["\u003cp\u003eCPA will become read-only starting February 22, 2024, due to Spotlight deprecation.\u003c/p\u003e\n"],["\u003cp\u003eEach cost type is associated with specific allowed \u003ccode\u003eLineItemType\u003c/code\u003e values, dictating the type of line item it can be used with.\u003c/p\u003e\n"]]],["The `CostType` enumeration in the `ForecastService` defines billable actions for `LineItem` in Google Ad Manager API v202411. It includes types like CPA, CPC, CPD, CPM, VCPM, and CPM_IN_TARGET. Each type specifies the action that triggers billing and lists the compatible `LineItemType` values. CPA will be read-only after February 22, 2024, due to Spotlight deprecation. `UNKNOWN` indicates an unexposed value. The namespace for these definitions is provided.\n"],null,["# enum CostType (v202411)\n\n**Service** \n**ForecastService** [LineItemService](/ad-manager/api/reference/v202411/LineItemService.CostType) **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202411/ForecastService.LineItemSummary) \n▼\n**CostType**\n\nDescribes the [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem) actions that are billable.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `CPA` | Starting February 22, 2024 the CPA [CostType](/ad-manager/api/reference/v202411/ForecastService.CostType) will be read only as part of Spotlight deprecation, [learn more](https://support.google.com/admanager/answer/7519021#spotlight). Cost per action. The [LineItem.lineItemType](/ad-manager/api/reference/v202411/ForecastService.LineItem#lineItemType) must be one of: - [LineItemType.SPONSORSHIP](/ad-manager/api/reference/v202411/ForecastService.LineItemType#SPONSORSHIP) - [LineItemType.STANDARD](/ad-manager/api/reference/v202411/ForecastService.LineItemType#STANDARD) - [LineItemType.BULK](/ad-manager/api/reference/v202411/ForecastService.LineItemType#BULK) - [LineItemType.NETWORK](/ad-manager/api/reference/v202411/ForecastService.LineItemType#NETWORK) |\n| `CPC` | Cost per click. The [LineItem.lineItemType](/ad-manager/api/reference/v202411/ForecastService.LineItem#lineItemType) must be one of: - [LineItemType.SPONSORSHIP](/ad-manager/api/reference/v202411/ForecastService.LineItemType#SPONSORSHIP) - [LineItemType.STANDARD](/ad-manager/api/reference/v202411/ForecastService.LineItemType#STANDARD) - [LineItemType.BULK](/ad-manager/api/reference/v202411/ForecastService.LineItemType#BULK) - [LineItemType.NETWORK](/ad-manager/api/reference/v202411/ForecastService.LineItemType#NETWORK) - [LineItemType.PRICE_PRIORITY](/ad-manager/api/reference/v202411/ForecastService.LineItemType#PRICE_PRIORITY) - [LineItemType.HOUSE](/ad-manager/api/reference/v202411/ForecastService.LineItemType#HOUSE) |\n| `CPD` | Cost per day. The [LineItem.lineItemType](/ad-manager/api/reference/v202411/ForecastService.LineItem#lineItemType) must be one of: - [LineItemType.SPONSORSHIP](/ad-manager/api/reference/v202411/ForecastService.LineItemType#SPONSORSHIP) - [LineItemType.NETWORK](/ad-manager/api/reference/v202411/ForecastService.LineItemType#NETWORK) |\n| `CPM` | Cost per mille (cost per thousand impressions). The [LineItem.lineItemType](/ad-manager/api/reference/v202411/ForecastService.LineItem#lineItemType) must be one of: - [LineItemType.SPONSORSHIP](/ad-manager/api/reference/v202411/ForecastService.LineItemType#SPONSORSHIP) - [LineItemType.STANDARD](/ad-manager/api/reference/v202411/ForecastService.LineItemType#STANDARD) - [LineItemType.BULK](/ad-manager/api/reference/v202411/ForecastService.LineItemType#BULK) - [LineItemType.NETWORK](/ad-manager/api/reference/v202411/ForecastService.LineItemType#NETWORK) - [LineItemType.PRICE_PRIORITY](/ad-manager/api/reference/v202411/ForecastService.LineItemType#PRICE_PRIORITY) - [LineItemType.HOUSE](/ad-manager/api/reference/v202411/ForecastService.LineItemType#HOUSE) |\n| `VCPM` | Cost per thousand Active View viewable impressions. The [LineItem.lineItemType](/ad-manager/api/reference/v202411/ForecastService.LineItem#lineItemType) must be [LineItemType.STANDARD](/ad-manager/api/reference/v202411/ForecastService.LineItemType#STANDARD). |\n| `CPM_IN_TARGET` | Cost per thousand in-target impressions. The [LineItem.lineItemType](/ad-manager/api/reference/v202411/ForecastService.LineItem#lineItemType) must be [LineItemType.STANDARD](/ad-manager/api/reference/v202411/ForecastService.LineItemType#STANDARD). |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]