List targeting dimension values
curl --request GET \
--url https://api.apostra.com/api/v2/buyer/targeting/dimensions/{system} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.apostra.com/api/v2/buyer/targeting/dimensions/{system}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.apostra.com/api/v2/buyer/targeting/dimensions/{system}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"system": "nielsen_dma",
"name": "Nielsen DMA",
"description": "<string>",
"locale": "en-US",
"targetingFields": [
"geo_metros",
"geo_metros_exclude"
],
"entries": [
{
"code": "532",
"name": "Albany-Schenectady-Troy"
}
]
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Campaigns
List targeting dimension values
List code-name pairs for a targeting dimension. Send only returned codes in campaign constraints.
GET
/
targeting
/
dimensions
/
{system}
List targeting dimension values
curl --request GET \
--url https://api.apostra.com/api/v2/buyer/targeting/dimensions/{system} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.apostra.com/api/v2/buyer/targeting/dimensions/{system}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.apostra.com/api/v2/buyer/targeting/dimensions/{system}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"system": "nielsen_dma",
"name": "Nielsen DMA",
"description": "<string>",
"locale": "en-US",
"targetingFields": [
"geo_metros",
"geo_metros_exclude"
],
"entries": [
{
"code": "532",
"name": "Albany-Schenectady-Troy"
}
]
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Path Parameters
Query Parameters
Response
List targeting dimension values
Targeting dimension codes and localized display labels for buyer-side display and input resolution.