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 發布商帳戶。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-21 (世界標準時間)。
[null,null,["上次更新時間:2025-08-21 (世界標準時間)。"],[[["\u003cp\u003eA PublisherAccount stores information like time zone and currency used for reporting within the AdMob API.\u003c/p\u003e\n"],["\u003cp\u003eThis resource is identified by a unique publisherId and uses a standardized time zone for report generation.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve account details or list recently accessed accounts using the provided API methods.\u003c/p\u003e\n"],["\u003cp\u003eEssential account information includes name, publisherId, reportingTimeZone, and currencyCode, all represented in JSON format.\u003c/p\u003e\n"]]],["The `PublisherAccount` resource stores account details like `name`, `publisherId`, `reportingTimeZone`, and `currencyCode`. The `publisherId` uniquely identifies the account. `reportingTimeZone` specifies the time zone used in account reports, and `currencyCode` indicates the currency for earnings. You can retrieve a specific account's details via the `get` method or list the most recently accessed accounts using the `list` method.\n"],null,["# REST Resource: accounts\n\n- [Resource: PublisherAccount](#PublisherAccount)\n - [JSON representation](#PublisherAccount.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: PublisherAccount\n--------------------------\n\nA publisher account contains information relevant to the use of this API, such as the time zone used for the reports.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"publisherId\": string, \"reportingTimeZone\": string, \"currencyCode\": string } ``` |\n\n| Fields ||\n|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Resource name of this account. Format is accounts/{publisherId}. |\n| `publisherId` | `string` The unique ID by which this publisher account can be identified in the API requests (for example, pub-1234567890). |\n| `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\". |\n| `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. |\n\n| Methods ------- ||\n|------------------------------------------------------------|------------------------------------------------------------------------------------------|\n| ### [get](/admob/api/reference/rest/v1beta/accounts/get) | Gets information about the specified AdMob publisher account. |\n| ### [list](/admob/api/reference/rest/v1beta/accounts/list) | Lists the AdMob publisher account that was most recently signed in to from the AdMob UI. |"]]