Interested in sharing your feedback about the Google Ads API?
Sign up to be invited to participate in user research!
LanguageConstant
Stay organized with collections
Save and categorize content based on your preferences.
Fields |
resource_name
|
string
Output only. The resource name of the language constant. Language constant resource names have the form: languageConstants/{criterion_id}
|
id
|
int64
Output only. The ID of the language constant.
|
code
|
string
Output only. The language code, for example, "en_US", "en_AU", "es", "fr", etc.
|
name
|
string
Output only. The full name of the language in English, for example, "English (US)", "Spanish", etc.
|
targetable
|
bool
Output only. Whether the language is targetable.
|
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-02-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-25 UTC."],[[["The Language resource represents a specific language with an ID, code, and full name."],["Each language has properties indicating whether it's targetable for advertising and its resource name for identification."],["Language codes are provided in standard formats like \"en_US\" and \"es\", and the full name is given in English."]]],["The document describes a language resource with several fields. Each language has a unique resource name and ID. It is defined by a language code (e.g., \"en_US\") and its full English name (e.g., \"English (US)\"). A key attribute is whether the language is \"targetable,\" indicated by a boolean value. The resource name follows a specific format: `languageConstants/{criterion_id}`. All values except the \"targetable\" one, are strings.\n"]]