two ads in a page, but one of them is hidden. Is this OK?

Discussion in 'Placement / Reviews / Examples' started by LeeV18, Jun 27, 2013.

  1. #1
    Let's say I have two ads in a page.

    Ad 1: Big
    Ad 2: Small

    The small ad is hidden by CSS display:none.

    When the web browser resizes or when a mobile browser (like the iPhone) is used, the big ad gets set to display:none, and the small ad is shown. It's like they switch, thanks to CSS @media screen and (max-width: XXXpx).

    I wonder if this is ok, or is it allow in adsense?

    EDIT:
    Here's a live example from jsfiddle:
    http://jsfiddle.net/vF8eg/embedded/result/
    Resize your web browser and you'll see what I mean.

    Note: Please disable adblock on jsfiddle to see it.
     
    Last edited: Jun 27, 2013
    LeeV18, Jun 27, 2013 IP
  2. Expectation

    Expectation Member

    Messages:
    219
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    28
    #2
    mate don't do that its against of google adsense you will get ban better avoid it good luck
     
    Expectation, Jun 27, 2013 IP
  3. rojishroy

    rojishroy Well-Known Member

    Messages:
    74
    Likes Received:
    5
    Best Answers:
    2
    Trophy Points:
    140
    #3
    Hiding the ads can create troubles.

    If you are looking for responsive Adsense then you can use the code explained in this page:

    http://www.labnol.org/internet/google-adsense-responsive-design/25252/

    That code is very easy to setup and approved by Adsense. I am using it for last one month without any problems.
     
    rojishroy, Jun 27, 2013 IP
  4. TPvinod

    TPvinod Active Member

    Messages:
    204
    Likes Received:
    7
    Best Answers:
    3
    Trophy Points:
    90
    #4
    Never do it. Hiding ads/keywords/text is bad from google POV. Better to stay away than regret later.
     
    TPvinod, Jul 26, 2013 IP