> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v24** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/fields/latest/language_constant).

[<button style="margin-top:15px">Help me build a query</button>](https://developers.google.com/google-ads/api/fields/v24/language_constant_query_builder.md.txt) [<button style="margin-top:15px">Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)</button>](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v24/resources/language_constant.proto)

A language.

## language_constant.code

Field descriptionOutput only. The language code, for example, "en_US", "en_AU", "es", "fr",
etc.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[ad_group_criterion](https://developers.google.com/google-ads/api/fields/v24/ad_group_criterion.md.txt) [campaign_criterion](https://developers.google.com/google-ads/api/fields/v24/campaign_criterion.md.txt) [language_constant](https://developers.google.com/google-ads/api/fields/v24/language_constant.md.txt)

## language_constant.id

Field descriptionOutput only. The ID of the language constant.
Category`ATTRIBUTE` Data Type`INT64` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[ad_group_criterion](https://developers.google.com/google-ads/api/fields/v24/ad_group_criterion.md.txt) [campaign_criterion](https://developers.google.com/google-ads/api/fields/v24/campaign_criterion.md.txt) [language_constant](https://developers.google.com/google-ads/api/fields/v24/language_constant.md.txt)

## language_constant.name

Field descriptionOutput only. The full name of the language in English, for example,
"English (US)", "Spanish", etc.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[ad_group_criterion](https://developers.google.com/google-ads/api/fields/v24/ad_group_criterion.md.txt) [campaign_criterion](https://developers.google.com/google-ads/api/fields/v24/campaign_criterion.md.txt) [language_constant](https://developers.google.com/google-ads/api/fields/v24/language_constant.md.txt)

## language_constant.resource_name

Field descriptionOutput only. The resource name of the language constant.
Language constant resource names have the form:

`languageConstants/{criterion_id}`
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[ad_group_criterion](https://developers.google.com/google-ads/api/fields/v24/ad_group_criterion.md.txt) [campaign_criterion](https://developers.google.com/google-ads/api/fields/v24/campaign_criterion.md.txt) [language_constant](https://developers.google.com/google-ads/api/fields/v24/language_constant.md.txt)

## language_constant.targetable

Field descriptionOutput only. Whether the language is targetable.
Category`ATTRIBUTE` Data Type`BOOLEAN` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[ad_group_criterion](https://developers.google.com/google-ads/api/fields/v24/ad_group_criterion.md.txt) [campaign_criterion](https://developers.google.com/google-ads/api/fields/v24/campaign_criterion.md.txt) [language_constant](https://developers.google.com/google-ads/api/fields/v24/language_constant.md.txt)