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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["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)."]]