Method: accounts.apps.list
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Liệt kê các ứng dụng trong tài khoản AdMob được chỉ định.
Yêu cầu HTTP
GET https://admob.googleapis.com/v1beta/{parent=accounts/*}/apps
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Tham số |
parent |
string
Bắt buộc. Tên tài nguyên của tài khoản để liệt kê các ứng dụng. Ví dụ: accounts/pub-9876543210987654
|
Tham số truy vấn
Tham số |
pageSize |
integer
Số lượng ứng dụng tối đa cần trả về. Nếu bạn không chỉ định hoặc 0, sẽ có tối đa 10.000 ứng dụng được trả về. Giá trị tối đa là 20.000; nếu trên 20.000 thì bị buộc thành 20.000.
|
pageToken |
string
Giá trị được ListAppsResponse gần đây nhất trả về; cho biết đây là phần tiếp theo của lệnh gọi apps.list trước đó và hệ thống sẽ trả về trang dữ liệu tiếp theo.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Phản hồi cho yêu cầu về danh sách ứng dụng.
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON |
{
"apps": [
{
object (App )
}
],
"nextPageToken": string
} |
Trường |
apps[] |
object (App )
Các ứng dụng thu được cho tài khoản được yêu cầu.
|
nextPageToken |
string
Nếu giá trị này không trống, thì tức là có thể còn nhiều ứng dụng khác cho yêu cầu; giá trị này phải được truyền trong ListAppsRequest mới.
|
Phạm vi uỷ quyền
Yêu cầu một trong các phạm vi OAuth sau:
https://www.googleapis.com/auth/admob.monetization
https://www.googleapis.com/auth/admob.readonly
Để biết thêm thông tin, hãy xem bài viết Tổng quan về OAuth 2.0.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-21 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-21 UTC."],[[["\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)."]]