The CityGrid network APIs give developers access to premium local content including user reviews, editorial content, merchant messages & more, across 75K neighborhoods nationwide. CityGrid Media is an online media company that connects web and mobile publishers with local advertising organizations by linking them through CityGrid, its local content and advertising network.
CityGrid provides a set of local advertising APIs, where users can request ads by category and geography, and CityGrid servers will generate advertisements from their advertising partner network. Users can choose to have CityGrid generate ad images, or simply obtain ad data from CityGrid and render the images themselves. Users can get ad information in XML or JSON, or make an Ajax call to have the images loaded directly in their pages. Users can also get paid for various impressions and referrals from certain business listings provided by the Places API, by adding tracking code to their pages and referral parameters to URLs.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.