By simeonabiola on
I have been searching the modules section, to see if there is module that support adsense for mobile content, but i can't find any yet. I would be glad, if anybody could give me a hint on how i can implement this on one of my site. Adding mobile adsense to a drupal 7 site.
Thanks
Simeon Tawose
Comments
I used php filter to display
I used php filter to display adsense for mobile content on my site.Get the code from google
Enable php filter in the module section,
Create a new block, paste the code from google and enable the block where you want it displayed
AdSense for Mobile
Simeon, there is a Google-recommended script for making Adsense work in a responsive setting but there isn't yet a module available for that. The instructions for using the script are rather simple but do you think it might be worth building a module to address this?
I've been using the script successfully for several months now but I've never used any php filter with it... for security reasons I have always preferred to not enable any php filters... I see more than enough probes already without throwing any potential problems from there into the mix.