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:
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.
|
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 2024-12-17 UTC.
[null,null,["Last updated 2024-12-17 UTC."],[[["This endpoint calculates region prices using current exchange rates and country-specific pricing patterns."],["The request requires an initial price and the application's package name."],["The response provides converted prices for specified regions, including tax information and prices in USD/EUR for unsupported regions."],["It utilizes gRPC Transcoding for the URL structure and needs `https://www.googleapis.com/auth/androidpublisher` authorization scope."]]],["This API endpoint calculates regional prices for an app based on a provided initial price. It uses a `POST` request to `convertRegionPrices`, including the app's package name as a path parameter. The request body specifies an initial, tax-exclusive `price`. The response includes `convertedRegionPrices`, a map of region codes to converted prices, and `convertedOtherRegionsPrice`, containing USD and EUR prices for regions without local currency support. The process also involves handling tax and authorization via an OAuth scope.\n"]]