Method: accounts.apps.list
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
HTTP 请求
GET https://admob.googleapis.com/v1beta/{parent=accounts/*}/apps
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
必需。要列出其应用的账号的资源名称。示例:accounts/pub-9876543210987654
|
查询参数
参数 |
pageSize |
integer
要返回的最大应用数量。如果未指定或 0,最多返回 10,000 个应用。最大值为 20,000;高于 20,000 的值将被强制转换为 20,000。
|
pageToken |
string
最后一个 ListAppsResponse 返回的值;表示这是先前 apps.list 调用的延续,并且系统应返回下一页数据。
|
响应正文
对应用列表请求的响应。
如果成功,响应正文将包含结构如下的数据:
JSON 表示法 |
{
"apps": [
{
object (App )
}
],
"nextPageToken": string
} |
字段 |
apps[] |
object (App )
所请求的账号的结果应用。
|
nextPageToken |
string
如果不为空,则表示可能有更多应用可处理该请求;此值应该在新的 ListAppsRequest 中传递。
|
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/admob.monetization
https://www.googleapis.com/auth/admob.readonly
如需了解详情,请参阅 OAuth 2.0 概览。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[[["\u003cp\u003eLists all the apps associated with a specific AdMob account using an HTTP GET request.\u003c/p\u003e\n"],["\u003cp\u003eAllows for pagination to retrieve large numbers of apps with \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes an array of apps and a token for retrieving the next page, if available.\u003c/p\u003e\n"],["\u003cp\u003eRequires specific OAuth scopes for authorization: \u003ccode\u003ehttps://www.googleapis.com/auth/admob.monetization\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/admob.readonly\u003c/code\u003e.\u003c/p\u003e\n"]]],["This API call lists apps under a specified AdMob account. It uses a `GET` request to `https://admob.googleapis.com/v1beta/{parent=accounts/*}/apps`. The `parent` path parameter (e.g., `accounts/pub-9876543210987654`) is required. Optional query parameters `pageSize` (max 20,000) and `pageToken` are used for pagination. The request body is empty. The response includes a list of apps and an optional `nextPageToken` for subsequent requests and requires specific authorization scopes.\n"],null,["# Method: accounts.apps.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.ListAppsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nList the apps under the specified AdMob account.\n\n### HTTP request\n\n`GET https://admob.googleapis.com/v1beta/{parent=accounts/*}/apps`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. Resource name of the account to list apps for. Example: accounts/pub-9876543210987654 |\n\n### Query parameters\n\n| Parameters ||\n|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of apps to return. If unspecified or 0, at most 10,000 apps will be returned. The maximum value is 20,000; values above 20,000 will be coerced to 20,000. |\n| `pageToken` | `string` The value returned by the last `ListAppsResponse`; indicates that this is a continuation of a prior `apps.list` call, and that the system should return the next page of data. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse for the apps list request.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------|\n| ``` { \"apps\": [ { object (/admob/api/reference/rest/v1beta/accounts.apps#App) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| `apps[]` | `object (`[App](/admob/api/reference/rest/v1beta/accounts.apps#App)`)` The resulting apps for the requested account. |\n| `nextPageToken` | `string` If not empty, indicates that there may be more apps for the request; this value should be passed in a new `ListAppsRequest`. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/admob.monetization`\n- `\n https://www.googleapis.com/auth/admob.readonly`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]