LocalizationSettings
Stay organized with collections
Save and categorize content based on your preferences.
Localization settings for reports, such as currency and language. It affects how metrics are calculated.
JSON representation |
{
"currencyCode": string,
"languageCode": string
} |
Fields |
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.
|
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 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. |"]]