Method: accounts.list
HTTP リクエスト
GET https://admob.googleapis.com/v1/accounts
この URL は gRPC Transcoding 構文を使用します。
クエリ パラメータ
パラメータ |
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 の概要をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-10-14 UTC。
[null,null,["最終更新日 2024-10-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"]]