Method: accounts.get

  • This document provides details on how to retrieve information about a specified AdMob publisher account using an HTTP GET request.

  • The request requires a path parameter name which is the resource name of the publisher account.

  • The request body must be empty.

  • A successful response will contain an instance of PublisherAccount.

  • The request requires specific OAuth scopes for authorization.

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.