Method: accounts.list
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
HTTP 요청
GET https://admob.googleapis.com/v1/accounts
URL은 gRPC 트랜스코딩 구문을 사용합니다.
쿼리 매개변수
매개변수 |
pageSize |
integer
반환할 최대 계정 수입니다.
|
pageToken |
string
마지막 ListPublisherAccountsResponse 에서 반환된 값입니다. 는 이전 accounts.list 호출의 연속이며 시스템에서 데이터의 다음 페이지를 반환해야 함을 나타냅니다.
|
응답 본문
게시자 계정 목록 요청에 대한 응답입니다.
성공할 경우 응답 본문에 다음 구조의 데이터가 포함됩니다.
JSON 표현 |
{
"account": [
{
object (PublisherAccount )
}
],
"nextPageToken": string
} |
필드 |
account[] |
object (PublisherAccount )
클라이언트 사용자 인증 정보로 액세스할 수 있는 게시자입니다.
|
nextPageToken |
string
비어 있지 않은 경우 요청에 대해 더 많은 계정이 있을 수 있음을 나타냅니다. 새 ListPublisherAccountsRequest 에 이 값을 전달해야 합니다.
|
승인 범위
다음 OAuth 범위 중 하나가 필요합니다.
https://www.googleapis.com/auth/admob.readonly
https://www.googleapis.com/auth/admob.report
자세한 내용은 OAuth 2.0 개요를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-21(UTC)
[null,null,["최종 업데이트: 2025-08-21(UTC)"],[[["\u003cp\u003eLists the most recently signed-in AdMob publisher account and provides pagination for accessing more accounts.\u003c/p\u003e\n"],["\u003cp\u003eRequest an account list with optional parameters to specify the maximum number of accounts and page tokens for continuation.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes an array of publisher accounts and a token for retrieving the next page if available.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with specific OAuth scopes for read-only or report access to AdMob data.\u003c/p\u003e\n"]]],["This document details how to retrieve a list of AdMob publisher accounts. Use a `GET` request to `https://admob.googleapis.com/v1/accounts`. The request body should be empty. Optional `pageSize` and `pageToken` query parameters control the number of accounts returned and pagination. The response body includes an array of account objects and an optional `nextPageToken` for further data retrieval. Access requires specific OAuth scopes: `admob.readonly` or `admob.report`.\n"],null,["# Method: accounts.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListPublisherAccountsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nLists the AdMob publisher account that was most recently signed in to from the AdMob UI. For more information, see \u003chttps://support.google.com/admob/answer/10243672\u003e.\n\n### HTTP request\n\n`GET https://admob.googleapis.com/v1/accounts`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Maximum number of accounts to return. |\n| `pageToken` | `string` The value returned by the last `ListPublisherAccountsResponse`; indicates that this is a continuation of a prior `accounts.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 publisher account list request.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"account\": [ { object (/admob/api/reference/rest/v1/accounts#PublisherAccount) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `account[]` | `object (`[PublisherAccount](/admob/api/reference/rest/v1/accounts#PublisherAccount)`)` Publisher that the client credentials can access. |\n| `nextPageToken` | `string` If not empty, indicates that there might be more accounts for the request; you must pass this value in a new `ListPublisherAccountsRequest`. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/admob.readonly`\n- `\n https://www.googleapis.com/auth/admob.report`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]