LocalizationSettings
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Настройки локализации отчетов, такие как валюта и язык. Это влияет на способ расчета показателей.
JSON-представление |
---|
{
"currencyCode": string,
"languageCode": string
} |
Поля |
---|
currencyCode | string Код валюты показателей, связанных с доходом, который представляет собой трехбуквенный код, определенный в ISO 4217. Для конвертации валюты используется среднедневной курс. По умолчанию используется код валюты счета, если он не указан. |
languageCode | string Язык, используемый для любого локализованного текста, например для некоторых меток отображения значений измерений. Языковой тег, определенный в IETF BCP47. По умолчанию используется «en-US», если не указано. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-08-21 UTC.
[null,null,["Последнее обновление: 2025-08-21 UTC."],[[["\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. |"]]