- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- ConvertedRegionPrice
- ConvertedOtherRegionsPrice
- Try it!
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 | |
---|---|
package |
Required. The app package name. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"price": {
object ( |
Fields | |
---|---|
price |
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 ( |
Fields | |
---|---|
converted |
Map from region code to converted region price. An object containing a list of |
converted |
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 ( |
Fields | |
---|---|
region |
The region code of the region. |
price |
The converted price tax inclusive. |
tax |
The tax amount of the converted price. |
ConvertedOtherRegionsPrice
Converted other regions prices.
JSON representation |
---|
{ "usdPrice": { object ( |
Fields | |
---|---|
usd |
Price in USD to use for the "Other regions" location exclusive of taxes. |
eur |
Price in EUR to use for the "Other regions" location exclusive of taxes. |