חובה. הנכס שעבורו צריך לאשר את איסוף נתוני המשתמשים.
גוף הבקשה
גוף הבקשה מכיל נתונים במבנה הבא:
ייצוג JSON
{"acknowledgement": string}
שדות
acknowledgement
string
חובה. אישור לכך שהמתקשר בשיטה הזו מבין את התנאים לאיסוף נתוני משתמשים.
השדה הזה חייב לכלול את הערך המדויק: "אני מאשר/ת שבנכס האתר ו/או האפליקציה שלי קיימות הודעות הגילוי הנאות והזכויות הדרושות בנושא פרטיות ושקיבלתי ממשתמשי הקצה את הסכמתם לאיסוף ולעיבוד של הנתונים שלהם, כולל שיוך הנתונים האלה לנתוני הביקורים שמערכת Google Analytics אוספת מהנכס הזה".
[[["התוכן קל להבנה","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-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,[]]