Jump to content

Hide an image-only Advertisement on mobile?


Thomas P

Recommended Posts

Posted

Hi folks,

how can I hide an Image-Only Advertisement on Mobiles and Tablets?

I read that topic here, which isn't what I need since I have no code - just an image.

Basically we use Skyscraper which doesn't make any sense on mobiles...

Workaround would be to add a single pixel gif using "Upload smaller version", but this sounds awkward to me.

Thank you,
Thomas

Posted
35 minutes ago, Thomas P said:

We have no smaller version of the advertising material, only workaround is to upload a single pixel gif if I see this correctly...

If it only kicks in if something is uploaded there, then yes, do that. 

Posted
On 1/25/2018 at 3:34 AM, Thomas P said:

Solved: 

:)

This is a big mistake.  The ad still renders but is hidden with css.  Your ad server still registers the impression and charges the end user.  If this is a 3rd party network you are likely violating their TOS.

Posted
19 minutes ago, Fast Lane! said:

The ad still renders but is hidden with css. 

No. Display:none means, it is “not rendered”. That’s the whole point. It’s not set to “hidden” or moved from the screen or anything like that. 

Quote

If this is a 3rd party network you are likely violating their TOS.

Google specifically allows the case that was discussed here (hiding as part of a responsive design). You are allowed to not show an ad slot at all on smaller devices. Of course you are. It’s not like Google would force you to show the ad slot no matter what. 

Proof: 

https://support.google.com/adsense/answer/1354736?hl=en

Google’s example code which does exactly that: https://support.google.com/adsense/answer/6307124#hide

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...