כדאי לנסות את שרת ה-MCP ל-Google Analytics. אפשר להתקין מ-
GitHub, ולקרוא את
ההודעה לפרטים נוספים.
Method: properties.updateGoogleSignalsSettings
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
עדכון ההגדרות של Google Signals בנכס.
בקשת HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{googleSignalsSettings.name=properties/*/googleSignalsSettings}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
googleSignalsSettings.name |
string
פלט בלבד. שם המשאב של ההגדרה הזו. פורמט: properties/{property_id}/googleSignalsSettings דוגמה: "properties/1000/googleSignalsSettings"
|
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
חובה. רשימת השדות לעדכון. שמות השדות צריכים להיות באותיות רישיות (למשל, "field_to_update"). שדות שהושמטו לא יעודכנו. כדי להחליף את הישות כולה, צריך להשתמש בנתיב אחד עם המחרוזת "*" כדי להתאים לכל השדות. זוהי רשימה מופרדת בפסיקים של שמות מלאים של שדות. דוגמה: "user.displayName,photo"
|
גוף הבקשה
גוף הבקשה מכיל מופע של GoogleSignalsSettings
.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה מכיל מופע של GoogleSignalsSettings
.
היקפי הרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/analytics.edit
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["This page explains how to update Google Signals settings for a Google Analytics 4 property using the Google Analytics Admin API."],["The method uses an HTTP PATCH request to a specific endpoint with path and query parameters."],["Developers need to provide an updated GoogleSignalsSettings object in the request body and will receive an updated GoogleSignalsSettings object in the response if successful."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This outlines how to update Google Signals settings for a property using a PATCH request to the specified URL. The request includes a required `updateMask` query parameter to define fields for modification. The `googleSignalsSettings.name` path parameter is used to identify the setting. The request body carries the updated `GoogleSignalsSettings`, and the response mirrors this. Authorization requires the `analytics.edit` OAuth scope. This uses gRPC Transcoding syntax.\n"]]