Method: accounts.conversionSources.delete

  • Deletes an existing conversion source, which can be a Merchant Center Destination or a Google Analytics Link.

  • Merchant Center Destination conversion sources are recoverable for 30 days, while Google Analytics Link sources are deleted immediately but can be restored by creating a new one.

  • Requires authorization with the https://www.googleapis.com/auth/content scope.

  • Uses a DELETE HTTP request with the path https://merchantapi.googleapis.com/conversions/v1beta/{name=accounts/*/conversionSources/*} and an empty request body.

Archives an existing conversion source. If the conversion source is a Merchant Center Destination, it will be recoverable for 30 days. If the conversion source is a Google Analytics Link, it will be deleted immediately and can be restored by creating a new one.

HTTP request

DELETE https://merchantapi.googleapis.com/conversions/v1beta/{name=accounts/*/conversionSources/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the conversion source to be deleted. Format: accounts/{account}/conversionSources/{conversionSource}

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.