Google Analytics के लिए, एमसीपी सर्वर आज़माएं. इसे
GitHub से इंस्टॉल करें. साथ ही, ज़्यादा जानकारी के लिए
सूचना देखें.
Method: properties.fetchAutomatedGa4ConfigurationOptOut
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी UA प्रॉपर्टी के लिए, अपने-आप GA4 सेटअप करने की प्रोसेस से ऑप्ट आउट करने की स्थिति फ़ेच करता है. ध्यान दें: GA4 प्रॉपर्टी पर इसका कोई असर नहीं पड़ता है.
एचटीटीपी अनुरोध
POST https://analyticsadmin.googleapis.com/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
अनुरोध का मुख्य भाग
अनुरोध के मुख्य हिस्से में, यहां दिए गए स्ट्रक्चर का डेटा शामिल होता है:
JSON के काेड में दिखाना |
{
"property": string
} |
फ़ील्ड |
property |
string
ज़रूरी है. ऑप्ट आउट का स्टेटस पाने के लिए UA प्रॉपर्टी. ध्यान दें कि यह अनुरोध, इंटरनल प्रॉपर्टी आईडी का इस्तेमाल करता है, न कि UA-XXXXXX-YY फ़ॉर्म के ट्रैकिंग आईडी का. फ़ॉर्मैट: प्रॉपर्टी/{internalWebप्रॉपर्टीId} उदाहरण: प्रॉपर्टी/1234
|
जवाब का मुख्य भाग
GA4 अपने-आप सेटअप होने की प्रोसेस से ऑप्ट आउट करने का स्टेटस फ़ेच करने के लिए रिस्पॉन्स मैसेज.
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
JSON के काेड में दिखाना |
{
"optOut": boolean
} |
फ़ील्ड |
optOut |
boolean
UA प्रॉपर्टी के लिए ऑप्ट आउट करने का स्टेटस.
|
अनुमति के दायरे
इनमें से किसी एक OAuth स्कोप की ज़रूरत होती है:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["Fetches the automated GA4 setup opt-out status for a Universal Analytics (UA) property, having no impact on GA4 properties."],["The request requires the internal property ID of the UA property, not the tracking ID."],["The response indicates whether the automated GA4 setup is opted out for the specified UA property."],["Requires authorization with either `analytics.readonly` or `analytics.edit` scope."]]],["The core action is to fetch the opt-out status of a UA property for the automated GA4 setup. This is done via a POST request to `https://analyticsadmin.googleapis.com/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut`. The request body requires a JSON object with the `property` field specifying the UA property's internal ID. The response body contains a JSON object with the `optOut` field indicating the property's opt-out status. Two authorization scopes are available:`analytics.readonly` or `analytics.edit`.\n"]]