REST Resource: accounts
资源:PublisherAccount
发布商账号包含与此 API 使用相关的信息,例如报告所用的时区。
JSON 表示法 |
{
"name": string,
"publisherId": string,
"reportingTimeZone": string,
"currencyCode": string
} |
字段 |
name |
string
此账号的资源名称。格式为 accounts/{publisherId}。
|
publisherId |
string
可在 API 请求中用于识别此发布商账号的唯一 ID(例如 pub-1234567890)。
|
reportingTimeZone |
string
为此账号生成的报告中使用的时区。该值是由 CLDR 项目指定的时区 ID,例如“America/Los_Angeles”。
|
currencyCode |
string
收入相关指标的货币代码,即 ISO 4217 中定义的由 3 个字母组成的代码。货币换算采用每日平均汇率。
|
方法 |
|
获取指定的 AdMob 发布商账号的相关信息。 |
|
列出最近从 AdMob 界面登录的 AdMob 发布商账号。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-14。
[null,null,["最后更新时间 (UTC):2024-10-14。"],[[["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"]]