Method: customers.productLinks.remove

Removes a product link.

List of thrown errors: AuthenticationError AuthorizationError FieldMaskError HeaderError InternalError MutateError QuotaError RequestError

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
customerId

string

Required. The ID of the customer being modified.

Request body

The request body contains data with the following structure:

JSON representation
{
  "resourceName": string,
  "validateOnly": boolean
}
Fields
resourceName

string

Required. Remove operation: A resource name for the product link to remove is expected, in this format:

customers/{customerId}/productLinks/{productLinkId}

validateOnly

boolean

If true, the request is validated but not executed. Only errors are returned, not results.

Response body

Response message for product link removal.

If successful, the response body contains data with the following structure:

JSON representation
{
  "resourceName": string
}
Fields
resourceName

string

Result for the remove request.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.