Method: partners.channels.patch
עדכון ערוץ. אם הפעולה בוצעה בהצלחה, הפונקציה מחזירה את הערוץ המעודכן.
בקשת HTTP
PATCH https://displayvideo.googleapis.com/v3/partners/{partnerId}/channels/{channel.channelId}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
channel.channelId |
string (int64 format)
פלט בלבד. המזהה הייחודי של הערוץ. המערכת מקצה את השם.
|
פרמטר האיחוד owner . חובה. מזהה את הישות ב-DV360 שבבעלותה הערוץ. הערך של owner יכול להיות רק אחת מהאפשרויות הבאות: |
partnerId |
string (int64 format)
המזהה של השותף שבבעלותו הערוץ שנוצר.
|
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
חובה. המסכה שקובע אילו שדות לעדכן. זוהי רשימה של שמות שדות מוגדרים במלואם, שמופרדים בפסיקים. דוגמה: "user.displayName,photo"
|
פרמטר האיחוד owner . חובה. מזהה את הישות ב-DV360 שבבעלותה הערוץ. הערך של owner יכול להיות רק אחת מהאפשרויות הבאות: |
advertiserId |
string (int64 format)
המזהה של המפרסם שבבעלותו הערוץ שנוצר.
|
גוף הבקשה
גוף הבקשה מכיל מופע של Channel
.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של Channel
.
היקפי הרשאה
נדרש היקף הרשאות 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 request updates an existing channel within Display & Video 360 and returns the updated channel data upon success."],["The request requires identification of the channel owner, which can be either a partner or an advertiser, along with the channel ID."],["You can specify fields to update using the `updateMask` parameter and provide the modified channel data in the request body."],["Authorization using the `https://www.googleapis.com/auth/display-video` scope is necessary for this request."]]],["This describes updating a channel using a PATCH request to a specified URL. The request requires path parameters `partnerId` and `channel.channelId`, as well as a required `owner` parameter which can be `partnerId`. The request also needs `updateMask` and `owner` as query parameters where `owner` can also be `advertiserId`. The request body contains a `Channel` instance. Upon success, the response body returns the updated `Channel`. It needs `display-video` OAuth scope.\n"]]