Placement Body Parameters
Changed onEvery request must contain one or more Placements. Each placement represents a "slot" in which an ad may be served.
post/part-of-decision/api
Request
- Base URLhttps://e-YOUR-NETWORKID.adzerk.net
- URLhttps://e-YOUR-NETWORKID.adzerk.net/part-of-decision/api
- Authnone required
Request body
Response
200
Example response
{
"user": {
"key": "abc"
},
"decisions": {
"div0": {
"adId": 111,
"creativeId": 222,
"flightId": 333,
"campaignId": 444,
"priorityId": 555,
"clickUrl": "https://e-23.adzerk.net/r?...",
"contents": [
{
"type": "html",
"body": "<a href='...'><img src='https://static.adzerk.net/Advertisers/cat.jpg' title='ZOMG A CAT' width='350' height='350'></a>",
"template": "image",
"data": {
"imageUrl": "https://static.adzerk.net/cat.jpg",
"title": "ZOMG A CAT",
"width": 350,
"height": 350,
"customData": {
"headline": "Test Headline",
"cta": "Download Here"
}
}
}
],
"impressionUrl": "https://e-23.adzerk.net/i.gif?...",
"events": [
{
"id": 10,
"url": "https://e-23.adzerk.net/e.gif?..."
}
],
"pricing": {
"price": 5,
"clearPrice": 2.01,
"revenue": 0.002,
"rateType": 2,
"eCPM": 5
}
}
},
"candidateRetrieval": {
"div0": {
"candidatesFoundCount": 1
}
}
}Changes
- info
endpoint added
- info