Most of the ad providers have some server to server option, or some simple spec for requesting ads.
All you have to do is create the proper request url, whatever is in the spec, parse the response for the image url and the link url, then use display.loadRemoteImage to grab that ad, and put a touch listener on it that calls system.openURL with the link url.
Just remember to ad a random number to the file name of the ad, so corona will actually load it.
For iOS i’ve run into problems with .png ads because some of them get that ‘unsupported color space’ error and show up white. but on android it works great.
It’s better than the AdMob solution because you don’t have to deal with the web popup, and you can wait to switch ads until the new ad is loaded. meaning the player always sees an ad. And they have a higher fill rate.
It could be better than a native solution, because the ads will work across any platform corona ports to, even in the simulator.
-Angelo [import]uid: 12822 topic_id: 9457 reply_id: 58817[/import]