CrazyLinks4Free
msgbartop
The technical bloggers home
msgbarbottom

24 Jul 08 how to add adsense ads between posts in new blogger

you can embed google ads between blogger posts quite easily in new blogger template. all you have to do is to follow these simple steps:

  • go to blogger dashboard & click on Layout link
  • click on the Edit link in “Blog Posts” column
  • check the box next to “Show Ads Between Posts” in the pop-up window
  • save the changes

you can also configure your ads settings there.
but when someone will visit a particular post link in your site the adsense ads will appear below the post. if you want to show the ads inside post body you have to do the followings:

  • go to blogger dashboard>Layout>Edit HTML
  • check the box next to “Expand Widget Templates”
  • now scroll down & find out the code

  • place the below code just above red arrow

<b:if cond='data:blog.pageType == "item"'> <b:if cond='data:post.includeAd'> <data:adEnd/> <data:adCode/> <data:adStart/> </b:if> </b:if>

  • again find out the following code within red border
  • replace it with the below code

<b:if cond='data:blog.pageType != "item"'> <b:if cond='data:post.includeAd'> <data:adEnd/> <data:adCode/> <data:adStart/> </b:if> </b:if>

  • save the changes

you are done. & don’t forget to save your template before you make the changes.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • StumbleUpon

Related posts:

  1. how to add third party ads between blogger blog posts in the last post i have mentioned how to add...
  2. how to show html tags in your blog posts if you are using blogger & want to display html...
  3. just completed transfer from blogger to WordPress After using blogger for more than a year or two...
  4. SEO friendly WordPress - Having your posts end in .html There’s an easy way to having your posts end in...
  5. want to blog for money, choose Smorty advertisers pay for writing a review post in your blog...

Related posts brought to you by Yet Another Related Posts Plugin.

Leave a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word