Method: monetization.subscriptions.basePlans.migratePrices
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
העברת מנויים מקבוצת תמחור בעלת מאפיינים משותפים (cohort) אחת או יותר של מחירים קודמים למחיר הנוכחי. הבקשות האלה יגרמו לכך שמערכת Google Play תודיע למנויים שהושפעו. יש תמיכה בעד 250 קבוצות דמוגרפיות בו-זמנית של מחירים מדור קודם.
בקשת HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:migratePrices
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
packageName |
string
חובה. שם החבילה של אפליקציית ההורה. השם חייב להיות זהה לשדה packageName במשאב Subscription.
|
productId |
string
חובה. המזהה של המינוי שרוצים לעדכן. צריך להיות שווה לשדה productId במשאב Subscription.
|
basePlanId |
string
חובה. המזהה הייחודי של המינוי הבסיסי שבו רוצים לעדכן את המחירים.
|
גוף הבקשה
גוף הבקשה מכיל נתונים במבנה הבא:
שדות |
regionalPriceMigrations[] |
object (RegionalPriceMigrationConfig )
חובה. המחירים האזוריים שרוצים לעדכן.
|
regionsVersion |
object (RegionsVersion )
חובה. הגרסה של האזורים הזמינים שבהם נעשה שימוש ב-regionalPriceMigrations.
|
latencyTolerance |
enum (ProductUpdateLatencyTolerance )
זה שינוי אופציונלי. הזמן המרבי שאפשר להמתין עד להפצה של עדכון המוצר הזה. ברירת המחדל היא 'רגישות לזמן אחזור'.
|
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יהיה ריק.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/androidpublisher
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]