Method: accounts.conversionSources.get
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک منبع تبدیل را واکشی می کند.
درخواست HTTP
GET https://merchantapi.googleapis.com/conversions/v1beta/{name=accounts/*/conversionSources/*}
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\u003eFetches an existing conversion source using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ename\u003c/code\u003e path parameter to specify the conversion source to retrieve.\u003c/p\u003e\n"],["\u003cp\u003eAn empty request body is necessary, and the response provides a \u003ccode\u003eConversionSource\u003c/code\u003e object if successful.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is required with the \u003ccode\u003ehttps://www.googleapis.com/auth/content\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document outlines how to fetch a conversion source using a GET request. The core action is to send a GET request to the specified URL: `https://merchantapi.googleapis.com/conversions/v1beta/{name=accounts/*/conversionSources/*}`. The `name` parameter, in the format `accounts/{account}/conversionSources/{conversionSource}`, is required in the URL path. The request body must be empty. A successful response will include a `ConversionSource` object. The request also requires the OAuth scope `https://www.googleapis.com/auth/content`.\n"],null,["# Method: accounts.conversionSources.get\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\nFetches a conversion source.\n\n### HTTP request\n\n`GET https://merchantapi.googleapis.com/conversions/v1beta/{name=accounts/*/conversionSources/*}`\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 fetched. 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)."]]