Method: accounts.conversionSources.list
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
GET https://merchantapi.googleapis.com/conversions/v1beta/{parent=accounts/*}/conversionSources
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
必要欄位。擁有轉換來源集合的商家帳戶。格式:accounts/{account}
|
查詢參數
參數 |
pageSize |
integer
選用設定。每頁傳回的轉換來源數量上限。如未指定 pageSize ,則採用預設值 100 。最大值為 200 。超出 200 的值將一律指定為 200 。無論分頁如何,最多只會傳回 200 個轉換來源。
|
pageToken |
string
選用設定。頁面權杖。
|
showDeleted |
boolean
選用設定。顯示已刪除 (封存) 的選項。
|
回應主體
conversionSources.list 方法的回應訊息。
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"conversionSources": [
{
object (ConversionSource )
}
],
"nextPageToken": string
} |
欄位 |
conversionSources[] |
object (ConversionSource )
轉換來源清單。
|
nextPageToken |
string
用於擷取下一頁結果的符記。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/content
詳情請參閱 OAuth 2.0 Overview。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 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)."]]