Method: accounts.conversionSources.list
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
فهرست منابع تبدیلی را که تماس گیرنده به آنها دسترسی دارد بازیابی می کند.
درخواست HTTP
GET https://merchantapi.googleapis.com/conversions/v1beta/{parent=accounts/*}/conversionSources
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
parent | string مورد نیاز. حساب تجاری که مجموعه منابع تبدیل را در اختیار دارد. قالب: حسابها/{حساب} |
پارامترهای پرس و جو
پارامترها |
---|
page Size | integer اختیاری. حداکثر تعداد منابع تبدیل برای بازگشت در یک صفحه. اگر pageSize مشخص نشده باشد، 100 به عنوان مقدار پیش فرض استفاده می شود. حداکثر مقدار 200 است. مقادیر بالای 200 به 200 اجباری می شود. صرف نظر از صفحه بندی، در مجموع حداکثر 200 منبع تبدیل برگردانده می شود. |
page Token | string اختیاری. توکن صفحه. |
show Deleted | boolean اختیاری. نمایش گزینه حذف شده (بایگانی شده). |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
پیام پاسخ برای روش conversionSources.list.
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی داده هایی با ساختار زیر است:
نمایندگی JSON |
---|
{
"conversionSources": [
{
object (ConversionSource )
}
],
"nextPageToken": string
} |
فیلدها |
---|
conversion Sources[] | object ( ConversionSource ) فهرست منابع تبدیل |
next Page Token | string رمزی برای استفاده برای واکشی صفحه نتایج بعدی. |
محدوده مجوز
به محدوده 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\u003eRetrieves a list of conversion sources for a specified Merchant Center account.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by page size, page token, and whether to include deleted sources.\u003c/p\u003e\n"],["\u003cp\u003eResponses include a list of conversion sources and a token for pagination.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/content\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eProvides details on the HTTP request, path/query parameters, and response structure.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.conversionSources.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListConversionSourcesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRetrieves the list of conversion sources the caller has access to.\n\n### HTTP request\n\n`GET https://merchantapi.googleapis.com/conversions/v1beta/{parent=accounts/*}/conversionSources`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|---------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The merchant account who owns the collection of conversion sources. Format: `accounts/{account}` |\n\n### Query parameters\n\n| Parameters ||\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Optional. The maximum number of conversion sources to return in a page. If no `pageSize` is specified, `100` is used as the default value. The maximum value is `200`. Values above `200` will be coerced to `200`. Regardless of pagination, at most `200` conversion sources are returned in total. |\n| `pageToken` | `string` Optional. Page token. |\n| `showDeleted` | `boolean` Optional. Show deleted (archived) conversion sources. By default, deleted conversion sources are not returned. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for the conversionSources.list method.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"conversionSources\": [ { object (/merchant/api/reference/rest/conversions_v1beta/accounts.conversionSources#ConversionSource) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `conversionSources[]` | `object (`[ConversionSource](/merchant/api/reference/rest/conversions_v1beta/accounts.conversionSources#ConversionSource)`)` List of conversion sources. |\n| `nextPageToken` | `string` Token to be used to fetch the next results page. |\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)."]]