Artículo 05/17/2024
3 colaboradores
Comentarios
En este artículo
Este servicio de solo lectura muestra la lista de identificadores de idioma que puede usar en el servicio de perfil (para dirigirse a los idiomas del explorador) o en el servicio de perfil de anuncios (para confiar o prohibir los idiomas creativos).
API de REST
Campos JSON
Campo
Tipo
Descripción
code
string
Código ISO-639-1 de 2 letras para el idioma.
id
Entero
Identificador del idioma.
last_activity
Timestamp
Fecha y hora de la última actualización de la entrada de idioma.
name
string
Nombre del idioma.
Idiomas disponibles
Id.
Nombre
Código
0
Unknown
NULL
1
Inglés
EN
2
Chino
ZH
3
Español
ES
4
Japonés
JA
5
Francés
FR
6
Alemán
DE
7
Arabic
AR
8
Portugués
PT
9
Ruso
RU
10
Coreano
KO
11
Italiano
TI
12
Neerlandés
NL
14
Danés
Administrador de datos
15
Sueco
SV
16
Noruego
NB
17
Polaco
PL
18
Turco
TR
19
Finés
FI
20
Checo
CS
21
Eslovaco
SK
22
Rumano
RM
23
Búlgaro
BG
24
Esloveno
SL
25
Húngaro
HU
26
Ucraniano
Reino Unido
27
Croata
HR
28
Serbio
SR
29
Bosnio
BS
30
Albanés
SQ
31
Macedonio
MK
32
Vietnamita
VI
33
Hindi
HOLA
34
Urdu
UR
35
Tamil
TA
36
Tailandés
TH
37
Griego
FL
38
Persa
FA
39
Galés
CY
40
Hebreo
ÉL
41
Lituano
LT
42
Estonio
ET
43
Letón
LV
44
Indonesio
Id.
45
Azerbaiyano
AZ
46
Galician
GL
47
Georgiano
KA
48
Malay
SRA
49
Armenio
HY
50
Catalán
CA
51
Uzbeko
UZ
52
Birmano
MI
53
Kazajo
KK
54
Basque
UE
Ejemplos
Ver todos los idiomas
$ curl -b cookies -c cookies https://api.appnexus.com/language'
{
"response": {
"status": "OK",
"count": 36,
"start_element": 0,
"num_elements": 100,
"languages": [
{
"id": 0,
"name": "Unknown",
"last_activity": "2010-12-17 15:19:49",
"code": null
},
{
"id": 1,
"name": "English",
"last_activity": "2013-04-01 19:12:00",
"code": "EN"
},
{
"id": 2,
"name": "Chinese",
"last_activity": "2013-04-01 19:12:00",
"code": "ZH"
},
{
"id": 3,
"name": "Spanish",
"last_activity": "2013-04-01 19:12:00",
"code": "ES"
},
{
"id": 4,
"name": "Japanese",
"last_activity": "2013-04-01 19:12:00",
"code": "JA"
},
{
"id": 5,
"name": "French",
"last_activity": "2013-04-01 19:12:00",
"code": "FR"
},
{
"id": 6,
"name": "German",
"last_activity": "2013-04-01 19:12:00",
"code": "DE"
},
{
"id": 7,
"name": "Arabic",
"last_activity": "2013-04-01 19:12:00",
"code": "AR"
},
{
"id": 8,
"name": "Portuguese",
"last_activity": "2013-04-01 19:12:00",
"code": "PT"
},
{
"id": 9,
"name": "Russian",
"last_activity": "2013-04-01 19:12:00",
"code": "RU"
},
{
"id": 10,
"name": "Korean",
"last_activity": "2013-04-01 19:12:00",
"code": "KO"
},
{
"id": 11,
"name": "Italian",
"last_activity": "2013-04-01 19:12:00",
"code": "IT"
},
{
"id": 12,
"name": "Dutch",
"last_activity": "2013-04-01 19:12:00",
"code": "NL"
},
{
"id": 14,
"name": "Danish",
"last_activity": "2013-04-01 19:12:00",
"code": "DA"
},
{
"id": 15,
"name": "Swedish",
"last_activity": "2013-04-01 19:12:00",
"code": "SV"
},
{
"id": 16,
"name": "Norwegian",
"last_activity": "2013-04-01 19:12:00",
"code": "NB"
},
{
"id": 17,
"name": "Polish",
"last_activity": "2012-07-23 19:14:56",
"code": "PL"
},
{
"id": 18,
"name": "Turkish",
"last_activity": "2014-01-21 17:08:22",
"code": "TR"
},
{
"id": 19,
"name": "Finnish",
"last_activity": "2014-01-21 17:08:58",
"code": "FI"
},
{
"id": 20,
"name": "Czech",
"last_activity": "2014-07-14 18:00:07",
"code": "CS"
},
{
"id": 21,
"name": "Slovak",
"last_activity": "2014-07-14 18:00:07",
"code": "SK"
},
{
"id": 22,
"name": "Romanian",
"last_activity": "2014-07-14 18:00:07",
"code": "RM"
},
{
"id": 23,
"name": "Bulgarian",
"last_activity": "2014-07-14 18:00:07",
"code": "BG"
},
{
"id": 24,
"name": "Slovene",
"last_activity": "2014-07-14 18:00:07",
"code": "SL"
},
{
"id": 25,
"name": "Hungarian",
"last_activity": "2014-07-14 18:00:07",
"code": "HU"
},
{
"id": 26,
"name": "Ukranian",
"last_activity": "2014-07-14 18:00:07",
"code": "UK"
},
{
"id": 27,
"name": "Croatian",
"last_activity": "2014-07-14 18:00:07",
"code": "HR"
},
{
"id": 28,
"name": "Serbian",
"last_activity": "2014-07-14 18:00:07",
"code": "SR"
},
{
"id": 29,
"name": "Bosnian",
"last_activity": "2014-07-14 18:00:07",
"code": "BS"
},
{
"id": 30,
"name": "Albanian",
"last_activity": "2014-07-14 18:00:07",
"code": "SQ"
},
{
"id": 31,
"name": "Macedonian",
"last_activity": "2014-07-14 18:00:07",
"code": "MK"
},
{
"id": 32,
"name": "Vietnamese",
"last_activity": "2014-07-14 18:00:07",
"code": "VI"
},
{
"id": 33,
"name": "Hindi",
"last_activity": "2014-07-14 18:00:07",
"code": "HI"
},
{
"id": 34,
"name": "Urdu",
"last_activity": "2014-07-14 18:00:07",
"code": "UR"
},
{
"id": 35,
"name": "Tamil",
"last_activity": "2014-07-14 18:00:07",
"code": "TA"
},
{
"id": 36,
"name": "Thai",
"last_activity": "2014-07-14 18:00:07",
"code": "TH"
}
]
}
}
Visualización de la entrada de idioma para chino
$ curl -b cookies -c cookies https://api.appnexus.com/language?name=Chinese'
{
"response": {
"status": "OK",
"languages": [
{
"id": 2,
"name": "Chinese",
"code": null,
"last_activity": "2010-05-21 21:05:28"
}
],
"count": 1,
"start_element": null,
"num_elements": null
}
}