Method: monetization.convertRegionPrices
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
অঞ্চলগুলির একটি সেটের জন্য অনুরোধে মূল্যের উপর ভিত্তি করে, আজকের বিনিময় হার এবং দেশ-নির্দিষ্ট মূল্য নির্ধারণের ধরণগুলি ব্যবহার করে অঞ্চলের দামগুলি গণনা করে৷
HTTP অনুরোধ
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/pricing:convertRegionPrices
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
packageName | string প্রয়োজন। অ্যাপ প্যাকেজের নাম। |
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"price": {
object (Money )
}
} |
ক্ষেত্র |
---|
price | object ( Money ) অন্যান্য অঞ্চল থেকে রূপান্তর করার জন্য প্রাথমিক মূল্য৷ ট্যাক্স এক্সক্লুসিভ। |
প্রতিক্রিয়া শরীর
monetization.convertRegionPrices-এর জন্য প্রতিক্রিয়া বার্তা।
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
ক্ষেত্র |
---|
convertedRegionPrices | map (key: string, value: object ( ConvertedRegionPrice )) অঞ্চল কোড থেকে রূপান্তরিত অঞ্চল মূল্য মানচিত্র. "key": value জোড়া। উদাহরণ: { "name": "wrench", "mass": "1.3kg", "count": "3" } । |
convertedOtherRegionsPrice | object ( ConvertedOtherRegionsPrice ) অন্যান্য অঞ্চলের মূল্য USD এবং EUR-এ রূপান্তরিত করা হয়েছে, যেখানে Play কোনো দেশের স্থানীয় মুদ্রা সমর্থন করে না এমন দেশে ব্যবহার করতে। |
regionVersion | object ( RegionsVersion ) যে অঞ্চলের সংস্করণে দামগুলি তৈরি করা হয়েছিল৷ |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/androidpublisher
রূপান্তরিত অঞ্চল মূল্য
একটি রূপান্তরিত অঞ্চল মূল্য।
JSON প্রতিনিধিত্ব |
---|
{
"regionCode": string,
"price": {
object (Money )
},
"taxAmount": {
object (Money )
}
} |
ক্ষেত্র |
---|
regionCode | string অঞ্চলের অঞ্চল কোড। |
price | object ( Money ) রূপান্তরিত মূল্য ট্যাক্স সহ। |
taxAmount | object ( Money ) রূপান্তরিত মূল্যের করের পরিমাণ। |
রূপান্তরিত অন্যান্য অঞ্চলের মূল্য
অন্যান্য অঞ্চলের দাম রূপান্তরিত.
JSON প্রতিনিধিত্ব |
---|
{
"usdPrice": {
object (Money )
},
"eurPrice": {
object (Money )
}
} |
ক্ষেত্র |
---|
usdPrice | object ( Money ) ট্যাক্স ব্যতীত "অন্যান্য অঞ্চল" অবস্থানের জন্য ব্যবহার করার জন্য USD-এ মূল্য৷ |
eurPrice | object ( Money ) কর ব্যতীত "অন্যান্য অঞ্চল" অবস্থানের জন্য ব্যবহার করার জন্য মূল্য EUR-এ। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThis endpoint calculates region prices using current exchange rates and country-specific pricing patterns.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires an initial price and the application's package name.\u003c/p\u003e\n"],["\u003cp\u003eThe response provides converted prices for specified regions, including tax information and prices in USD/EUR for unsupported regions.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes gRPC Transcoding for the URL structure and needs \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e authorization scope.\u003c/p\u003e\n"]]],["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"],null,["# Method: monetization.convertRegionPrices\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ConvertRegionPricesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [ConvertedRegionPrice](#ConvertedRegionPrice)\n - [JSON representation](#ConvertedRegionPrice.SCHEMA_REPRESENTATION)\n- [ConvertedOtherRegionsPrice](#ConvertedOtherRegionsPrice)\n - [JSON representation](#ConvertedOtherRegionsPrice.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nCalculates 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.\n\n### HTTP request\n\n`POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/pricing:convertRegionPrices`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------|------------------------------------------|\n| `packageName` | `string` Required. The app package name. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------|\n| ``` { \"price\": { object (/android-publisher/api-ref/rest/v3/Money) } } ``` |\n\n| Fields ||\n|---------|--------------------------------------------------------------------------------------------------------------------------------|\n| `price` | `object (`[Money](/android-publisher/api-ref/rest/v3/Money)`)` The intital price to convert other regions from. Tax exclusive. |\n\n### Response body\n\nResponse message for monetization.convertRegionPrices.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"convertedRegionPrices\": { string: { object (/android-publisher/api-ref/rest/v3/monetization/convertRegionPrices#ConvertedRegionPrice) }, ... }, \"convertedOtherRegionsPrice\": { object (/android-publisher/api-ref/rest/v3/monetization/convertRegionPrices#ConvertedOtherRegionsPrice) }, \"regionVersion\": { object (/android-publisher/api-ref/rest/v3/RegionsVersion) } } ``` |\n\n| Fields ||\n|------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `convertedRegionPrices` | `map (key: string, value: object (`[ConvertedRegionPrice](/android-publisher/api-ref/rest/v3/monetization/convertRegionPrices#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\" }`. |\n| `convertedOtherRegionsPrice` | `object (`[ConvertedOtherRegionsPrice](/android-publisher/api-ref/rest/v3/monetization/convertRegionPrices#ConvertedOtherRegionsPrice)`)` Converted other regions prices in USD and EUR, to use for countries where Play doesn't support a country's local currency. |\n| `regionVersion` | `object (`[RegionsVersion](/android-publisher/api-ref/rest/v3/RegionsVersion)`)` The region version at which the prices were generated. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`\n\nConvertedRegionPrice\n--------------------\n\nA converted region price.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"regionCode\": string, \"price\": { object (/android-publisher/api-ref/rest/v3/Money) }, \"taxAmount\": { object (/android-publisher/api-ref/rest/v3/Money) } } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------------------------|\n| `regionCode` | `string` The region code of the region. |\n| `price` | `object (`[Money](/android-publisher/api-ref/rest/v3/Money)`)` The converted price tax inclusive. |\n| `taxAmount` | `object (`[Money](/android-publisher/api-ref/rest/v3/Money)`)` The tax amount of the converted price. |\n\nConvertedOtherRegionsPrice\n--------------------------\n\nConverted other regions prices.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"usdPrice\": { object (/android-publisher/api-ref/rest/v3/Money) }, \"eurPrice\": { object (/android-publisher/api-ref/rest/v3/Money) } } ``` |\n\n| Fields ||\n|------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| `usdPrice` | `object (`[Money](/android-publisher/api-ref/rest/v3/Money)`)` Price in USD to use for the \"Other regions\" location exclusive of taxes. |\n| `eurPrice` | `object (`[Money](/android-publisher/api-ref/rest/v3/Money)`)` Price in EUR to use for the \"Other regions\" location exclusive of taxes. |"]]