X

How to test Google Adsense Ads

    Categories: How To

We have been designing a new sister site and in the process had to test Adsense ads to fit the layout of the new theme. According to Google, we are not allowed to display Adsense on pages that are under construction. So how are we to test how the ad unit will look ? Finally we found a solution…

How to test / preview Google Adsense Ads

  1. Get the Adsense code for the ad you wish to test ( You should know how to do this ).
  2. Add the following code after the second line of the adsense code
  3. google_adtest = “on”;

  4. You new code should look like this
  5. The ads will be displayed as a test and will not be counted towards the normal page displays or eCPM.

Hope this helps some of you. Feel free to leave your comments below.

How to test Google Adsense Ads
Rate this post

Alfred M :Alfred is a Pilot & Tech blogger from Bangalore, India. He has worked with DSL providers like AOL, SBC, Verizon & Covad as a tech specialist. Currently he is pursuing a career in aviation.