Google AdSense/monetization


#1

Hi guys,

Has anyone successfully integrated Google Adsense or any other mobile advertising system into their apps? I’m having trouble finding any information on the matter. I did find this http://stackoverflow.com/a/17512141 but the advert just comes out blank… A localhost issue?

Anyway, I’d love to hear how you guys monetise your apps with adverts!

Rikki


#2

When you say it comes out blank - do you mean in Chrome on desktop or on the device when wrapped in Cordova?

If Cordova, you need to look at the whitelisting settings in your config.xml.

You may also need to consider : http://docs.angularjs.org/api/ng/provider/$compileProvider Perhaps you need to whitelist the Adsense URLs?


#3

Hi @Calendee

Can you please tell hoe to whitelist adsense links in cordova?