Learn about web site design and development, affilite programs, SEO, search engines, Google, and more.

Old Google Adsense Codes

For those of you who started with Google Adsense way back when, here is a list of the legacy or old Google Adsense codes below. Currently there’s no way to generate the old code from the publisher’s account management area. Just copy the ad size that you need and replace the following manually:

replace the sample publisher number with your own publisher id number;
replace the sample ad channel name with your ad channel name;
replace the sample ad channel id number with your ad channel id number;
replace the sample ad colors with your site’s color scheme

Note: if you want to use text and image ads, substitute google_ad_type = “text_image”;  for google_ad_type = “text”;.

728×90 Old Google Adsense Code

<script type=”text/javascript”><!–
google_ad_client = “pub-XXXXXXXXXXXXXXX”;
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = “728×90_as”;
google_ad_type = “text”;
//2008-03-02: hooverwebdesign.com
google_ad_channel = “your_ad_channel”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “0000FF”;
google_color_text = “000000″;
google_color_url = “008000″;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js“>
</script>
468×60 Old Google Adsense Code

<script type=”text/javascript”><!–
google_ad_client = “pub-XXXXXXXXXXXXXXX”;
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = “468×60_as”;
google_ad_type = “text”;
//2008-03-02: hooverwebdesign.com
google_ad_channel = “your_ad_channel”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “0000FF”;
google_color_text = “000000″;
google_color_url = “008000″;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js“>
</script>
234×60 Old Google Adsense Code

<script type=”text/javascript”><!–
google_ad_client = “pub-XXXXXXXXXXXXXXX”;
google_ad_width = 234;
google_ad_height = 60;
google_ad_format = “234×60_as”;
google_ad_type = “text”;
//2008-03-02: hooverwebdesign.com
google_ad_channel = “your_ad_channel”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “0000FF”;
google_color_text = “000000″;
google_color_url = “008000″;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js“>
</script>
125×125 Old Google Adsense Code

<script type=”text/javascript”><!–
google_ad_client = “pub-XXXXXXXXXXXXXXX”;
google_ad_width = 125;
google_ad_height = 125;
google_ad_format = “125×125_as”;
google_ad_type = “text”;
//2008-03-02: hooverwebdesign.com
google_ad_channel = “your_ad_channel”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “0000FF”;
google_color_text = “000000″;
google_color_url = “008000″;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js“>
</script>
120×60 Old Google Adsense Code

<script type=”text/javascript”><!–
google_ad_client = “pub-XXXXXXXXXXXXXXX”;
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = “120×600_as”;
google_ad_type = “text”;
//2008-03-02: hooverwebdesign.com
google_ad_channel = “your_ad_channel”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “0000FF”;
google_color_text = “000000″;
google_color_url = “008000″;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js“>
</script>
160×600 Old Google Adsense Code

<script type=”text/javascript”><!–
google_ad_client = “pub-XXXXXXXXXXXXXXX”;
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = “160×600_as”;
google_ad_type = “text”;
//2008-03-02: hooverwebdesign.com
google_ad_channel = “your_ad_channel”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “0000FF”;
google_color_text = “000000″;
google_color_url = “008000″;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js“>
</script>
180×150 Old Google Adsense Code

<script type=”text/javascript”><!–
google_ad_client = “pub-XXXXXXXXXXXXXXX”;
google_ad_width = 180;
google_ad_height = 150;
google_ad_format = “180×150_as”;
google_ad_type = “text”;
//2008-03-02: hooverwebdesign.com
google_ad_channel = “your_ad_channel”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “0000FF”;
google_color_text = “000000″;
google_color_url = “008000″;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js“>
</script>
120×240 Old Google Adsense Code

<script type=”text/javascript”><!–
google_ad_client = “pub-XXXXXXXXXXXXXXX”;
google_ad_width = 120;
google_ad_height = 240;
google_ad_format = “120×240_as”;
google_ad_type = “text”;
//2008-03-02: hooverwebdesign.com
google_ad_channel = “your_ad_channel”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “0000FF”;
google_color_text = “000000″;
google_color_url = “008000″;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js“>
</script>
200×200 Old Google Adsense Code

<script type=”text/javascript”><!–
google_ad_client = “pub-XXXXXXXXXXXXXXX”;
google_ad_width = 200;
google_ad_height = 200;
google_ad_format = “200×200_as”;
google_ad_type = “text”;
//2008-03-02: hooverwebdesign.com
google_ad_channel = “your_ad_channel”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “0000FF”;
google_color_text = “000000″;
google_color_url = “008000″;
//–> </script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js“>
</script>
250×250 Old Google Adsense Code

<script type=”text/javascript”><!–
google_ad_client = “pub-XXXXXXXXXXXXXXX”;
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = “250×250_as”;
google_ad_type = “text”;
//2008-03-02: hooverwebdesign.com
google_ad_channel = “your_ad_channel”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “0000FF”;
google_color_text = “000000″;
google_color_url = “008000″;
//–> </script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js“>
</script>
 

300×250 Old Google Adsense Code

<script type=”text/javascript”><!–
google_ad_client = “pub-XXXXXXXXXXXXXXX”;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = “300×250_as”;
google_ad_type = “text”;
//2008-03-02: hooverwebdesign.com
google_ad_channel = “your_ad_channel”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “0000FF”;
google_color_text = “000000″;
google_color_url = “008000″;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js“>
</script>
336×280 Old Google Adsense Code

<script type=”text/javascript”><!–
google_ad_client = “pub-XXXXXXXXXXXXXXX”;
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = “336×280_as”;
google_ad_type = “text”;
//2008-03-02: hooverwebdesign.com
google_ad_channel = “your_ad_channel”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “0000FF”;
google_color_text = “000000″;
google_color_url = “008000″;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js“>
</script>

Enjoy!

Gina

Content © 2008 Hoover Web Design http://www.hooverwebdesign.com

March 18th, 2008 at 4:12 pm


Comments are closed.