Method: customers.productLinks.remove

移除产品关联。

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

HTTP 请求

POST https://googleads.googleapis.com/v14/customers/{customerId}/productLinks:remove

网址采用 gRPC 转码语法。

路径参数

参数
customerId

string

必需。要修改的客户的 ID。

请求正文

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

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

string

必需。移除操作:要移除的商品关联的资源名称应采用以下格式:

customers/{customerId}/productLinks/{productLinkId}

validateOnly

boolean

如果为 true,则对请求进行验证,但不会执行该请求。系统只会返回错误,不会返回结果。

响应正文

移除商品链接的响应消息。

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

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

string

移除请求的结果。

授权范围

需要以下 OAuth 作用域:

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

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