Skip to end of metadata
Go to start of metadata

Language Service

This read-only service shows you the list of language IDs that you can use in the Profile Service (to target browser languages) or in the Ad Profile Service (to trust or ban creative languages).

On This Page

REST API

View all languages available for targeting:
GET https://api.appnexus.com/language

View all languages with IDs, names, or codes containing certain characters:
GET https://api.appnexus.com/language?search=SEARCH_TERM

View a specific language:
GET https://api.appnexus.com/language?id=LANGUAGE_ID
GET https://api.appnexus.com/language?name=LANGUAGE_NAME

JSON Fields

Field

Type

Description

id

int

The ID of the language.

name

string

The name of the language.

code

string

The code for the language. (2 letter ISO-639-1 codes as given in

http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)

last_activity

timestamp

The date and time of the last update to the language entry.

Available Languages

ID

Name

Code
0 Unknown     NULL 
1 English     EN   
2 Chinese     ZH   
3 Spanish     ES   
4 Japanese    JA   
5 French      FR   
6 German      DE   
7 Arabic      AR   
8 Portuguese  PT   
9 Russian     RU   
10 Korean      KO   
11 Italian     IT   
12 Dutch       NL   
14 Danish      DA   
15 Swedish     SV   
16 Norwegian   NB   
17 Polish      PL   
18 Turkish     TR   
19 Finnish     FI   
20 Czech       CS   
21 Slovak      SK   
22 Romanian    RM   
23 Bulgarian   BG   
24 Slovene     SL   
25 Hungarian   HU   
26 Ukranian    UK   
27 Croatian    HR   
28 Serbian     SR   
29 Bosnian     BS   
30 Albanian    SQ   
31 Macedonian  MK   
32 Vietnamese  VI   
33 Hindi       HI   
34 Urdu        UR   
35 Tamil       TA   
36 Thai        TH   

Examples

View all languages
View the language entry for Chinese