Google Adsense ads do not work on Jquery Mobile website :-(

Опубликовано: 14 Апрель 2012
на канале: tallbrunette22
2,237
8

Google Adsense ads do not work on Jquery Mobile website.
:-(

I've had several people working on this problem and they say that the ads should work, but there is something in the Google show_ads.js that is not allowing it to work.

I've even heard of people on the internet, saving the Google show_ads.js file to their server, making a change to it, and then it works
http://forum.jquery.com/topic/google-...

I wonder if Google is working on this problem? They have recently built a maps plugin for jquery mobile, so Google must think that Jquery Mobile is worth supporting.

The above video shows how the google ad does not show when following links between pages. This is because the pages are loaded via Ajax, and so when a new page is loaded, the ads don't display.

I can make the ads work by disabling Ajax in Jquery Mobile. This required 3,000 changes to my application and 10 hours worth of work.

This is really unfortunate though because Ajax provides a lot of benefits to a mobile website... Disabling Ajax will slow down the site, make it less user-friendly, and it won't feel like an app anymore, etc. Also, it will result in an increase in bandwidth, since the js and css files will need to be reloaded on every page (phones cannot cache these files like desktop browsers can).

The other way for me to make it work, is to put the Google ad in an iframe. But this is against the Google Adsense Terms of Use.


Смотрите видео Google Adsense ads do not work on Jquery Mobile website :-( онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь tallbrunette22 14 Апрель 2012, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,23 раз и оно понравилось людям.