किसी UA प्रॉपर्टी के लिए, अपने-आप GA4 सेटअप करने की प्रोसेस से ऑप्ट आउट करने की स्थिति फ़ेच करता है. ध्यान दें: GA4 प्रॉपर्टी पर इसका कोई असर नहीं पड़ता है.
एचटीटीपी अनुरोध
POST https://analyticsadmin.googleapis.com/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut
अनुरोध के मुख्य हिस्से में, यहां दिए गए स्ट्रक्चर का डेटा शामिल होता है:
JSON के काेड में दिखाना
{"property": string}
फ़ील्ड
property
string
ज़रूरी है. ऑप्ट आउट का स्टेटस पाने के लिए UA प्रॉपर्टी. ध्यान दें कि यह अनुरोध, इंटरनल प्रॉपर्टी आईडी का इस्तेमाल करता है, न कि UA-XXXXXX-YY फ़ॉर्म के ट्रैकिंग आईडी का. फ़ॉर्मैट: प्रॉपर्टी/{internalWebप्रॉपर्टीId} उदाहरण: प्रॉपर्टी/1234
जवाब का मुख्य भाग
GA4 अपने-आप सेटअप होने की प्रोसेस से ऑप्ट आउट करने का स्टेटस फ़ेच करने के लिए रिस्पॉन्स मैसेज.
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
[[["समझने में आसान है","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"]],["आखिरी बार 2025-04-02 (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"]]