Method: properties.setAutomatedGa4ConfigurationOptOut
यह UA प्रॉपर्टी के लिए, अपने-आप GA4 सेटअप करने की प्रोसेस के लिए, ऑप्ट आउट करने का स्टेटस सेट करता है. ध्यान दें: GA4 प्रॉपर्टी पर इसका कोई असर नहीं पड़ता है.
एचटीटीपी अनुरोध
POST https://analyticsadmin.googleapis.com/v1alpha/properties:setAutomatedGa4ConfigurationOptOut
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
अनुरोध का मुख्य भाग
अनुरोध के मुख्य हिस्से में, यहां दिए गए स्ट्रक्चर का डेटा शामिल होता है:
JSON के काेड में दिखाना |
{
"property": string,
"optOut": boolean
} |
फ़ील्ड |
property |
string
ज़रूरी है. ऑप्ट आउट का स्टेटस सेट करने के लिए UA प्रॉपर्टी. ध्यान दें कि यह अनुरोध, इंटरनल प्रॉपर्टी आईडी का इस्तेमाल करता है, न कि UA-XXXXXX-YY फ़ॉर्म के ट्रैकिंग आईडी का. फ़ॉर्मैट: प्रॉपर्टी/{internalWebप्रॉपर्टीId} उदाहरण: प्रॉपर्टी/1234
|
optOut |
boolean
सेट की जाने वाली स्थिति.
|
जवाब का मुख्य भाग
जवाब सही होने पर, जवाब का मुख्य हिस्सा खाली होता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/analytics.edit
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-04-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-04-02 (UTC) को अपडेट किया गया."],[[["This process sets the automated Google Analytics 4 setup opt-out status for a Universal Analytics property, having no effect on GA4 properties."],["The request requires specifying the Universal Analytics property ID and the desired opt-out status (true or false)."],["Successful requests will receive an empty response body."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details how to set the opt-out status for the automated GA4 setup process for a Universal Analytics (UA) property via a POST HTTP request. The request URL is `https://analyticsadmin.googleapis.com/v1alpha/properties:setAutomatedGa4ConfigurationOptOut`. The request body requires a JSON structure containing the UA property's internal ID and a boolean value (`optOut`) to set the opt-out status. A successful request returns an empty response body, and it requires `analytics.edit` authorization scope.\n"]]