Method: customers.productLinks.create

创建产品关联。

抛出的错误列表:AuthenticationError AuthorizationError DatabaseError FieldError HeaderError InternalError MutateError QuotaError RequestError

HTTP 请求

POST https://googleads.googleapis.com/v16/customers/{customerId}/productLinks:create

网址采用 gRPC 转码语法。

路径参数

参数
customerId

string

必需。为其创建产品关联的客户的 ID。

请求正文

请求正文中包含结构如下的数据:

JSON 表示法
{
  "productLink": {
    object (ProductLink)
  }
}
字段

响应正文

ProductLinkService.CreateProductLink 的响应消息。

如果成功,响应正文将包含结构如下的数据:

JSON 表示法
{
  "resourceName": string
}
字段
resourceName

string

如果操作成功,则返回此值。产品关联的资源名称。

授权范围

需要以下 OAuth 作用域:

  • https://www.googleapis.com/auth/adwords

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