Add it to blogger
1. Go to Blogger Dashboard>> Template>> Proceed and find the following Code by pressing CTRL+F. (how to find code using Search bar)<data:post.body/>
2. Replace the above code with the following Code.
<div expr:id='"ads1" + data:post.id'></div> <div style="clear:both; margin:10px 0"> PUT YOUR PARSED ADSENSE CODE HERE </div> <div expr:id='"ads2" + data:post.id'> <data:post.body/> </div> <script type="text/javascript"> var obj0=document.getElementById("ads1<data:post.id/>"); var obj1=document.getElementById("ads2<data:post.id/>"); var s=obj1.innerHTML; var r=s.search(/\x3C!-- adsense --\x3E/igm); if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);} </script>
3. Replace the above word (“PUT YOUR PARSED ADSENSE CODE HERE”) with your adsense parsed code. you can parse your adsense code by using Our HTML ENCODER TOOL.
4. Time to add adsense ads in post. Copy the below code and paste it in your post editor (“HTML View”) where you want to show ads.
<!--adsense-->
and you're done!!!! Click on publish button and view adsense in your post description.
Note:-if you don not want add code in every post use below Method..
Tip: Add the <!-- adsense --> code to your post template. In blogger Dashboard Click 'settings' –>'Post and comments' –>and find the word “post template” click add>> and paste the code in post template text area and click on save setting button. Done!
(Google help-Whats post template?)
I am always open to curious and delicious questions so never hesitate asking for help. Thanks for reading our post.