बताई गई प्रॉपर्टी के लिए, उपयोगकर्ता का डेटा इकट्ठा करने की शर्तों को स्वीकार करता है.
यह सहमति Google Analytics यूज़र इंटरफ़ेस (यूआई) में या इस एपीआई के ज़रिए पूरी होनी चाहिए. इसके बाद ही, MeasurementProtocolSecret संसाधन बनाए जा सकते हैं.
एचटीटीपी अनुरोध
POST https://analyticsadmin.googleapis.com/v1alpha/{property=properties/*}:acknowledgeUserDataCollection
ज़रूरी है. वह प्रॉपर्टी जिसके लिए, उपयोगकर्ता के डेटा इकट्ठा किए जाने की पुष्टि करनी है.
अनुरोध का मुख्य भाग
अनुरोध के मुख्य हिस्से में, यहां दिए गए स्ट्रक्चर का डेटा शामिल होता है:
JSON के काेड में दिखाना
{"acknowledgement": string}
फ़ील्ड
acknowledgement
string
ज़रूरी है. यह स्वीकार करना कि इस तरीके का इस्तेमाल करने वाला कॉलर, उपयोगकर्ता का डेटा इकट्ठा करने की शर्तों को समझता है.
इस फ़ील्ड में सटीक वैल्यू होनी चाहिए: "मैं सहमत हूं कि मेरे असली उपयोगकर्ताओं ने उपयोगकर्ताओं के डेटा को इकट्ठा और प्रोसेस करने के लिए, मुझे निजता से जुड़े ज़रूरी अधिकार दिए हैं. इनमें मेरी वेबसाइट और/या ऐप्लिकेशन की प्रॉपर्टी से, वेबसाइट पर आने वाले लोगों की जानकारी में इस तरह के डेटा को जोड़ना भी शामिल है."
जवाब का मुख्य भाग
जवाब सही होने पर, जवाब का मुख्य हिस्सा खाली होता है.
[[["समझने में आसान है","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"]],["आखिरी बार 2024-09-08 (UTC) को अपडेट किया गया."],[[["This API endpoint is used to acknowledge the terms of user data collection for a specified Google Analytics property."],["Acknowledgement is required before creating MeasurementProtocolSecret resources and involves confirming understanding of data collection and user privacy."],["The request must include a specific acknowledgement phrase stating the user understands the implications of data collection and has necessary user consent."],["The API uses a POST request to a specific endpoint and includes the property ID in the path."],["Upon successful acknowledgement, the response body will be empty."]]],["The core content outlines the process for acknowledging user data collection terms via an API. A `POST` HTTP request to a specific URL is required, including the `property` path parameter. The request body must contain a JSON with the exact `acknowledgement` string confirming understanding of data collection terms. A successful request results in an empty response, requiring `analytics.edit` authorization scope. The acknowledgment must happen to allow resource creation.\n"]]