Ad Request Multiple
Publisher > Publisher API > Ad Request Multiple
You can get multiple ads as XML if you want to integrate with XML response within your site or app.
With this, the latency to many ads decreases and this enables you to serve Komli Mobile Ads at multiple points within your mobile sites or Apps without making any additional requests.
Remember - All ads are based on only that one request - so it is targeted for that specific Phone, IP, Carrier and so on. There fore it is important to serve these ads for the requested client only.
Request URL
http://a.zestadz.com/multiple_ad
Required Parameters
recs: this could be a maximum of 5
response_type: could be text or xml
cid: your mobile site or app client id
url: URL Encoded url from where the request has been made
ua: URL Encoded User Agent string of the phone from where the request has been made
ip: the client ip from where the request has been made
Sample Request URL
http://a.zestadz.com/multiple_ad?ua=NokiaN70/%205.0741.4.0.1%20Series60/2.8%20Profile/MIDP-2.0%20Configuration/CLDC-.1&ip=122.165.32.211&cid=14131C047A50414347574B574153415E8C
&fcid=14131C047 A50414347574B574153415E8C &meta=pepsi&keyword=All&recs=3&response_type=xml
Sample Response
| <ads> |
| |
<ad type="picture"> |
| |
|
<text>NA</text>
<picture> http://assets.zestadz.com/ad/ad_picture/1605/Airtel1-medium.gif</picture>
<url>http://a.zestadz.com/waplanding?lm=16%7C-1605~ck</url> |
| |
</ad> |
| |
<ad type="picture"> |
| |
|
<text>NA</text>
<picture> http://assets.zestadz.com/ad/ad_picture/1604/Airtel2-medium.gif</picture>
<url>http://a.zestadz.com/waplanding?lm=16%7C-1604~ck</url> |
| |
</ad> |
| |
<ad type="picture"> |
| |
|
<text>NA</text>
<picture> http://assets.zestadz.com/ad/ad_picture/1604/Airtel2-medium.gif</picture>
<url>http://a.zestadz.com/waplanding?lm=16%7C-1604~ck</url> |
| |
</ad> |
| </ads> |
|