Method: monetization.subscriptions.basePlans.migratePrices
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Aboneleri bir veya daha fazla eski fiyat grubundan mevcut fiyata taşır. İstekler, Google Play'in etkilenen aboneleri bilgilendirmesiyle sonuçlanır. Yalnızca 250'e kadar eşzamanlı eski fiyat grubu desteklenir.
HTTP isteği
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:migratePrices
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
packageName |
string
Zorunlu. Üst uygulamanın paket adı. Abonelik kaynağındaki packageName alanına eşit olmalıdır.
|
productId |
string
Zorunlu. Güncellenecek aboneliğin kimliği. Abonelik kaynağındaki productId alanına eşit olmalıdır.
|
basePlanId |
string
Zorunlu. Fiyatlarının güncelleneceği temel planın benzersiz temel plan kimliği.
|
İstek içeriği
İstek metni aşağıdaki yapıyla birlikte verileri içerir:
Alanlar |
regionalPriceMigrations[] |
object (RegionalPriceMigrationConfig )
Zorunlu. Güncellenecek bölgesel fiyatlar.
|
regionsVersion |
object (RegionsVersion )
Zorunlu. regionalPriceMigrations için kullanılan mevcut bölgelerin sürümü.
|
latencyTolerance |
enum (ProductUpdateLatencyTolerance )
İsteğe bağlı. Bu ürün güncellemesinin yayılması için gecikme toleransı. Varsayılan olarak gecikmeye duyarlı olarak ayarlanır.
|
Yanıt gövdesi
Başarılı olursa yanıt metni boş olur.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidpublisher
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-12-17 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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"]]