Pular para o conteúdo principal

ExoClick Advertiser Request and Response Examples

ExoClick RTB Advertiser Request


{
"id": "d4b5c697-41f3-4c1c-a3d5-5fd01b5ef2aa",
"ip": "131.34.123.159",
"language": "en",
"type": "banner",
"remote_addr": "131.34.123.159",
"x_forwarded_for": "",
"ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36",
"url": "https://sitedomain.com/page",
"user_id": "57592f333f8983.043587162282415065",
"export": "json",
"keyword": "Lifestyle",
"size": "300x250",
"sub": 445566
}

Popunder JSON


{
"id": "d4b5c697-41f3-4c1c-a3d5-5fd01b5ef2aa",
"ip": "131.34.123.159",
"language": "en",
"type": "popunder",
"remote_addr": "131.34.123.159",
"x_forwarded_for": "120.52.73.97",
"ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36",
"url": "https://sitedomain.com/page",
"user_id": "57592f333f8983.043587162282415065",
"export": "json",
"keyword": "Lifestyle",
"sub": 445566
}

Push Notifications 720x480 JSON


{
"id": "d4b5c697-41f3-4c1c-a3d5-5fd01b5ef2aa",
"ip": "131.34.123.159",
"language": "en",
"type": "push_notification",
"remote_addr": "131.34.123.159",
"x_forwarded_for": "120.52.73.97",
"ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36",
"url": "https://sitedomain.com/page",
"user_id": "57592f333f8983.043587162282415065",
"export": "json",
"keyword": "Lifestyle",
"size": "720x480",
"sub": 445566
}

Push Notifications 192 x 192 JSON


{
"id": "d4b5c697-41f3-4c1c-a3d5-5fd01b5ef2aa",
"ip": "131.34.123.159",
"language": "en",
"type": "push_notification",
"remote_addr": "131.34.123.159",
"x_forwarded_for": "120.52.73.97",
"ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36",
"url": "https://sitedomain.com/page",
"user_id": "57592f333f8983.043587162282415065",
"export": "json",
"keyword": "Lifestyle",
"size": "192x192",
"sub": 445566
}

ExoClick RTB Advertiser Response


{
"bid": {
"id" : "d4b5c697-41f3-4c1c-a3d5-5fd01b5ef2aa",
"imgUrl" : "http://mysite.com/images/myad.jpg",
"clickUrl" : "http://mysite.com/landingpages/mypage",
"bUrl": "https://mysite.com/my_billing_notification_url",
"btype": 1,
"value" : 0.34
}
}

Email Clicks JSON


{
"bid": {
"id": "d4b5c697-41f3-4c1c-a3d5-5fd01b5ef2aa",
"clickUrl": "http://mysite.com/landingpages/mypage?el={email_encoded}",
"value": 0.07,
"btype": 2,
"nUrl": "http://network-domain.com/win-notification",
"bUrl": "https://mysite.com/my_billing_notification_url"
}
}

Popunder JSON


{
"bid": {
"id" : "dd4b5c697-41f3-4c1c-a3d5-5fd01b5ef2aa",
"url" : "http://mysite.com/landingpages/mypage",
"btype": 1,
"value" : 0.13,
"bUrl": "https://mysite.com/my_billing_notification_url"
}
}

Push Notifications JSON


{
"bid": {
"id" : "d4b5c697-41f3-4c1c-a3d5-5fd01b5ef2aa",
"iconUrl" : "http://mysite.com/images/myadicon.jpg",
"clickUrl" : "http://mysite.com/landingpages/mypage",
"title": "My Ad Title",
"description": "My Ad Description Text",
"btype": 2,
"value" : 0.13,
"bUrl": "https://mysite.com/my_billing_notification_url",
"imptrackers": [
"https://mytracker.com"
]
}
}

<?xml version="1.0"?>
<result>
<bid>
<id>d4b5c697-41f3-4c1c-a3d5-5fd01b5ef2aa</id>
<clickUrl><![CDATA[http://mysite.com/landingpages/mypage]]></clickUrl>
<imgUrl><![CDATA[http://mysite.com/images/myad.jpg]]></imgUrl>
<btype>1</btype>
<value>0.34</value>
<bUrl><!CDATA[https://mysite.com/my_billing_notification_url]]></bUrl>
</bid>
</result>

<?xml version="1.0"?>
<result>
<bid>
<id><![CDATA[d4b5c697-41f3-4c1c-a3d5-5fd01b5ef2aa]]></id>
<clickUrl><![CDATA[http://mysite.com/landingpages/mypage]]></clickUrl>
<value><![CDATA[0]]></value>
<btype><![CDATA[2]]></btype>
<nUrl><![CDATA[http://network-domain.com/win-notification]]></nUrl>
<bUrl><!CDATA[https://mysite.com/my_billing_notification_url]]></bUrl>
</bid>
</result>

Email Clicks XML


<?xml version="1.0"?>
<result>
<bid>
<id><![CDATA[d4b5c697-41f3-4c1c-a3d5-5fd01b5ef2aa]]></id>
<clickUrl><![CDATA[http://mysite.com/landingpages/mypage?el={email_encoded}]]></clickUrl>
<value><![CDATA[0.07]]></value>
<btype><![CDATA[2]]></btype>
<nUrl><![CDATA[http://network-domain.com/win-notification]]></nUrl>
<bUrl><!CDATA[https://mysite.com/my_billing_notification_url]]></bUrl>
</bid>
</result>

Popunder XML


<?xml version="1.0"?>
<result>
<bid>
<id>d4b5c697-41f3-4c1c-a3d5-5fd01b5ef2aa</id>
<url><![CDATA[http://mysite.com/landingpages/mypage]]></url>
<btype>1</btype>
<value>0.13</value>
<bUrl><!CDATA[https://mysite.com/my_billing_notification_url]]></bUrl>
</bid>
</result>

Push Notification XML


<?xml version="1.0"?>
<result>
<bid>
<id>d4b5c697-41f3-4c1c-a3d5-5fd01b5ef2aa</id>
<iconUrl><![CDATA[http://mysite.com/images/myad.jpg]]></iconUrl>
<clickUrl><![CDATA[http://mysite.com/landingpages/mypage]]></clickUrl>
<title>My Ad Title</title>
<description>My Ad Description Text</description>
<btype>2</btype>
<value>0.13</value>
<imptrackers><![CDATA[https://mytracker.com]]></imptrackers>
<bUrl><!CDATA[https://mysite.com/my_billing_notification_url]]></bUrl>
</bid>
</result>