enum RateType (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Describes the type of event the advertiser is paying for. The values here correspond to the
values for the LineItem.costType field.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
CPM
|
The rate applies to cost per mille (CPM) revenue.
|
CPD
|
The rate applies to cost per day (CPD) revenue.
|
VCPM
|
The rate applies to Active View viewable cost per mille (vCPM) revenue.
|
CPM_IN_TARGET
|
The rate applies to cost per mille in-target (CPM In-Target).
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
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\u003eRateType\u003c/code\u003e defines how advertisers pay for events, mirroring the \u003ccode\u003eLineItem.costType\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eIt includes options like CPM, CPD, VCPM, CPM_IN_TARGET, and UNKNOWN for cases where the value isn't exposed in the API version.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this enumeration is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `RateType` enumeration defines the payment model for advertisers, aligning with the `LineItem.costType`. It includes `CPM` (cost per mille), `CPD` (cost per day), `VCPM` (viewable cost per mille), and `CPM_IN_TARGET` (cost per mille in-target). `UNKNOWN` is used when the specific rate is not exposed by the API version. This enumeration is used in the `ForecastService` which depends on the `ProposalLineItem`.\n"],null,["# enum RateType (v202411)\n\n**Service** \n**ForecastService** [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.RateType) **Dependencies** \n[ProposalLineItem](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem) \n▼\n**RateType**\n\nDescribes the type of event the advertiser is paying for. The values here correspond to the\nvalues for the [LineItem.costType](/ad-manager/api/reference/v202411/ForecastService.LineItem#costType) field.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|-----------------|-------------------------------------------------------------------------------------|\n| `CPM` | The rate applies to cost per mille (CPM) revenue. |\n| `CPD` | The rate applies to cost per day (CPD) revenue. |\n| `VCPM` | The rate applies to Active View viewable cost per mille (vCPM) revenue. |\n| `CPM_IN_TARGET` | The rate applies to cost per mille in-target (CPM In-Target). |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]