Method: monetization.subscriptions.basePlans.activate
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
बुनियादी प्लान चालू करता है. चालू होने के बाद, बुनियादी प्लान नए सदस्यों के लिए उपलब्ध हो जाएंगे.
एचटीटीपी अनुरोध
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:activate
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
packageName |
string
ज़रूरी है. चालू करने के लिए, बुनियादी प्लान का पैरंट ऐप्लिकेशन (पैकेज का नाम).
|
productId |
string
ज़रूरी है. जिस बुनियादी प्लान को चालू करना है उसकी पैरंट सदस्यता (आईडी).
|
basePlanId |
string
ज़रूरी है. चालू करने के लिए, बुनियादी प्लान का यूनीक आईडी.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में, नीचे दिए गए स्ट्रक्चर वाला डेटा होता है:
फ़ील्ड |
latencyTolerance |
enum (ProductUpdateLatencyTolerance )
ज़रूरी नहीं. इस प्रॉडक्ट के अपडेट को प्रोपेगेट होने में लगने वाला समय. डिफ़ॉल्ट रूप से, इंतज़ार का समय कम करने के लिए सेट होता है.
|
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में Subscription
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidpublisher
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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) को अपडेट किया गया."],[[["Activates a specified base plan, making it available to new subscribers within a parent subscription and app package."],["Requires a POST request to a specific endpoint, providing the package name, product ID, and base plan ID in the URL path."],["Optionally accepts a request body to define the latency tolerance for the product update propagation."],["Upon successful activation, the response returns details of the updated subscription."],["Requires authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document outlines how to activate a base plan for subscriptions via an HTTP POST request. The request targets a specific application (`packageName`), subscription (`productId`), and base plan (`basePlanId`). The request body can optionally include a `latencyTolerance` field, defaulting to latency-sensitive. Upon success, the response returns a `Subscription` instance. Authorization requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope. The URL structure utilizes gRPC Transcoding.\n"]]