Method: monetization.subscriptions.basePlans.migratePrices
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ย้ายข้อมูลสมาชิกจากกลุ่มราคาเดิมอย่างน้อย 1 กลุ่มไปยังราคาปัจจุบัน คำขอดังกล่าวจะทำให้ Google Play แจ้งให้ผู้ติดตามที่ได้รับผลกระทบทราบ ระบบรองรับกลุ่มประชากรตามรุ่นราคาเดิมพร้อมกันได้สูงสุด 250 กลุ่มเท่านั้น
คำขอ HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:migratePrices
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
packageName |
string
ต้องระบุ ชื่อแพ็กเกจของแอปหลัก ต้องเท่ากับช่อง packageName ในทรัพยากรการสมัครใช้บริการ
|
productId |
string
ต้องระบุ รหัสของการสมัครใช้บริการที่จะอัปเดต ต้องเท่ากับช่อง productId ในทรัพยากรการสมัครใช้บริการ
|
basePlanId |
string
ต้องระบุ รหัสแพ็กเกจเริ่มต้นที่ไม่ซ้ำกันของแพ็กเกจเริ่มต้นที่จะอัปเดตราคา
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
ช่อง |
regionalPriceMigrations[] |
object (RegionalPriceMigrationConfig )
ต้องระบุ ราคาระดับภูมิภาคที่จะอัปเดต
|
regionsVersion |
object (RegionsVersion )
ต้องระบุ เวอร์ชันของภูมิภาคที่ใช้ได้สำหรับ regionalPriceMigrations
|
latencyTolerance |
enum (ProductUpdateLatencyTolerance )
ไม่บังคับ ความคลาดเคลื่อนของเวลาในการตอบสนองสำหรับการนำไปใช้งานการอัปเดตผลิตภัณฑ์นี้ ค่าเริ่มต้นคือคำนึงถึงความล่าช้า
|
เนื้อหาการตอบกลับ
หากดำเนินการสำเร็จ เนื้อหาการตอบกลับจะว่างเปล่า
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidpublisher
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-12-17 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-12-17 UTC"],[[["Migrates subscribers of one or more legacy price cohorts to the current subscription price, notifying affected subscribers via Google Play."],["Supports a maximum of 250 simultaneous legacy price cohorts for migration."],["Requires providing the package name, subscription ID, and base plan ID for the price migration."],["The request body specifies regional price updates, the regions version, and an optional latency tolerance for the update."],["Utilizes the `https://www.googleapis.com/auth/androidpublisher` authorization scope for access."]]],["This content describes the process of migrating subscribers from legacy price cohorts to the current price using the Google Play API. This involves sending a `POST` request to a specific endpoint with parameters like `packageName`, `productId`, and `basePlanId`. The request body requires `regionalPriceMigrations` and `regionsVersion`, with an optional `latencyTolerance` parameter. Successful requests result in an empty response, and require `androidpublisher` authorization scope. Google Play notifies the affected subscribers of changes, with a limit of 250 simultaneous legacy cohorts.\n"]]