RateDetails

  • Rate details configuration includes rate type, rate, and units purchased count.

  • The rateType field is required and indicates the type of rate, such as CPM.

  • The rate field is required, must be a positive value, and is an object representing money.

  • The unitsPurchasedCount field is a string representing int64 and is required for reserved transaction type products.

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

Possible rate types.

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).