ZestADZ enables XML delivery of ADs for its publisher partners. Through this feature, certain publishers who require XML ADs can integrate such that, on sending an AD request only XML ADs would be delivered to them.
XML ads are available in two formats
• Text
• Picture
Depending on the ad request received, an appropriate XML containing text or Banner ad would be delivered. In an event, where ads cannot be delivered the relevant error message will be shown.
Request URL
http://a.zestadz.com/waphandler/deliverad?ua=Nokia&ip=219.64.115.232&cid=14131C047A50414347574B574153415E8
C&meta=mobile+content&response_type=xml&url=http://mysite.com
Parameters
• cid -Your Site ID
• ua - URL Encoded User Agent String
• meta - Pass any relevant keywords for keyword targeting. Optional
• response_type - can be text or xml. Default is text.
• url - URL Encoded URL string from where the request is originating.
Response
XML Text ad
<ad type="text">
<text>Test 34578 & tyoe</text>
<picture>NA</picture>
<url>http://a.zestadz.com/waplanding?lm=16%7CAll-47~ck</url>
</ad>
XML Picture ad
<ad type="picture">
<text>NA</text>
<picture>http://a.zestadz.com/image.jpeg</picture>
<url>http://a.zestadz.com/waplanding?lm=16%7CAll-47~ck</url>
</ad>
Error
<ad type="error">
<text>NA</text>
<picture>NA</picture>
<url>NA</url>
<error>ERROR: CID IS INCORRECT. NO ADS TO DISPLAY</error>
</ad>
For more detailed instructions, please download our XML ads integration guide from the Downloads section. |