---
title: LocaleInfo
framework: Apple Ads Platform API
role: symbol
role_heading: Object
platforms: [apple ads platform api 1.0+]
path: apple-ads-platform-api/localeinfo
---

# LocaleInfo

Represents a specific language and its corresponding language code.

## Declaration

```data
object LocaleInfo
```

## Properties

language: Language identifier (for example, “en”, “es”). Read-only. languageCode: BCP-47 language code (for example, “en-US”, “es-MX”). Read-only.

## Discussion

Discussion The LocaleInfo object pairs a two-letter language identifier with its full BCP-47 locale code. Use it when you need to communicate both the base language (language) and the regional variant (languageCode) together, for example when enumerating the locales supported by a product page or brand creative. The language field corresponds to the ISO 639-1 language code (for example, en, fr, ja). The languageCode field includes the region subtag as required by BCP-47 (for example, en-US, fr-FR, ja-JP). When building locale-aware creative specs, use languageCode as the map key in localizedText structures. Example {   "language": "en",   "languageCode": "en-US" }

## See Also

- [Creative](apple-ads-platform-api/creative.md)
- [CreativeCreate](apple-ads-platform-api/creativecreate.md)
- [CreativeUpdate](apple-ads-platform-api/creativeupdate.md)
- [CreativeResponse](apple-ads-platform-api/creativeresponse.md)
- [CreativeQueryResponse](apple-ads-platform-api/creativequeryresponse.md)
- [CreativeEligibility](apple-ads-platform-api/creativeeligibility.md)
- [AssetReference](apple-ads-platform-api/assetreference.md)
- [AssetImage](apple-ads-platform-api/assetimage.md)
- [Destination](apple-ads-platform-api/destination.md)
- [DestinationCreate](apple-ads-platform-api/destinationcreate.md)
- [DestinationParameter](apple-ads-platform-api/destinationparameter.md)
- [CreativeRejectionReason](apple-ads-platform-api/creativerejectionreason.md)
- [CreativeRejectionReasonQueryRequest](apple-ads-platform-api/creativerejectionreasonqueryrequest.md)
- [CreativeRejectionReasonQueryResponse](apple-ads-platform-api/creativerejectionreasonqueryresponse.md)
