Hiermit werden die Bedingungen für die Erhebung von Nutzerdaten für die angegebene Property bestätigt.
Diese Bestätigung muss entweder über die Google Analytics-Benutzeroberfläche oder über diese API erfolgen, bevor MeasurementProtocolSecret-Ressourcen erstellt werden können.
HTTP-Anfrage
POST https://analyticsadmin.googleapis.com/v1alpha/{property=properties/*}:acknowledgeUserDataCollection
Erforderlich. Die Property, für die die Erhebung von Nutzerdaten bestätigt werden soll.
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung
{"acknowledgement": string}
Felder
acknowledgement
string
Erforderlich. Eine Bestätigung, dass der Aufrufer dieser Methode die Bedingungen für die Erhebung von Nutzerdaten versteht.
Dieses Feld muss den genauen Wert enthalten: „Ich bestätige, dass mir die Endnutzer die zur Erhebung und Verarbeitung ihrer Daten erforderlichen Datenschutzhinweise sowie die Rechte zur Offenlegung von Informationen erteilt haben. Dazu gehört auch die Verknüpfung solcher Daten mit den Besucherinformationen, die in Google Analytics auf meiner Website- und/oder App-Property erfasst werden.“
Antworttext
Wenn der Vorgang erfolgreich ist, ist der Antworttext leer.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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"]]