REST Resource: accounts
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Resource: PublisherAccount
บัญชีผู้เผยแพร่โฆษณามีข้อมูลที่เกี่ยวข้องกับการใช้ API นี้ เช่น เขตเวลาที่ใช้สำหรับรายงาน
การแสดง JSON |
{
"name": string,
"publisherId": string,
"reportingTimeZone": string,
"currencyCode": string
} |
ช่อง |
name |
string
ชื่อทรัพยากรของบัญชีนี้ รูปแบบคือ accounts/{publisherId}
|
publisherId |
string
รหัสที่ไม่ซ้ำกันซึ่งใช้ระบุบัญชีผู้เผยแพร่โฆษณานี้ในคำขอ API (เช่น pub-1234567890)
|
reportingTimeZone |
string
เขตเวลาที่ใช้ในรายงานที่สร้างขึ้นสำหรับบัญชีนี้ ค่านี้คือรหัสเขตเวลาตามที่โปรเจ็กต์ CLDR ระบุ เช่น "America/Los_Angeles"
|
currencyCode |
string
รหัสสกุลเงินของเมตริกที่เกี่ยวข้องกับรายได้ ซึ่งเป็นรหัสแบบ 3 ตัวอักษรที่กำหนดไว้ใน ISO 4217 ระบบจะใช้อัตราแลกเปลี่ยนเฉลี่ยรายวันในการแปลงสกุลเงิน
|
เมธอด |
|
รับข้อมูลเกี่ยวกับบัญชีผู้เผยแพร่โฆษณา AdMob ที่ระบุ |
|
แสดงบัญชีผู้เผยแพร่โฆษณา AdMob ที่ลงชื่อเข้าใช้ล่าสุดจาก AdMob UI |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-21 UTC
[null,null,["อัปเดตล่าสุด 2025-08-21 UTC"],[[["\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. |"]]