Question

It is really unclear what to use when you want to put ads on a cross-platform web application published as is on a website and also on the stores through phonegap.

Admob, Adsense ...?

Moreover, which one has a simple html/js integration system?

For now, I am using inmobi and their js api is very simple and nice, but I have cross domain problems...

Can you help clarify ?

Was it helpful?

Solution

this is Akshay, JS Dev, InMobi. InMobi is an ad-distributor. The ads/creatives are made by the advertisers. Also, these ads are placed in an iframe so that these ads cannot access the data present in your page, thus providing security. Because some ads try to "burst" out of the iframe, chrome throws the warning. However, these warnings can be safely ignored and will not affect your website's functionality.

That being said, InMobi's javascript is not responsible for these issues, rather the advertiser and InMobi has no control over this. There are some ad networks which require a dummy page to be present on your domain. By using such ad networks, the chrome warnings disappear (because the iframe is on your server and cross domain problems do not occur). However, by doing so, the ad has complete access to your webpage, compromising security.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top