• Resolved bobsled

    (@bobsled)


    I started testing your plugin today, and it is just what I needed. Thanks.

    Just one question. What’s the best setup for Adsense with the plugin?

    I use Ad Inserter, and I usually serve different ads for mobile and desktop with server-side detection. But it doesn’t seem to work with Super Page Cache. The same ads appear on mobile and desktop.

    I have tried client-side detection, but it then fails to load ads.

    Do you have any advice on how best to handle Adsense?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @bobsled,
    This plugin has nothing t do with Adsense but I do get your question.

    I use Ad Inserter, and I usually serve different ads for mobile and desktop with server-side detection.

    – Server side detection won’t work with any caching system as when a page is being served from cache the PHP doesn’t gets reparsed. So, basically, the server-side detection won’t work with any caching.

    I have tried client-side detection, but it then fails to load ads.

    – Client-side detection works well with caching but not sure why it’s not working for you. You need to dig deeper into this.

    Do you have any advice on how best to handle Adsense?

    – My advice would be not to do any of the above and just use Adsense Responsive Ad Block where you can show the different size of ads on a single ad unit based on different screen size just by using a few lines of CSS.

    Thread Starter bobsled

    (@bobsled)

    Thanks. I’ll follow your advice and add some CSS.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to mangage Adsense’ is closed to new replies.