Many bloggers have been wandering how I place my Adsense ads in the middle of my blogger posts well, wonder no more because today I will be sharing with you How to Enable AdSense Ads in the Middle of Posts on Blogger.
Jump To
Please note that you can place any ad code in the Middle of your blogger post this is not limited to only Adsense ads follow these easy steps below to get started.
Why Do I Need To Show Ads In The Middle of My Blogger Posts?
- More Exposure.
- Serves as suggestions (ads may show based on content).
- Easily Spotted.
Here's How to Enable Ads in the Middle of Posts on Blogger
On the Blogger dashboard from the sidebar menu navigate toTheme
& on the theme page click on Edit HTML
.Search for the code
<data:post.body/>
. If there are many, make sure to select those that are in the conditional tag of the post page.Add this HTML code BELOW
<data:post.body/>
. Then in the HTML below paste your ads code below <!-- AdSense Ad Code -->
or just replace it with your ad code.<div class='hownaijaMiddleAds'>
<!-- AdSense Ad Code -->
</div>
Then add this script ABOVE
</body>
tag.<b:if cond='data:view.isPost'>
<script> //<![CDATA[
// Middle Ads Inside Post by hownaija
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('K b=["\\j\\o\\e\\j\\a\\c\\J\\j\\h\\h\\c\\a\\C\\h\\i","\\o\\a\\d\\M\\c\\a\\u\\a\\e\\d\\i\\y\\r\\Q\\c\\q\\i\\i\\s\\q\\u\\a","\\w\\m\\f\\i\\d\\v\\n\\f\\h\\r\\t\\n\\k\\P\\t\\w\\m\\f\\i\\d\\v\\n\\f\\h\\r\\t\\m","\\H\\O\\a\\k\\r\\x\\a\\c\\a\\D\\d\\f\\k\\C\\c\\c","\\c\\a\\e\\o\\d\\F","\\e\\f\\h\\a\\s\\q\\u\\a","\\E","\\j\\e\\i\\a\\k\\d\\y\\a\\G\\f\\k\\a","\\m\\q\\k\\a\\e\\d\\s\\f\\h\\a","\\e\\a\\I\\d\\x\\j\\n\\c\\j\\e\\o"];(N(){B p=A[b[1]](b[0])[0];z(p){B g=A[b[3]](b[2]),l=L(g[b[4]]/2);z(g[l][b[5]]==b[6]){g[l][b[8]][b[7]](p,g[l])}R{g[l][b[8]][b[7]](p,g[l][b[9]])}}})()',54,54,'||||||||||x65|_0x3dea|x6C|x74|x6E|x6F|_0x60f0x2|x64|x73|x69|x72|_0x60f0x3|x70|x62|x67|_0x60f0x1|x61|x79|x4E|x20|x6D|x2D|x2E|x53|x42|if|document|let|x41|x63|x50|x68|x66|x71|x78|x4D|var|parseInt|x45|function|x75|x2C|x43|else'.split('|'),0,{}));
//]]> </script>
</b:if>
You will need to add a little CSS so the ads don't get too close to the content above and below it. Save ABOVE
</style>
Or ]]></b:skin>
. If the distance is still less or too excessive, just adjust it yourself./* Middle Ads Inside Post by hownaija.com.ng */
.hownaijaMiddleAds {display:block; margin:10px 0px; padding:0px;}