| Adsense ads location tips |
We want more and more blog readers read our AdSense ADS. The location is very Impotent us for what Adsense Ads. First post Peragraf placing Adsense AIDS get more impressions
First we Paragraph AdSense ads are placed in what manner it will give us step by step. For that we will need to edit the HTML of your blog
How to Adsense Ads after First and second Paragraph in Blogger Post 2016
Step-1
First Login Your Blogger Account
Step-2
After you click on the template option, click on it you will edit the HTML option
Step-3
Click Ctrl-F and Find Now you the HTML code below to search
<data:post.body/>
Step-4
Add the Blue line in above code
<div id='adsense-target'><data:post.body/></div>
Step-5
Convert Your Adsense Add Code To Plan Text Click here
Copy the below code and past adsense code Step-4 Above
<b:if cond='data:blog.pageType == "item"'><div id='adsense-content' style="display:block;text-align: center">ADSENSE CODE HERE</div></b:if>
Step-7
Complete copy and paste the code, Save Template
Note: If you want to keep your Adsense ads right side then change the code given below
<b:if cond='data:blog.pageType == "item"'><div id='adsense-content' style="display:block;text-align: center">ADSENSE CODE HERE</div></b:if>
Left Side optimize
Replece the above code change it below
<div id='adsense-content' style="display: inline-block;float: left;margin:15px 15px 15px 0px">
Left Side optimize
Replece the above code change it below
<div id='adsense-content' style="display:inline-block;float:right;margin:15px 0px 15px 15px">
Step-8
Copy the below code and past adsense code Step-4 Below
<script type='text/javascript'>
function insertAfter(addition,target) {
var parent = target.parentNode;
if (parent.lastChild == target) {
parent.appendChild(addition);
} else {
parent.insertBefore(addition,target.nextSibling);
}
}
var adscont = document.getElementById("adsense-content");
var target = document.getElementById("adsense-target");
var linebreak = target.getElementsByTagName("br");
if (linebreak.length > 0){
insertAfter(adscont,linebreak[0]);
}
</script>
Save Template
Note: To insert second paragraph in adsense ads to change red value in 0 to 2
Save template

No comments:
Post a Comment