A blog about cutting edge technology at its maximum pace.

Ritesh Warke On Saturday, April 9, 2011

This will explain how to Embedd 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 adsense converter.
2.After parsing,your ad code Should look like this.

adsense-code-converter
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.



This Post is written by: Ritesh R. Warke GPRS Expert & Webmaster. Ritesh R. Warke is a professional Ethical hacker, web designer and front end web developer.

1 comments:

Unknown said...

thanx alot sir i have found your post after 4 hour of work .and it works like wonder for me. thanx. alot. www.careerandtricks.com

Post a Comment

New Users Register Here