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 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 requirements for LineItem 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 LineItem types, such as sponsorship, standard, bulk, network, price priority, or house.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUNKNOWN\u003c/code\u003e is returned if the actual value is not exposed by the requested API version.\u003c/p\u003e\n"]]],["The document outlines `CostType` enumerations for billable `LineItem` actions within the Google Ad Manager API v202408. It details various cost models like CPA (read-only from February 22, 2024), CPC, CPD, CPM, VCPM, and CPM_IN_TARGET, specifying the required `LineItemType` for each. `LineItemType` options include SPONSORSHIP, STANDARD, BULK, NETWORK, PRICE_PRIORITY, and HOUSE. An UNKNOWN value is returned when the value isn't available in the requested API version. The namespace for this API version is also given.\n"],null,["# enum CostType (v202408)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202408/ForecastService.CostType) **LineItemService** **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202408/LineItemService.LineItemSummary) \n▼\n**CostType**\n\nDescribes the [LineItem](/ad-manager/api/reference/v202408/LineItemService.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/LineItemService.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/LineItemService.LineItem#lineItemType) must be one of: - [LineItemType.SPONSORSHIP](/ad-manager/api/reference/v202408/LineItemService.LineItemType#SPONSORSHIP) - [LineItemType.STANDARD](/ad-manager/api/reference/v202408/LineItemService.LineItemType#STANDARD) - [LineItemType.BULK](/ad-manager/api/reference/v202408/LineItemService.LineItemType#BULK) - [LineItemType.NETWORK](/ad-manager/api/reference/v202408/LineItemService.LineItemType#NETWORK) |\n| `CPC` | Cost per click. The [LineItem.lineItemType](/ad-manager/api/reference/v202408/LineItemService.LineItem#lineItemType) must be one of: - [LineItemType.SPONSORSHIP](/ad-manager/api/reference/v202408/LineItemService.LineItemType#SPONSORSHIP) - [LineItemType.STANDARD](/ad-manager/api/reference/v202408/LineItemService.LineItemType#STANDARD) - [LineItemType.BULK](/ad-manager/api/reference/v202408/LineItemService.LineItemType#BULK) - [LineItemType.NETWORK](/ad-manager/api/reference/v202408/LineItemService.LineItemType#NETWORK) - [LineItemType.PRICE_PRIORITY](/ad-manager/api/reference/v202408/LineItemService.LineItemType#PRICE_PRIORITY) - [LineItemType.HOUSE](/ad-manager/api/reference/v202408/LineItemService.LineItemType#HOUSE) |\n| `CPD` | Cost per day. The [LineItem.lineItemType](/ad-manager/api/reference/v202408/LineItemService.LineItem#lineItemType) must be one of: - [LineItemType.SPONSORSHIP](/ad-manager/api/reference/v202408/LineItemService.LineItemType#SPONSORSHIP) - [LineItemType.NETWORK](/ad-manager/api/reference/v202408/LineItemService.LineItemType#NETWORK) |\n| `CPM` | Cost per mille (cost per thousand impressions). The [LineItem.lineItemType](/ad-manager/api/reference/v202408/LineItemService.LineItem#lineItemType) must be one of: - [LineItemType.SPONSORSHIP](/ad-manager/api/reference/v202408/LineItemService.LineItemType#SPONSORSHIP) - [LineItemType.STANDARD](/ad-manager/api/reference/v202408/LineItemService.LineItemType#STANDARD) - [LineItemType.BULK](/ad-manager/api/reference/v202408/LineItemService.LineItemType#BULK) - [LineItemType.NETWORK](/ad-manager/api/reference/v202408/LineItemService.LineItemType#NETWORK) - [LineItemType.PRICE_PRIORITY](/ad-manager/api/reference/v202408/LineItemService.LineItemType#PRICE_PRIORITY) - [LineItemType.HOUSE](/ad-manager/api/reference/v202408/LineItemService.LineItemType#HOUSE) |\n| `VCPM` | Cost per thousand Active View viewable impressions. The [LineItem.lineItemType](/ad-manager/api/reference/v202408/LineItemService.LineItem#lineItemType) must be [LineItemType.STANDARD](/ad-manager/api/reference/v202408/LineItemService.LineItemType#STANDARD). |\n| `CPM_IN_TARGET` | Cost per thousand in-target impressions. The [LineItem.lineItemType](/ad-manager/api/reference/v202408/LineItemService.LineItem#lineItemType) must be [LineItemType.STANDARD](/ad-manager/api/reference/v202408/LineItemService.LineItemType#STANDARD). |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]