How to test adsense ads without any fear of invalid impressions?

2

Sponsored Links


How to test adsense safely?

Those who use adsense would understand that it requires a lot of testing and retesting before arriving at that perfect layout for your ads. This testing might lead to a lot of unwanted impressions (that are against adsense TOS). Here are the two ways, I test my adsense ads without fear of invalid/excess impressions.

1) Use images exactly of the same size of the ad you are going to use. Pick the adsense images here.

2) Many a times you might want to check the layout rendered after the actual javascript is executed. Add a parameter google_adtest = “on”; to your adsense code and place it where you want to intend to put the actual code. For ex: If your adsense code is-

<script type="text/javascript"><!--
google_ad_client = "pub-****************";
/* 200x200, created 08/08/08 */
google_ad_slot = "12345678";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

The code after adding the parameter would become-

<script type="text/javascript"><!--
google_ad_client = "pub-****************";
/* 200x200, created 08/08/08 */
google_ad_slot = "12345678";
google_ad_width = 200;
google_ad_height = 200;
google_adtest = "on";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

With google_adtest=”on” , though you will see the ads related to your content, no impression or ad click will be added to your account and hence you are safe. I guess you must be wondering that Google adsense TOS does not allow any change of code then how come I am doing it. I have verified this from the Google Adsense team and they are ok with it.

NB: For one of my blogs hosted on blogger, I have created a dummy blog. All testing related to new layouts, ads etc is done on this dummy blog.

Digg, Stumble, Twit or share this post by clicking on any of the buttons below:
  • Digg
  • del.icio.us
  • StumbleUpon
  • Sphinn
  • Yahoo! Buzz
  • Technorati
  • TwitThis
  • Facebook
  • MySpace
  • Google Bookmarks

Want to get an update as soon as we publish new article? I recommend you to subscribe via RSS Feed. You can also subscribe by email and have new articles sent directly to your inbox. It's absolutely free!

Related posts:

  1. Reason why your Google Adsense earnings are falling

Comments

2 Responses to “How to test adsense ads without any fear of invalid impressions?”
  1. safri says:

    Hello! I do regularly visit your Blog cause i like it so much.
    Can you please help me with my blogger blog
    1 when i signed in for Adsense everything was OK but they later sent a mail that scripting of the page was wrong something like that
    2 when I tried to move the elements of right side bar to left side bar it indicating error like yqurjh which is so unbearable.
    please help me……..
    safrifeed@gmail.com

Trackbacks

Check out what others are saying about this post...
  1. [...] clarify with adsense support whether it is legal to do that. A couple of times I wanted to do that. First time they told yes but in second case I was shown the red flag. Though I was sure that in both cases, I wasn’t [...]



Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!