Show AdSense Ads Just After Headings (H2, H3 together with H4) inwards Blogger
Learn hither to position Google AdSense Ads but later on Heading(H2), Sub-heading(H3) together with Minor-Heading(H3) inwards the ship service of Blogger
Hello, Bloggers!
Welcome back. As nosotros know that Google AdSense is the biggest platform to earn coin online through promotion on blogs together with websites. As nosotros know, later on getting right traffic on our blog. We postulate to utilise Google AdSense inwards a proper means without breaking whatever Google AdSense price together with conditions. So, you lot know that later on connecting your blog alongside AdSense. You exclusively know nearly to position AdSense ads through "Add a gadget" on layout section.
We know that Google AdSense is providing responsive together with matching Ads according to your contents. That's a skillful tidings for us. So, nosotros postulate to utilise maximum earning revenue without breaking whatever Google AdSense policy. So permit us outset to produce this.
How to demo AdSense Ads but later on headings?
Follow these steps to setup AdSense code but later on headings.
1. First instruct to www.blogger.com, log inwards your spider web log together with click on "Template" section on your blog.
2. Click on "Edit HTML"
3. Click left push of the mouse within HTML code box together with press (CTRL+F) to opened upward the search box. Type <data:post.body/> inside search box together with click Enter push of your keyboard.
4. After clicking on entering discovery out these this code. If <data:post.body/> code exists to a greater extent than than 1 times. Then instruct alongside the 2nd one.
5. Replace <data:post.body/> this code alongside below codes.
<b:if cond='data:blog.pageType == "item"'>
<div id='adsense-content' style="display:block;text-align: center">
PASTE YOUR ADSENSE CODE
</div></b:if>
<div id='adsense-target'><data:post.body/></div>
<script type='text/javascript'>
piece of job insertAfter(addition,target) {
var nurture = 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>
6. Before pasting your AdSense codes within inwards a higher house code. You should parse it or convert into text form. To parse the Google AdSense code click here.
7. After parsing the Google AdSense code position it into the inwards a higher house code or supervene upon PASTE YOUR ADSENSE CODE describe of piece of job alongside your converted AdSense code.
8. ("br"); inwards this code supervene upon the bar with h2, h3 or h4 according to your use. If you lot desire to demo AdSense Ad later on h3 (sub-heading) then supervene upon the br code alongside h3. The code volition live similar this ("h3"); .
9. After that, your piece of job is over. Click on salvage the template.
10. Before doing these all thing, you lot should brand a backup of your template.
Hope this AdSense code setting method volition live useful for you. If you lot postulate whatever form of aid related to this code or other code nearly AdSense. Please write below inwards the comment box. I am ever alongside you. Thank you!
Belum ada Komentar untuk "Show AdSense Ads Just After Headings (H2, H3 together with H4) inwards Blogger"
Posting Komentar