AI-generated Key Takeaways
- 
          This page details how to list the AdMob publisher account most recently signed in to from the AdMob UI. 
- 
          The HTTP request uses a GET method to https://admob.googleapis.com/v1/accounts.
- 
          You can use pageSizeandpageTokenas query parameters to control the number of accounts returned and for pagination.
- 
          The response body contains a list of accountobjects and anextPageTokenfor continuation.
- 
          Authorization requires either the https://www.googleapis.com/auth/admob.readonlyorhttps://www.googleapis.com/auth/admob.reportOAuth scope.
Lists the AdMob publisher account that was most recently signed in to from the AdMob UI. For more information, see https://support.google.com/admob/answer/10243672.
HTTP request
GET https://admob.googleapis.com/v1/accounts
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 Maximum number of accounts to return. | 
| pageToken | 
 The value returned by the last  | 
Request body
The request body must be empty.
Response body
Response for the publisher account list request.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "account": [
    {
      object ( | 
| Fields | |
|---|---|
| account[] | 
 Publisher that the client credentials can access. | 
| nextPageToken | 
 If not empty, indicates that there might be more accounts for the request; you must pass this value in a new  | 
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/admob.readonly
- https://www.googleapis.com/auth/admob.report
For more information, see the OAuth 2.0 Overview.