Adsense With Adblock.

Discussion in 'AdSense' started by timallard, Dec 3, 2006.

  1. #1
    Is there a way,...well i know there is a way...but how would i display a message if someone is using adblock software.

    e.g. if a user can see my ad, display the ad. if the ad is being blocked, display a message instead, or other content i could display thats not an ad.

    i dont need an explination of the coding,..just if there is a way to do it and lead me in the right direction. :)

    Thanks!
    -Tim
     
    timallard, Dec 3, 2006 IP
  2. timallard

    timallard Well-Known Member

    Messages:
    1,634
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    158
    #2
    i dont like the idea of iframes..but what about a php include? have the adsense on the top and have the content on the bottom...i believe if the ad gets blocked it shows nothing,..but do you think it will just bup the content up to the top of the include page??

    ohhhhhh please say yes. ;)
     
    timallard, Dec 3, 2006 IP
  3. trevlar

    trevlar Peon

    Messages:
    65
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    First of all, I don't think it's possible. Even if you put them in an iframe, the extension will still block the ads. And a PHP include is all done server-side, and the adblock extension works within the browser. So that's out of the question, too.

    Second, you probably shouldn't spend much time even trying. It won't be worth it. People who use the AdBlock extension probably wouldn't click on an ad anyway, even if it were there.
     
    trevlar, Dec 3, 2006 IP
  4. timallard

    timallard Well-Known Member

    Messages:
    1,634
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    158
    #4
    but thats the thing, if they have ad block on, i want to put other content in there so its not empty space
     
    timallard, Dec 3, 2006 IP
  5. tlainevool

    tlainevool Guest

    Messages:
    1,071
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It's not possible from the server side. All the ad blocking is done on the client side, so there is no way for the server side to know that it is even happening.

    Maybe it is possible for some JavaScript to try to detect if the ad is being displayed or not, and if it isn't, it will put something else in there.
     
    tlainevool, Dec 3, 2006 IP
  6. cellularnews

    cellularnews Peon

    Messages:
    246
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If you are a premium publisher, then I gather you can serve ads as an xml feed from within your server so that it is not blockable via the domain name.

    One other "trick" I once used on another site which sold its own adverts, was to use a random hash subfolder and a 404 rewrite. As each and every advert would be served from a random subfolder url, it was impossible to block.
     
    cellularnews, Dec 4, 2006 IP