Method: inventorySourceGroups.assignedInventorySources.create

在广告资源来源和广告资源来源组之间创建分配关系。

HTTP 请求

POST https://displayvideo.googleapis.com/v1/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources

网址采用 gRPC 转码语法。

路径参数

参数
inventorySourceGroupId

string (int64 format)

必需。分配关系将分配到的广告资源来源组的 ID。

查询参数

参数
联合参数 owner。必需。用于标识拥有父级广告资源来源组的 DV360 实体。它可以是合作伙伴或广告客户。owner 只能是下列其中一项:
partnerId

string (int64 format)

拥有父级广告资源来源组的合作伙伴的 ID。

只有此合作伙伴对已分配的这个广告资源来源拥有写入权限。

advertiserId

string (int64 format)

拥有父级广告资源来源组的广告客户 ID。

父级合作伙伴将无权访问这个已分配的广告资源来源。

请求正文

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

响应正文

如果成功,响应正文将包含一个新创建的 AssignedInventorySource 实例。

授权范围

需要以下 OAuth 作用域:

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

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