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 फ़ॉर्मैट के ट्रैकिंग आईडी के बजाय, इंटरनल प्रॉपर्टी आईडी का इस्तेमाल करता है. फ़ॉर्मैट: properties/{internalWebPropertyId} उदाहरण: properties/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-01-14 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-01-14 (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"]]