REST Resource: accounts

  • A PublisherAccount stores information like time zone and currency used for reporting within the AdMob API.

  • This resource is identified by a unique publisherId and uses a standardized time zone for report generation.

  • You can retrieve account details or list recently accessed accounts using the provided API methods.

  • Essential account information includes name, publisherId, reportingTimeZone, and currencyCode, all represented in JSON format.

Resource: PublisherAccount

A publisher account contains information relevant to the use of this API, such as the time zone used for the reports.

JSON representation
{
  "name": string,
  "publisherId": string,
  "reportingTimeZone": string,
  "currencyCode": string
}
Fields
name

string

Resource name of this account. Format is accounts/{publisherId}.

publisherId

string

The unique ID by which this publisher account can be identified in the API requests (for example, pub-1234567890).

reportingTimeZone

string

The time zone that is used in reports that are generated for this account. The value is a time-zone ID as specified by the CLDR project, for example, "America/Los_Angeles".

currencyCode

string

Currency code of the earning-related metrics, which is the 3-letter code defined in ISO 4217. The daily average rate is used for the currency conversion.

Methods

get

Gets information about the specified AdMob publisher account.

list

Lists the AdMob publisher account that was most recently signed in to from the AdMob UI.