Method: accounts.get
Gets information about the specified AdMob publisher account.
HTTP request
GET https://admob.googleapis.com/v1/{name=accounts/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Resource name of the publisher account to retrieve. Example: accounts/pub-9876543210987654
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of PublisherAccount
.
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.
[null,null,["Last updated 2024-05-14 UTC."],[[["Retrieves information about a specific AdMob publisher account using a GET request."],["Requires specifying the publisher account's resource name in the request URL path."],["Returns a PublisherAccount object containing the account information if successful."],["Needs authorization with either `admob.readonly` or `admob.report` OAuth scopes."]]],["This document outlines how to retrieve information about an AdMob publisher account. A `GET` request is sent to `https://admob.googleapis.com/v1/{name=accounts/*}`, with the account's resource name (e.g., `accounts/pub-9876543210987654`) specified as a path parameter. The request body must be empty. A successful response returns a `PublisherAccount` instance. Authorization requires either `admob.readonly` or `admob.report` OAuth scopes. The document includes examples and a \"Try it!\" feature.\n"]]