Method: properties.fetchAutomatedGa4ConfigurationOptOut
אחזור סטטוס ההסכמה לביטול תהליך ההגדרה האוטומטי של GA4 לנכס UA. הערה: הפעולה הזו לא משפיעה על נכס GA4.
בקשת HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut
כתובת ה-URL משתמשת בתחביר של Transcoding של 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-01-14 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-14 (שעון 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"]]