Method: properties.audiences.archive
किसी प्रॉपर्टी पर ऑडियंस को संग्रहित करता है.
एचटीटीपी अनुरोध
POST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/audiences/*}:archive
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. फ़ॉर्मैट का उदाहरण: properties/1234/audiences/5678
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, तो रिस्पॉन्स बॉडी में खाली JSON ऑब्जेक्ट होता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/analytics.edit
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-01-14 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-01-14 (UTC) को अपडेट किया गया."],[[["Archives an Audience on a specified Google Analytics 4 property."],["Requires an empty request body and returns an empty response body upon successful completion."],["Utilizes the `POST` method with the URL format: `https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/audiences/*}:archive`, where `{name}` represents the property and audience IDs."],["Needs the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization."]]],["The core function is archiving an Audience on a property via a POST request to a specific URL: `https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/audiences/*}:archive`. The required `name` path parameter identifies the Audience to be archived (e.g., `properties/1234/audiences/5678`). The request body must be empty, and a successful response returns an empty JSON object. The `analytics.edit` OAuth scope is required for authorization.\n"]]