How to put Adsense Ads in the Middle of Blog Post

You can implement ads in your blog post in two steps.

How to Insert Adsense Ads code automatically in every Blog Post.

We can Simply Implement in article Adsense Ad code show ads in every post.

Blog_Tutorials

Google Introduced new kinds of Native ads for its publishers to increase revenue and good user experience.  Native kind of ads helps you to increase your revenue by 60 percent.  Read this complete notes this will help you a lot. To Implement Adsense ads in blogger you have to make some changes in your blogger temple. 

Step by Step Guide.
<b:if cond='data:blog.pageType =="item"'>
<div id+'techaak-target' >
<data:post.body/>
</div>
<div id='techaak-content'>
<div style='margin:15x 0;text-align:center;clear:both;'>
<!---Place your Prased Adsense Adcode here--->
<div>
</div>
<div id='techaak-target'>
</div>
</b:if>
<b:if cond='data:blog.pageType =="static_page"'><data:post.body/><b:if>
Script code copy and paste in your blogger theme Script place.
<script type='text/javascript'>
function insetAfter(addition,target){
varparent = target.parentNode;
if (parent.lastChild == target) {
parent.appendChild(addition);
} else {
}
}
var adscont = document.getElementById("techaak-content");
var target = document.getElementById("techaak-target");
var linebreak = target.getElementsByTagName("br");
if (linebreak.length > ){
insertAfter(adscont,linebreak[2]);
}
</script>
Copy Above code and Paste in Notepad or any text editor application.
Open your Adsense Account.
Generate Adsense Ads or any ads (Text and Image ) code.
Now convert your Ad code xml - Click to convert your ad code here
Replace line <!-Place your converted code Adsense code here--> with your converted code.
Follow the few steps.
Now Open Bloggger.com and select "Theme".
Take a backup of your theme
Now click on "Edit HTML"
Now you'll see XML of your blog.
And Now search <data:post.body/>
Replace <data:post.body/> with the above code create note pad.
Note :  There may be 2 or 3 or more result for <data:post.bdoy> you've to make hit and trial method by checking all <data:post.body/>. In most of the templates, it works on 3rd result of <data:post.body/>
Dear readers if any chance it is not working please click below link and check once.
How to Add Adsense Ad Code on my blog post.

Post a Comment

Thanks for coming this blog. I will try to update unique content. The contents of this blog are from the Newspaper. It is advisable to consult a doctor or technician when following the health tips.

Previous Post Next Post