AI-generated Key Takeaways
-
A
PublisherAccount
resource holds information pertinent to using the API, including the reporting time zone. -
The JSON representation of a
PublisherAccount
includes fields likename
,publisherId
,reportingTimeZone
, andcurrencyCode
. -
The
PublisherAccount
resource supports two methods:get
to retrieve specific account details andlist
to find the most recently used account.
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 |
Resource name of this account. Format is accounts/{publisherId}. |
publisherId |
The unique ID by which this publisher account can be identified in the API requests (for example, pub-1234567890). |
reportingTimeZone |
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 |
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 |
|
---|---|
|
Gets information about the specified AdMob publisher account. |
|
Lists the AdMob publisher account that was most recently signed in to from the AdMob UI. |