LocalizationSettings
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Lokalisierungseinstellungen für Berichte, z. B. Währung und Sprache Sie wirkt sich darauf aus, wie Messwerte berechnet werden.
JSON-Darstellung |
{
"currencyCode": string,
"languageCode": string
} |
Felder |
currencyCode |
string
Währungscode der Messwerte zu Einnahmen, d. h. der aus drei Buchstaben bestehende Code gemäß ISO 4217. Für die Währungsumrechnung wird der durchschnittliche Tageskurs verwendet. Wenn keine Angabe gemacht wird, wird standardmäßig der Währungscode des Kontos verwendet.
|
languageCode |
string
Sprache, die für lokalisierten Text verwendet wird, z. B. für Labels bestimmter Dimensionswerte. Das in IETF BCP47 definierte Sprach-Tag. Die Standardeinstellung ist „en-US“. falls nicht angegeben.
|
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-08-21 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-08-21 (UTC)."],[[["\u003cp\u003eLocalization settings determine how report metrics are calculated and displayed, impacting currency and language.\u003c/p\u003e\n"],["\u003cp\u003eYou can customize report settings using JSON, specifying \u003ccode\u003ecurrencyCode\u003c/code\u003e for currency (using ISO 4217) and \u003ccode\u003elanguageCode\u003c/code\u003e for language (using IETF BCP47).\u003c/p\u003e\n"],["\u003cp\u003eDefault settings are the account currency and 'en-US' if \u003ccode\u003ecurrencyCode\u003c/code\u003e and \u003ccode\u003elanguageCode\u003c/code\u003e are not specified respectively.\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. |"]]