1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Possible way to deal with ad blockers?

Discussion in 'AdSense' started by mika, Mar 28, 2006.

  1. #1
    Hi guys, I thought about a way how to deal with those ad blockers. I don't know if it works yet since I'm not using one but maybe some of you (especially you Windows guys, since I'm on a Mac) could try it with several ad blockers.

    So our normal AdSense code looks like this:

    <script type="text/javascript"><!--
    google_ad_client = "pub-xxx";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as";
    google_ad_type = "text_image";
    google_ad_channel ="";
    google_color_border = "336699";
    google_color_bg = "FFFFFF";
    google_color_link = "0000FF";
    google_color_url = "008000";
    google_color_text = "000000";
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    Code (markup):
    What you could do is change the last but one line to this:

    src="http://your.site.com/menu.html">
    Code (markup):
    And make a 301 redirect from http://your.site.com/menu.html to http://pagead2.googlesyndication.com/pagead/show_ads.js. So you would basically hide the original Google URL.

    There might still be a problem if the ad blockers were looking for google_* parameters in the JavaScript. I have no idea how to trick them on this one yet. And of course you might want to check with Google if you are allowed to make such a change :)
     
    mika, Mar 28, 2006 IP
  2. ryan_uk

    ryan_uk Illustrious Member

    Messages:
    3,983
    Likes Received:
    1,022
    Best Answers:
    33
    Trophy Points:
    465
    #2
    If you read this thread you'll find an alternative option for when javascript is blocked, but really it's a minority who are using ablockers (at least knowingly). Find additional, non-javascript and *interesting to your target-audience* ways to make cash if you want to make sure everyone sees "offerings" (it still doesn't guarantee earnings will change, though, as people block these ads for a reason).

    I doubt google would allow such a change as they do state that no changes to the code should be made. Definitely ask google.
     
    ryan_uk, Mar 28, 2006 IP
    mitchandre likes this.
  3. Jarodboy

    Jarodboy Prominent Member

    Messages:
    7,233
    Likes Received:
    405
    Best Answers:
    0
    Trophy Points:
    330
    #3
    I don't think you are allowed to change the adsense code...
     
    Jarodboy, Mar 28, 2006 IP
  4. Jenstar

    Jenstar Active Member

    Messages:
    524
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    68
    #4
    This method is definitely against the AdSense terms.
     
    Jenstar, Mar 28, 2006 IP
  5. Nikolas

    Nikolas Well-Known Member

    Messages:
    1,022
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    150
    #5
    It does not worth to be banned from google just to display ads to the 0,01% of your visitors who are using ad blockers :)
     
    Nikolas, Mar 28, 2006 IP
  6. mika

    mika Active Member

    Messages:
    136
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #6
    I'm sorry that my post was so boring that you didn't want to read it to the end ;)
     
    mika, Mar 28, 2006 IP
  7. Jenstar

    Jenstar Active Member

    Messages:
    524
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    68
    #7
    I did read it to the end, I was just stating that publishers definitely aren't allowed to make this kind of change, while you said people should check.
     
    Jenstar, Mar 28, 2006 IP
  8. mitchandre

    mitchandre Peon

    Messages:
    313
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #8
    In Jenstar's defense, I did find the post so boring I didn't read it to the end. :p
     
    mitchandre, Mar 28, 2006 IP
    ryan_uk likes this.
  9. Jowan Pasco

    Jowan Pasco Peon

    Messages:
    38
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Why would you want to bother with this, anyway? People who run ad blockers are unlikely to click on the ads anyway, and will only get annoyed by the fact that you've managed to get around them.
     
    Jowan Pasco, Mar 28, 2006 IP
  10. devin

    devin Guest

    Messages:
    4,461
    Likes Received:
    449
    Best Answers:
    0
    Trophy Points:
    0
    #10
    it's not that we didn't read it to the end, it's just that you asked a question similar to "should i check with google if i can click on my own ads to increase revenue for me and for GOogle themselves?".

    it's written clearly that you cannot change the code.
     
    devin, Mar 28, 2006 IP