Support » Plugin: Google AdSense for Responsive Design - GARD » Inquiry the feature

  • jrliem

    (@jrliem)


    Hi,

    I need a feature which can show / hide adsense ad based on window width. Let say I would like to put ad in sidebar and above of title post. In the above title I put 3 ads, 729×90(1) and 300×250(2). If the browser window > 1200 px, the 729×90 will be displayed. It will be hide when the browser width get less than 1200 and the two 300×250 ads will be displayed. If the browser width get smaller into 600px then one of the rectangle ads will be hide.

    I tried using @media but didn’t work. As you can see, there are at least 4 ads in a page (content ads + sidebar ads). Google allows only 3 ads so sometime the horizontal ad empty. It still empty even though the rectangle ads have been hidden. I expect Google only count the displayed ads so there are only 3 ads in a page.

    Is the pro version able to solve the problem?

    Thanks.

    https://wordpress.org/plugins/google-adsense-for-responsive-design-gard/

Viewing 1 replies (of 1 total)
  • Plugin Author The Plugin Factory

    (@the-plugin-factory)

    The free version solves this. The thing is you’re trying to resize your browser to see the ads change, it won’t work that way. Devices don’t change the window size, they just load it at a smaller size, so first you must resize your window smaller, then reload the page.

    If you do this and you have set up GARD right, it’ll pick the smaller size to show because the screen width is smaller. CSS media selectors won’t help here.

Viewing 1 replies (of 1 total)
  • The topic ‘Inquiry the feature’ is closed to new replies.