note! This has been updated go here: AdSense Test Code for a Website
I am implementing a new site and needed to install Adsense but did not want to put in live code.
Adsense does not allow you to put their code on pages that are under construction so here is a legal work around.
All you have to do is add google_adtest = ââ¬Ëonââ¬â¢; to each AdSense block you’re testing on your website. It will still show all the ads, but will ignore any clicks on your part until you remove this test option from your code. It is allowed to change the AdSense block source code to add this line, so you will not violate any terms or conditions.
Here is the code:
<script type="text/javascript"><!ââ¬â
google_ad_client = "pub-xxxxxxxxxxxxxxxx";
<strong>google_adtest = ââ¬Ëonââ¬â¢;</strong>
google_alternate_color = "FFFFFF";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728Ãâ15_0ads_al_s";
google_ad_channel ="9517067767";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "336699";
google_color_text = "000000";
google_color_url = "336699";
//ââ¬â></script>
Put your pub id where applicable
—————-
Now playing: Misty Edwards – The Way You Move Me
Posted on Monday, February 5, 2007 by Carl Thomas / Affiliate Preacher |
Comments(3)










Categories