Method: inventorySources.patch

更新现有广告资源来源。如果更新成功,则返回更新后的广告资源来源。

HTTP 请求

PATCH https://displayvideo.googleapis.com/v1/inventorySources/{inventorySource.inventorySourceId}

网址采用 gRPC 转码语法。

路径参数

参数
inventorySource.inventorySourceId

string (int64 format)

仅供输出。广告资源来源的唯一 ID。由系统分配。

查询参数

参数
updateMask

string (FieldMask format)

必需。用于控制要更新的字段的掩码。

这是以逗号分隔的完全限定字段名称列表。示例:"user.displayName,photo"

联合参数 accessor。必填。

用于标识请求是在哪个 DV360 实体中发出的。accessor 只能是下列其中一项:

partnerId

string (int64 format)

发出请求的合作伙伴的 ID。

advertiserId

string (int64 format)

发出请求的广告客户的 ID。

请求正文

请求正文包含一个 InventorySource 实例。

响应正文

如果成功,则响应正文包含一个 InventorySource 实例。

授权范围

需要以下 OAuth 作用域:

  • https://www.googleapis.com/auth/display-video

有关详情,请参阅 OAuth 2.0 概览