RateDetails
Stay organized with collections
Save and categorize content based on your preferences.
The config for the rate details.
JSON representation |
{
"rateType": enum (RateType ),
"rate": {
object (Money )
},
"unitsPurchasedCount": string
} |
Fields |
rateType |
enum (RateType )
The rate type. Required.
|
rate |
object (Money )
The rate. Required. Must be positive value.
|
unitsPurchasedCount |
string (int64 format)
Required for reserved transaction type product. Not applicable for non-reserved transaction type product. Units purchased represent the number of billable units guaranteed by the seller.
|
RateType
Enums |
RATE_TYPE_UNSPECIFIED |
The rate type is not specified or is unknown in this version. Not valid input value. |
CPM |
The rate type is CPM(cost per mil billable units). |
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-02-12 UTC.
[[["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-02-12 UTC."],[[["RateDetails configures rate information, including type, value, and units purchased."],["It supports CPM (cost per mil billable units) as a rate type."],["The rate value must be positive and is required along with the rate type."],["`unitsPurchasedCount` is mandatory for reserved transactions, specifying the guaranteed billable units."]]],[]]