Method: inventorySourceGroups.patch
更新广告资源来源组。如果成功,则返回更新后的广告资源来源组。
HTTP 请求
PATCH https://displayvideo.googleapis.com/v3/inventorySourceGroups/{inventorySourceGroup.inventorySourceGroupId}
网址采用 gRPC 转码语法。
路径参数
参数 |
inventorySourceGroup.inventorySourceGroupId |
string (int64 format)
仅限输出。广告资源来源组的唯一 ID。由系统分配。
|
查询参数
参数 |
updateMask |
string (FieldMask format)
必需。用于控制要更新的字段的掩码。 这是完全限定字段名称的逗号分隔列表。示例:"user.displayName,photo" 。
|
联合参数 owner 。必需。用于标识拥有广告资源来源组的 DV360 实体。它可以是合作伙伴,也可以是广告客户。owner 只能是下列其中一项: |
partnerId |
string (int64 format)
拥有广告资源来源组的合作伙伴的 ID。 只有此合作伙伴拥有对此组的写入权限。
|
advertiserId |
string (int64 format)
拥有广告资源来源组的广告客户的 ID。 父级合作伙伴无权访问此组。
|
响应正文
如果成功,则响应正文包含一个 InventorySourceGroup
实例。
授权范围
需要以下 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。"],[[["Updates an existing inventory source group with the provided details using a PATCH request."],["Requires specifying the inventory source group ID in the path and the fields to update in the query parameter `updateMask`."],["Must identify the owning entity (partner or advertiser) using the `owner` query parameter."],["The request body should contain the updated `InventorySourceGroup` object, and a successful response will return the updated object."],["Authorization requires the `https://www.googleapis.com/auth/display-video` scope."]]],["This describes updating an inventory source group via a `PATCH` HTTP request to a specific URL. The request requires the inventory source group's unique ID as a path parameter. The `updateMask` and an `owner` which could be a `partnerId` or `advertiserId` need to be defined as query parameters. The updated group's data is sent in the request body and returned in the response body. This call requires the `display-video` authorization scope.\n"]]