REST Resource: accounts
Stay organized with collections
Save and categorize content based on your preferences.
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 |
|
Gets information about the specified AdMob publisher account. |
|
Lists the AdMob publisher account that was most recently signed in to from the AdMob UI. |
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-14 UTC."],[[["The PublisherAccount resource provides essential information about an AdMob publisher account, including time zone and currency used for reporting."],["The resource includes key fields like name, publisherId, reportingTimeZone, and currencyCode, each serving a specific purpose in account identification and data representation."],["You can utilize the `get` and `list` methods to retrieve information about a specific publisher account or the most recently accessed one."],["The JSON representation of a PublisherAccount is structured with specific keys for name, publisherId, reportingTimeZone, and currencyCode."]]],["The `PublisherAccount` resource stores information like `name`, `publisherId`, `reportingTimeZone`, and `currencyCode`. The `publisherId` is a unique identifier for API requests. `reportingTimeZone` defines the time zone for account reports, and `currencyCode` specifies the currency for earning metrics. The API provides two methods: `get` to retrieve information about a specific account and `list` to retrieve the most recently signed-in account from the AdMob UI.\n"]]