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。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-23。
[null,null,["最后更新时间 (UTC):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)."]]