This document details how to implement the web results feed for xml and json formatted results.
There is also a JS AdUnit for web results described here: http://validclick.com/validclick-javascript-implementation-instructions
?affid=1 (affiliate id assigned to you by Inuvo, REQUIRED)
&xtype=3 (NonPaid feed designator , REQUIRED)
&search=cars (search term, * URL-ENCODE , REQUIRED)
&ip=1.1.1.1 (Users IP address, REQUIRED)
&agent=Mozilla (Users UserAgent value, * URL-ENCODE, REQUIRED)
&serveurl=www.test.com (Url Where Listings are displayed, * URL-ENCODE, REQUIRED)
&xformat=json (return data format xml or json)
&maxcount=10 (count of restult requested)
&start=1 (position to start at in result set, offset to page result set)
XML FORMAT RESPONSE EXAMPLE
Json FORMATED RESPONSE EXAMPLE
NOTES: For both Json and XML formats you must urldecode the Link value, and html_entity_decode the TITLE and DESCRIPTION values for display.
{"LISTING": [ { "RANK": "1", "TITLE": "New <b>Cars</b>, Used <b>Cars</b>, <b>Car</b> Reviews | <b>Cars</b>.com", "DESCRIPTION": "Use <b>Cars</b>.com to search 2.6 million new & used <b>car</b> listings or get a dealer quote. Our easy-to-use online tools put you a step ahead in your next vehicle purchase.", "SITEHOST": "www.cars.com", "LINK": "http%3A%2F%2Ffeed.validclick.com%2Fgen.php%3Fdst%3DvMXV5G2TZKna2oKv2tejgNrc5WM%253D%26key%3Dtag-1-0-901231369859%26affID%3D1%26id%3DLFPvAffVC0%26sitehost%3Dwww.cars.com" }, { "RANK": "2", ........ ------------------------------------------------------------ <RESULTS> <LISTING> <RANK>1</RANK> <TITLE>New <b>Cars</b>, Used <b>Cars</b>, <b>Car</b> Reviews | <b>Cars</b>.com</TITLE> <DESCRIPTION>Use <b>Cars</b>.com to search 2.6 million new &amp; used <b>car</b> listings or get a dealer quote. Our easy-to-use online tools put you a step ahead in your next vehicle purchase.</DESCRIPTION> <SITEHOST>www.cars.com</SITEHOST> <LINK>http%3A%2F%2Ffeed.validclick.com%2Fgen.php%3Fdst%3DvMXV5G2TZKna2oKv2tejgNrc5WM%253D%26key%3Dtag-1-0-74533585652%26affID%3D1%26id%3DLFPvAffVC0%26sitehost%3Dwww.cars.com</LINK> </LISTING> <LISTING> <RANK>2</RANK> ........