Place adsense Ad Unit within the Post in various position

Place adsense Ad Unit within the Post in various Position
There is the trick to add Google AdSense ad unit right beside and inside within Blogger post content, so that the ad block will appear wrapped and floated inline to the top header. Before putting the adsense you have to prepare ad unit.


Preparing adsense ad code :


1. Login to adsense account and create a new unit.
2. For best results you can choose 300X250 Medium rectangle or 336X250 Large rectangle Format. If you don't like to put the below header then you can choose 728X90 size also.
3. Copy the code of adsense.
4. Run the copied code through HTML Escape Tool to escape special characters code. If you will paste unescaped code or default code then its will not work.
5. Copy the escaped code.


Now add code to the template :


1. Login to your blogger account.
2. Go to dashboard>Desing>Edit HTML.
3. Search for the following lines. 

4. Paste the Escaped Code to above it.
5. Now preview you blog. If looking good then save it.


If you want to do it in center then put the escaped code within   
  and   code.


If you want to show your adsense below the post and above the comment then search for  code and put the escaped code just above this code.


If you want to do it in center then put the escaped code within  and  code.


Now ad will appear in all your post. No need to put your ad manually in every post. 

0 comments:

Post a Comment

Share