Method: customBiddingAlgorithms.scripts.create

创建新的自定义出价脚本。如果成功,则返回新创建的脚本。

HTTP 请求

POST https://displayvideo.googleapis.com/v3/customBiddingAlgorithms/{customBiddingAlgorithmId}/scripts

网址采用 gRPC 转码语法。

路径参数

参数
customBiddingAlgorithmId

string (int64 format)

必需。脚本所属自定义出价算法的 ID。

查询参数

参数
联合参数 owner。必需。标识拥有父级自定义出价算法的 DV360 实体。它可以是合作伙伴或广告客户。owner 只能是下列其中一项:
partnerId

string (int64 format)

拥有父级自定义出价算法的合作伙伴的 ID。

只有此合作伙伴拥有此自定义出价脚本的写入权限。

advertiserId

string (int64 format)

拥有父级自定义出价算法的广告客户 ID。

请求正文

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

响应正文

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

授权范围

需要以下 OAuth 作用域:

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

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