Belirtilen mülk için kullanıcı verilerini toplama şartlarını kabul eder.
Bu onay işlemi, MeasurementProtocolSecret kaynakları oluşturulabilmesi için Google Analytics kullanıcı arayüzünden veya bu API üzerinden) tamamlanmalıdır.
HTTP isteği
POST https://analyticsadmin.googleapis.com/v1beta/{property=properties/*}:acknowledgeUserDataCollection
İstek gövdesi aşağıdaki yapıya sahip verileri içerir:
JSON gösterimi
{"acknowledgement": string}
Alanlar
acknowledgement
string
Zorunlu. Bu yöntemi çağıran kişinin, kullanıcı verilerini toplama şartlarını anladığını onaylar.
Bu alanda şu değer tam olmalıdır: "Verilerin toplanması ve işlenmesi (bu tür verilerin, Google Analytics'in sitemden ve/veya uygulama mülkümden topladığı ziyaret bilgileriyle ilişkilendirilmesi dahil) konusunda, son kullanıcılarıma gerekli gizlilik açıklamalarını yaptığımı ve onlardan izin aldığımı onaylıyorum."
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003eThis API endpoint acknowledges user data collection for a specified Google Analytics property.\u003c/p\u003e\n"],["\u003cp\u003eIt requires a specific acknowledgement phrase confirming the user's understanding of data collection terms.\u003c/p\u003e\n"],["\u003cp\u003eUsers need the \u003ccode\u003eanalytics.edit\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"],["\u003cp\u003eA successful request results in an empty response body.\u003c/p\u003e\n"],["\u003cp\u003eThe request body includes an \u003ccode\u003eacknowledgement\u003c/code\u003e field containing the required phrase.\u003c/p\u003e\n"]]],["This API endpoint `acknowledgeUserDataCollection` requires a POST HTTP request to acknowledge user data collection for a specified property. The request URL includes a required `property` path parameter. The request body needs a JSON object with an `acknowledgement` field. This field must contain a specific string confirming understanding of data collection terms. Successful requests return an empty response. Authorization requires the `analytics.edit` scope. The action of acknowledgment is required before creating MeasurementProtocolSecret resources.\n"],null,[]]