Method: advertisers.patch
עדכון של מפרסם קיים. הפונקציה מחזירה את המפרסם המעודכן אם הפעולה בוצעה בהצלחה.
בקשת HTTP
PATCH https://displayvideo.googleapis.com/v3/advertisers/{advertiser.advertiserId}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
advertiser.advertiserId |
string (int64 format)
פלט בלבד. המזהה הייחודי של המפרסם. המערכת מקצה את השם.
|
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
חובה. המסכה שקובע אילו שדות לעדכן. זוהי רשימה של שמות שדות מוגדרים במלואם, שמופרדים בפסיקים. דוגמה: "user.displayName,photo"
|
גוף הבקשה
גוף הבקשה מכיל מופע של Advertiser
.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של Advertiser
.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/display-video
מידע נוסף זמין בOAuth 2.0 Overview.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-02-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-02-25 (שעון UTC)."],[[["This operation updates an existing advertiser using an HTTP PATCH request to the specified URL."],["You need to provide the advertiser ID as a path parameter and specify the fields to update using the `updateMask` query parameter."],["The request body should contain the updated advertiser details as defined in the `Advertiser` resource."],["Upon success, the API returns the updated `Advertiser` resource."],["Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope."]]],["This describes updating an advertiser using a PATCH request to a specified URL. The request requires the advertiser's unique ID in the path and an `updateMask` in the query to indicate which fields to modify. The request body contains the updated `Advertiser` data. A successful response returns the modified `Advertiser`. The process requires OAuth scope authorization. The URL follows gRPC Transcoding syntax. The advertiser id is provided by the system.\n"]]