July 2, 2009

How To Insert Adsense Ads In Blogger Post

This will explain how to Embed adsense ads in between posts body.

1.Generate Parsed code for adsense code because we cannot put adsense code directly in the xml.So parse it using AdParser.

2.After parsing your ad code Should look like this.

ads11

How To Place Ad above or below your post header

Log in to your dashboard--> layout- -> Edit HTML

Click on "Expand Widget Template" and  scroll down  to where you see this:-

<div class='post-header-line-1'/>

To place ad above your post header.Paste the code above this line.

To place ad below your post header.Paste the code below this line.

How To Place ad end of your post body

log in to your dashboard--> layout- -> Edit HTML

Click on "Expand Widget Template" and  scroll down  to where you see this:-

<p><data:post.body/></p>

Paste the code below this line, to show your ad at the end of your post.

NOTE : To Set the Align of your ad , Insert your code like this.

<p align="center"> 
Your Ad code
</p>

Replace "center" with "left" or "right" for desired alignment.

Do you Like this Story..?

Get Free Email Updates Daily!

Follow us!

Do you Like This Story Widget For Blogger by Beautiful Blogger Widgets


Share/Save/Bookmark

0 comments:

 
Blogging Now And Then © 2009 Med ELJAMALI