Method: conversionsources.delete
Archives an existing conversion source. It will be recoverable for 30 days. This archiving behavior is not typical in the Content API and unique to this service.
HTTP request
DELETE https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/conversionsources/{conversionSourceId}
Path parameters
Parameters |
merchantId |
string (int64 format)
Required. The ID of the account that owns the new conversion source.
|
conversionSourceId |
string
Required. The ID of the conversion source to be deleted.
|
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-25 UTC.
[null,null,["Last updated 2025-02-25 UTC."],[[["The endpoint `DELETE /content/v2.1/{merchantId}/conversionsources/{conversionSourceId}` archives an existing conversion source, recoverable for 30 days."],["This action requires specifying the `merchantId` and the `conversionSourceId` as path parameters."],["An empty request body is necessary, and a successful operation results in an empty response body."],["Authorization is essential, requiring the `https://www.googleapis.com/auth/content` OAuth scope."]]],["This document outlines how to archive a conversion source using a DELETE request. The target URL is specified with `merchantId` and `conversionSourceId` path parameters, which are required. The request body must be empty. Successful execution yields an empty JSON response. Archiving is a 30-day recoverable deletion, unique to this API. The operation requires `https://www.googleapis.com/auth/content` authorization scope. An example HTTP request using a specific path is also provided.\n"]]