REST Resource: accounts
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
المرجع: حساب الناشر
يحتوي حساب الناشر على معلومات ذات صلة باستخدام واجهة برمجة التطبيقات هذه، مثل المنطقة الزمنية المستخدمة في التقارير.
تمثيل JSON |
{
"name": string,
"publisherId": string,
"reportingTimeZone": string,
"currencyCode": string
} |
الحقول |
name |
string
اسم المورد لهذا الحساب. التنسيق هو accounts/{publisherId}.
|
publisherId |
string
المعرّف الفريد الذي يمكن من خلاله تحديد حساب الناشر هذا في طلبات واجهة برمجة التطبيقات (على سبيل المثال، pub-1234567890).
|
reportingTimeZone |
string
المنطقة الزمنية المستخدمة في التقارير التي يتم إنشاؤها لهذا الحساب. القيمة هي رقم تعريف منطقة زمنية كما هو محدّد في مشروع CLDR، على سبيل المثال، "America/Los_Angeles".
|
currencyCode |
string
رمز عملة المقاييس المرتبطة بالأرباح، وهي الرمز المكوَّن من 3 أحرف والمحدّد في ISO 4217. يتم استخدام متوسط السعر اليومي لتحويل العملة.
|
الطُرق |
|
الحصول على معلومات عن حساب الناشر المحدّد على AdMob |
|
يسرد حساب الناشر في AdMob الذي تم تسجيل الدخول إليه مؤخرًا من واجهة مستخدم AdMob. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe PublisherAccount resource provides essential information about an AdMob publisher account, including time zone and currency used for reporting.\u003c/p\u003e\n"],["\u003cp\u003eThe resource includes key fields like name, publisherId, reportingTimeZone, and currencyCode, each serving a specific purpose in account identification and data representation.\u003c/p\u003e\n"],["\u003cp\u003eYou can utilize the \u003ccode\u003eget\u003c/code\u003e and \u003ccode\u003elist\u003c/code\u003e methods to retrieve information about a specific publisher account or the most recently accessed one.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of a PublisherAccount is structured with specific keys for name, publisherId, reportingTimeZone, and currencyCode.\u003c/p\u003e\n"]]],["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"],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/v1/accounts/get) | Gets information about the specified AdMob publisher account. |\n| ### [list](/admob/api/reference/rest/v1/accounts/list) | Lists the AdMob publisher account that was most recently signed in to from the AdMob UI. |"]]