Method: partners.channels.patch
HTTP 请求
PATCH https://displayvideo.googleapis.com/v3/partners/{partnerId}/channels/{channel.channelId}
网址采用 gRPC 转码语法。
路径参数
参数 |
channel.channelId |
string (int64 format)
仅限输出。频道的唯一 ID。由系统分配。
|
联合参数 owner 。必需。用于标识频道的 DV360 实体。owner 只能是下列其中一项: |
partnerId |
string (int64 format)
拥有所创建频道的合作伙伴的 ID。
|
查询参数
参数 |
updateMask |
string (FieldMask format)
必需。用于控制要更新的字段的掩码。 这是完全限定字段名称的逗号分隔列表。示例:"user.displayName,photo" 。
|
联合参数 owner 。必需。用于标识频道的 DV360 实体。owner 只能是下列其中一项: |
advertiserId |
string (int64 format)
拥有所创建渠道的广告客户的 ID。
|
请求正文
请求正文包含一个 Channel
实例。
响应正文
如果成功,则响应正文包含一个 Channel
实例。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/display-video
如需了解详情,请参阅 OAuth 2.0 Overview。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-25。
[null,null,["最后更新时间 (UTC):2025-02-25。"],[[["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"]]