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