enum CostType (v202408)
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/v202408
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 Line Item 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 requirements for Line Item types.\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 has limitations on the compatible \u003ccode\u003elineItemType\u003c/code\u003e for a given \u003ccode\u003eLineItem\u003c/code\u003e.\u003c/p\u003e\n"]]],["The document outlines `CostType` enumerations within the `ForecastService`'s `LineItemService`, which detail billable actions for line items. It lists CPA, CPC, CPD, CPM, VCPM, and CPM_IN_TARGET as cost types. Each type has specific requirements of which `LineItemType` it is associated to. CPA became read-only on February 22, 2024. The document also notes `UNKNOWN` for values not exposed by the API version.\n"],null,["# enum CostType (v202408)\n\n**Service** \n**ForecastService** [LineItemService](/ad-manager/api/reference/v202408/LineItemService.CostType) **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202408/ForecastService.LineItemSummary) \n▼\n**CostType**\n\nDescribes the [LineItem](/ad-manager/api/reference/v202408/ForecastService.LineItem) actions that are billable.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Enumeration | Description |\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `CPA` | Starting February 22, 2024 the CPA [CostType](/ad-manager/api/reference/v202408/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/v202408/ForecastService.LineItem#lineItemType) must be one of: - [LineItemType.SPONSORSHIP](/ad-manager/api/reference/v202408/ForecastService.LineItemType#SPONSORSHIP) - [LineItemType.STANDARD](/ad-manager/api/reference/v202408/ForecastService.LineItemType#STANDARD) - [LineItemType.BULK](/ad-manager/api/reference/v202408/ForecastService.LineItemType#BULK) - [LineItemType.NETWORK](/ad-manager/api/reference/v202408/ForecastService.LineItemType#NETWORK) |\n| `CPC` | Cost per click. The [LineItem.lineItemType](/ad-manager/api/reference/v202408/ForecastService.LineItem#lineItemType) must be one of: - [LineItemType.SPONSORSHIP](/ad-manager/api/reference/v202408/ForecastService.LineItemType#SPONSORSHIP) - [LineItemType.STANDARD](/ad-manager/api/reference/v202408/ForecastService.LineItemType#STANDARD) - [LineItemType.BULK](/ad-manager/api/reference/v202408/ForecastService.LineItemType#BULK) - [LineItemType.NETWORK](/ad-manager/api/reference/v202408/ForecastService.LineItemType#NETWORK) - [LineItemType.PRICE_PRIORITY](/ad-manager/api/reference/v202408/ForecastService.LineItemType#PRICE_PRIORITY) - [LineItemType.HOUSE](/ad-manager/api/reference/v202408/ForecastService.LineItemType#HOUSE) |\n| `CPD` | Cost per day. The [LineItem.lineItemType](/ad-manager/api/reference/v202408/ForecastService.LineItem#lineItemType) must be one of: - [LineItemType.SPONSORSHIP](/ad-manager/api/reference/v202408/ForecastService.LineItemType#SPONSORSHIP) - [LineItemType.NETWORK](/ad-manager/api/reference/v202408/ForecastService.LineItemType#NETWORK) |\n| `CPM` | Cost per mille (cost per thousand impressions). The [LineItem.lineItemType](/ad-manager/api/reference/v202408/ForecastService.LineItem#lineItemType) must be one of: - [LineItemType.SPONSORSHIP](/ad-manager/api/reference/v202408/ForecastService.LineItemType#SPONSORSHIP) - [LineItemType.STANDARD](/ad-manager/api/reference/v202408/ForecastService.LineItemType#STANDARD) - [LineItemType.BULK](/ad-manager/api/reference/v202408/ForecastService.LineItemType#BULK) - [LineItemType.NETWORK](/ad-manager/api/reference/v202408/ForecastService.LineItemType#NETWORK) - [LineItemType.PRICE_PRIORITY](/ad-manager/api/reference/v202408/ForecastService.LineItemType#PRICE_PRIORITY) - [LineItemType.HOUSE](/ad-manager/api/reference/v202408/ForecastService.LineItemType#HOUSE) |\n| `VCPM` | Cost per thousand Active View viewable impressions. The [LineItem.lineItemType](/ad-manager/api/reference/v202408/ForecastService.LineItem#lineItemType) must be [LineItemType.STANDARD](/ad-manager/api/reference/v202408/ForecastService.LineItemType#STANDARD). |\n| `CPM_IN_TARGET` | Cost per thousand in-target impressions. The [LineItem.lineItemType](/ad-manager/api/reference/v202408/ForecastService.LineItem#lineItemType) must be [LineItemType.STANDARD](/ad-manager/api/reference/v202408/ForecastService.LineItemType#STANDARD). |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]