LocalizationSettings
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
إعدادات الأقلمة للتقارير، مثل العملة واللغة وهي تؤثر في طريقة احتساب المقاييس.
تمثيل JSON |
{
"currencyCode": string,
"languageCode": string
} |
الحقول |
currencyCode |
string
رمز عملة المقاييس ذات الصلة بالأرباح، وهي الرمز المكوَّن من 3 أحرف والمحدّد في ISO 4217. يتم استخدام متوسط السعر اليومي لتحويل العملة. يتم ضبط القيمة التلقائية على رمز عملة الحساب في حال عدم تحديده.
|
languageCode |
string
اللغة المستخدمة لأي نص مترجم، مثل بعض تصنيفات قيم السمات المعروضة. تشير هذه السمة إلى علامة اللغة المحدّدة في مجموعة IETF BCP47. الإعدادات التلقائية هي "en-US". إذا لم يتم تحديدها.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eLocalization settings influence how report metrics are calculated and displayed, encompassing currency and language preferences.\u003c/p\u003e\n"],["\u003cp\u003eThese settings are defined using JSON, with \u003ccode\u003ecurrencyCode\u003c/code\u003e specifying the currency for earning metrics and \u003ccode\u003elanguageCode\u003c/code\u003e determining the language for localized text.\u003c/p\u003e\n"],["\u003cp\u003eCurrency defaults to the account's currency if \u003ccode\u003ecurrencyCode\u003c/code\u003e is not specified, and the language defaults to 'en-US' if \u003ccode\u003elanguageCode\u003c/code\u003e is not provided.\u003c/p\u003e\n"]]],["The JSON representation defines localization settings for reports, including `currencyCode` and `languageCode`. `currencyCode`, a string using ISO 4217, determines the currency for earnings metrics and defaults to the account currency. `languageCode`, a string using IETF BCP47, dictates the language for localized text and defaults to 'en-US'. These settings impact metric calculations and the display of localized elements within reports.\n"],null,["# LocalizationSettings\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nLocalization settings for reports, such as currency and language. It affects how metrics are calculated.\n\n| JSON representation |\n|------------------------------------------------------------|\n| ``` { \"currencyCode\": string, \"languageCode\": string } ``` |\n\n| Fields ||\n|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\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. Defaults to the account currency code if unspecified. |\n| `languageCode` | `string` Language used for any localized text, such as some dimension value display labels. The language tag defined in the IETF BCP47. Defaults to 'en-US' if unspecified. |"]]