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):2024-09-11。
[null,null,["最后更新时间 (UTC):2024-09-11。"],[[["Lists all the apps associated with a specific AdMob account using an HTTP GET request."],["Allows for pagination to retrieve large numbers of apps with `pageSize` and `pageToken` parameters."],["The response includes an array of apps and a token for retrieving the next page, if available."],["Requires specific OAuth scopes for authorization: `https://www.googleapis.com/auth/admob.monetization` or `https://www.googleapis.com/auth/admob.readonly`."]]],["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"]]