How to add Google Adsense ads into the post

, Posted by ngsk at 1:58 AM

Lot of people will be having problem in adding google adsense ads just inside the post, mainly for the beginners.

<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxxxxx";
/* 468x60, created 9/10/09 */
google_ad_slot = "xxxxxxxxxx";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

If you directly past above code into the blogger post there adsense ad will not be displayed. After researching a lot i found a small trick by using this trick you can eembedded it into your blogger post without using a add gadget code.


For example if to take following line of code
<script type="text/javascript">

Now change above line of code to that as it shown in below figure



At the end total google adesense code just looks like



Now paste this code at any part of the post