rocket
Meet
Merchant API
- the official successor to Content API for Shopping.
update
Get the latest
on new Merchant API features, bug fixes, and updates.
add_alert
Note: Content API for Shopping will be sunset on August 18, 2026.
Method: conversionsources.delete
Stay organized with collections
Save and categorize content based on your preferences.
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."],[[["\u003cp\u003eThe endpoint \u003ccode\u003eDELETE /content/v2.1/{merchantId}/conversionsources/{conversionSourceId}\u003c/code\u003e archives an existing conversion source, recoverable for 30 days.\u003c/p\u003e\n"],["\u003cp\u003eThis action requires specifying the \u003ccode\u003emerchantId\u003c/code\u003e and the \u003ccode\u003econversionSourceId\u003c/code\u003e as path parameters.\u003c/p\u003e\n"],["\u003cp\u003eAn empty request body is necessary, and a successful operation results in an empty response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is essential, requiring the \u003ccode\u003ehttps://www.googleapis.com/auth/content\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["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"],null,["# Method: conversionsources.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nArchives 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.\n\n### HTTP request\n\n`DELETE https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/conversionsources/{conversionSourceId}`\n\n### Path parameters\n\n| Parameters ||\n|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `merchantId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the account that owns the new conversion source. |\n| `conversionSourceId` | `string` Required. The ID of the conversion source to be deleted. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/content`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]