Method: properties.fetchAutomatedGa4ConfigurationOptOut
אחזור של סטטוס ביטול ההסכמה בתהליך ההגדרה האוטומטי של GA4 בנכס UA. הערה: לא תהיה לכך השפעה על נכס GA4.
בקשת HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
גוף הבקשה
גוף הבקשה מכיל נתונים במבנה הבא:
ייצוג JSON |
{
"property": string
} |
שדות |
property |
string
חובה. נכס UA כדי לקבל את סטטוס ביטול ההסכמה. לתשומת ליבכם: הבקשה הזו משתמשת במזהה הנכס הפנימי, ולא במזהה לצורכי המעקב בפורמט UA-XXXXXX-YY. פורמט: properties/{internalWebPropertyId} דוגמה: properties/1234
|
גוף התשובה
הודעת תשובה לגבי אחזור סטטוס ביטול ההסכמה בתהליך ההגדרה האוטומטי של GA4.
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל נתונים במבנה הבא:
ייצוג JSON |
{
"optOut": boolean
} |
שדות |
optOut |
boolean
סטטוס ביטול ההסכמה בנכס UA.
|
היקפי ההרשאות
נדרש אחד מהיקפי ההרשאות הבאים של OAuth:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-04-02 (שעון UTC).
[null,null,["עדכון אחרון: 2025-04-02 (שעון UTC)."],[[["Fetches the automated GA4 setup opt-out status for a Universal Analytics (UA) property, having no impact on GA4 properties."],["The request requires the internal property ID of the UA property, not the tracking ID."],["The response indicates whether the automated GA4 setup is opted out for the specified UA property."],["Requires authorization with either `analytics.readonly` or `analytics.edit` scope."]]],["The core action is to fetch the opt-out status of a UA property for the automated GA4 setup. This is done via a POST request to `https://analyticsadmin.googleapis.com/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut`. The request body requires a JSON object with the `property` field specifying the UA property's internal ID. The response body contains a JSON object with the `optOut` field indicating the property's opt-out status. Two authorization scopes are available:`analytics.readonly` or `analytics.edit`.\n"]]