Sunday, 6 May 2012

2 how to add adsense inside post |adsense ad units inside post area|adsense between posts

adsense inside posts can be easily added using the steps given below.
  • first you need to get your adsense code.those who dont know how t o get the adsense code can click this link https://www.google.com/adsense/support/bin/answer.py?answer=10191 to get your adsense code
  • Then you have to parse it.just visit this website http://www.blogcrowds.com/resources/parse_html.php and click on parse button on that site after copying adsense code
  • Then go to your  blogger dashboard and click design and under that select edit html
  • put a tick on the expand widgets template
  • Now search for this code <div class='post-body entry-content'>
  • after finding this type the following code below that line 
<div style='float:center; margin: 0px 0px 0px 10px;'>
"your parsed code"
</div>

this will put adsense inside the post just after the title.you can also change the postion of ad to left or right by changing  <div style='float:center; margin: 0px 0px 0px 10px;'> to <div style='float:right; margin: 0px 0px 0px 10px;'> for right alignment or <div style='float:left; margin: 0px 0px 0px 10px;'> for left alignment

you can also add adsense ad just after post.for this search for <div class='post-footer'>
and add the code
<div style='float:center; margin: 0px 0px 0px 10px;'>
"your parsed code"
</div>
 i hope you like this tutorial.please fell free to ask any doubts.i am always here to help you!
tags:adsense inside post adsense inside blogger post how to put adsense inside post

No comments:

Post a Comment

chitika