Method: accounts.conversionSources.list
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
呼び出し元がアクセスできるコンバージョン ソースのリストを取得します。
HTTP リクエスト
GET https://merchantapi.googleapis.com/conversions/v1beta/{parent=accounts/*}/conversionSources
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。コンバージョン ソースのコレクションを所有する販売者のアカウント。形式: accounts/{account}
|
クエリ パラメータ
パラメータ |
pageSize |
integer
省略可。1 ページで返されるコンバージョン ソースの最大数。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 をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-23 UTC。
[null,null,["最終更新日 2025-01-23 UTC。"],[[["\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)."]]