Method: monetization.convertRegionPrices

Calculates the region prices, using today's exchange rate and country-specific pricing patterns, based on the price in the request for a set of regions.

HTTP request

POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/pricing:convertRegionPrices

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Required. The app package name.

Request body

The request body contains data with the following structure:

JSON representation
{
  "price": {
    object (Money)
  }
}
Fields
price

object (Money)

The intital price to convert other regions from. Tax exclusive.

Response body

Response message for monetization.convertRegionPrices.

If successful, the response body contains data with the following structure:

JSON representation
{
  "convertedRegionPrices": {
    string: {
      object (ConvertedRegionPrice)
    },
    ...
  },
  "convertedOtherRegionsPrice": {
    object (ConvertedOtherRegionsPrice)
  }
}
Fields
convertedRegionPrices

map (key: string, value: object (ConvertedRegionPrice))

Map from region code to converted region price.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

convertedOtherRegionsPrice

object (ConvertedOtherRegionsPrice)

Converted other regions prices in USD and EUR, to use for countries where Play doesn't support a country's local currency.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidpublisher

ConvertedRegionPrice

A converted region price.

JSON representation
{
  "regionCode": string,
  "price": {
    object (Money)
  },
  "taxAmount": {
    object (Money)
  }
}
Fields
regionCode

string

The region code of the region.

price

object (Money)

The converted price tax inclusive.

taxAmount

object (Money)

The tax amount of the converted price.

ConvertedOtherRegionsPrice

Converted other regions prices.

JSON representation
{
  "usdPrice": {
    object (Money)
  },
  "eurPrice": {
    object (Money)
  }
}
Fields
usdPrice

object (Money)

Price in USD to use for the "Other regions" location exclusive of taxes.

eurPrice

object (Money)

Price in EUR to use for the "Other regions" location exclusive of taxes.