Method: properties.acknowledgeUserDataCollection
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/v1alpha/{property=properties/*}:acknowledgeUserDataCollection
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
property |
string
Zorunlu. Kullanıcı verilerinin toplanmasının onaylanacağı mülk.
|
İstek içeriği
İ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."
|
Yanıt gövdesi
Başarılı olursa yanıt gövdesi boş olur.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/analytics.edit
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-09-08 UTC.
[null,null,["Son güncelleme tarihi: 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"]]