Method: accounts.conversionSources.undelete
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
منبع تبدیل بایگانی شده را دوباره فعال می کند. فقط برای منابع تبدیل مقصد Merchant Center در دسترس است.
درخواست HTTP
POST https://merchantapi.googleapis.com/conversions/v1beta/{name=accounts/*/conversionSources/*}:undelete
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. نام منبع تبدیلی که باید حذف شود. قالب: حسابها/{account}/conversionSources/{conversionSource} |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی نمونه ای از ConversionSource
است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/content
برای اطلاعات بیشتر، بهOAuth 2.0 Overview .
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-23 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-23 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eRe-enables an archived Merchant Center Destination conversion source using an HTTP POST request.\u003c/p\u003e\n"],["\u003cp\u003eRequires providing the conversion source name in the request URL path.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and a successful response returns the ConversionSource object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/content\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This document outlines the process for undeleting an archived conversion source within the Merchant Center. The key action is a `POST` HTTP request to a specified URL, using gRPC Transcoding syntax. The URL requires a `name` path parameter, specifying the conversion source to undelete. The request body must be empty. A successful response will contain an instance of `ConversionSource`. Authorization requires the `https://www.googleapis.com/auth/content` OAuth scope. The operation is only for Merchant Center Destination conversion sources.\n"],null,["# Method: accounts.conversionSources.undelete\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\nRe-enables an archived conversion source. Only Available for Merchant Center Destination conversion sources.\n\n### HTTP request\n\n`POST https://merchantapi.googleapis.com/conversions/v1beta/{name=accounts/*/conversionSources/*}:undelete`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the conversion source to be undeleted. Format: `accounts/{account}/conversionSources/{conversionSource}` |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [ConversionSource](/merchant/api/reference/rest/conversions_v1beta/accounts.conversionSources#ConversionSource).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/content`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]