כדאי לנסות את שרת ה-MCP ל-Google Analytics. אפשר להתקין מ-
GitHub, ולקרוא את
ההודעה לפרטים נוספים.
Method: properties.displayVideo360AdvertiserLinks.patch
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
עדכון של DisplayVideo360AdvertiserLink בנכס.
בקשת HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{displayVideo360AdvertiserLink.name=properties/*/displayVideo360AdvertiserLinks/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
displayVideo360AdvertiserLink.name |
string
פלט בלבד. שם המשאב של משאב DisplayVideo360AdvertiserLink זה. פורמט: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} הערה: linkId הוא לא מזהה המפרסם ב-Display & Video 360
|
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
חובה. רשימת השדות לעדכון. שדות שהושמטו לא יעודכנו. כדי להחליף את הישות כולה, צריך להשתמש בנתיב אחד עם המחרוזת "*" כדי להתאים לכל השדות. זוהי רשימה מופרדת בפסיקים של שמות מלאים של שדות. דוגמה: "user.displayName,photo"
|
גוף הבקשה
גוף הבקשה מכיל מופע של DisplayVideo360AdvertiserLink
.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה מכיל מופע של DisplayVideo360AdvertiserLink
.
היקפי הרשאות
נדרש היקף ההרשאות הבא של 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)."],[[["\u003cp\u003eUpdates a DisplayVideo360AdvertiserLink associated with a Google Analytics 4 property.\u003c/p\u003e\n"],["\u003cp\u003eIt uses an HTTP PATCH request with the specified URL structure including property and link IDs.\u003c/p\u003e\n"],["\u003cp\u003eRequires an update mask to specify the fields to be updated in the request body.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication is necessary using the \u003ccode\u003eanalytics.edit\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This describes updating a DisplayVideo360AdvertiserLink resource via a PATCH request to `https://analyticsadmin.googleapis.com/v1alpha/{displayVideo360AdvertiserLink.name=properties/*/displayVideo360AdvertiserLinks/*}`. The resource name, including `propertyId` and `linkId`, is specified in the path. The `updateMask` query parameter defines which fields to update. The request and response bodies utilize the `DisplayVideo360AdvertiserLink` resource. Authorization requires the `analytics.edit` scope.\n"],null,["# Method: properties.displayVideo360AdvertiserLinks.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates a DisplayVideo360AdvertiserLink on a property.\n\n### HTTP request\n\n`PATCH https://analyticsadmin.googleapis.com/v1alpha/{displayVideo360AdvertiserLink.name=properties/*/displayVideo360AdvertiserLinks/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `displayVideo360AdvertiserLink.name` | `string` Output only. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note: linkId is not the Display \\& Video 360 Advertiser ID |\n\n### Query parameters\n\n| Parameters ||\n|--------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string \"\\*\" to match all fields. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body contains an instance of [DisplayVideo360AdvertiserLink](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.displayVideo360AdvertiserLinks#DisplayVideo360AdvertiserLink).\n\n### Response body\n\nIf successful, the response body contains an instance of [DisplayVideo360AdvertiserLink](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.displayVideo360AdvertiserLinks#DisplayVideo360AdvertiserLink).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/analytics.edit`"]]