Method: accounts.list
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
GET https://admob.googleapis.com/v1/accounts
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters |
pageSize |
integer
Maximum number of accounts to return.
|
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.
|
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 (PublisherAccount )
}
],
"nextPageToken": string
} |
Fields |
account[] |
object (PublisherAccount )
Publisher that the client credentials can access.
|
nextPageToken |
string
If not empty, indicates that there might be more accounts for the request; you must pass this value in a new ListPublisherAccountsRequest .
|
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-14 UTC."],[[["Lists the most recently signed-in AdMob publisher account and provides pagination for accessing more accounts."],["Request an account list with optional parameters to specify the maximum number of accounts and page tokens for continuation."],["The response includes an array of publisher accounts and a token for retrieving the next page if available."],["Requires authorization with specific OAuth scopes for read-only or report access to AdMob data."]]],["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"]]