Old Google Adsense code

Google has updated their adsense code to a newer version. Although it provides support to convert the legacy / old adsense code to the new one in the adsense admin panel easily, and also, it still counts the clicks and impressions on the old adsense code blocks, but it doesn’t provide any features to generate the code block with the old adsense code.

google-adsense-logo-350_0Some people might need to use the old adsense code block for various reasons, including that they are not very comfortable with using the adsense panel, or they want to hire a webdeveloper to work for their site and code block but don’t want to give him access to their adsense control panel, seo, etc.

There are various ad block format codes available below in this article which provide you with the old adsense code, pretty cool han! You just need to enter your adsense Ad Client id, which is like: pub-xxxxxxxxxx where xxxx is different for every user and you can get it from any adsense code block from google adsense panel easily.

Here is a list of old Google Adsense Codes that can be used to switched up and customized to meet your design and site requirements easily just by editing it directly. Just add your publisher / Adsense Ad client id number, and customize the colors.

Infact, all the all adsense codes use the same code, only the height and width is different mainly in these three line:

google_ad_width = 250;
google_ad_height = 250;
google_ad_format = “250x250_as”;

Select the code you want from available Old Google Adsense Ad Formats:

728×90 Leaderboard

468×60 Banner

234×60 Half Banner

125×125 Button

120×60 Skyscraper

160×60 Wide Skyscraper

180×150 Small Rectangle

120×240 Verticle Banner

200×200 Small Square

250×250 Square

300×250 Medium Rectangle (Recommended by Google)

336×280 Large Rectangle

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 = "728x90_as";
google_ad_type = "text";
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>

Top

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 = "468x60_as";
google_ad_type = "text";
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>

Top

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 = "234x60_as";
google_ad_type = "text";
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>

Top

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 = "125x125_as";
google_ad_type = "text";
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>

Top

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 = "120x600_as";
google_ad_type = "text";
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>

Top

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 = "160x600_as";
google_ad_type = "text";
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>

Top

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 = "180x150_as";
google_ad_type = "text";
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>

Top

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 = "120x240_as";
google_ad_type = "text";
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>

Top

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 = "200x200_as";
google_ad_type = "text";
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>

Top

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 = "250x250_as";
google_ad_type = "text";
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>

Top

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 = "300x250_as";
google_ad_type = "text";
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>

Top

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 = "336x280_as";
google_ad_type = "text";
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>

Top

One site is: http://oldadsensecode.com/ which provides you with the old adsense code block for your site. However, if you still don’t feel comfortable in using this, you can use any of the above old adsense code blocks codes, and just change pub-xxxxxxx to your google adsense ad client id and customize the ad block the way you want!.

4 comments on “Old Google Adsense code

  1. Hello there. How many people actually make a living with gogle adsense?
    I have adsense Ads on my website but I do earn any money. Any suggestions how to make people click on my Google AdSense Ads?..

    1. First thing is to get as much traffic as you can.

      Second is to keep that traffic engaged on your site for some time.

      Third is to play around with ads formats and positions and see which ones work the best and generate highest income!

Leave a Reply

Your email address will not be published.