Placing Ad units under the title of each post would get the visitors attention every time when the page is loaded. Adding Ad units under the title is not a heavy task but a simple one which needs your little attention while adding it.
Placing Ad units under the title
Following is the process of adding a Ad unit under the title in blogger.Step 1: Create an Ad Unit from www.Adsense.com and copy the installation code.
Step 2: Go to www.blogcrowds.com/resources/parse_html.php and parse the Ad code. Then copy the parsed code. The parsing code is nothing but replacement of ‘<’ with ‘<’ and ‘>’ with ‘>’ and so on.
Your parsed Ad code would look something like this:
Synchronous Ad Code:
<script type="text/javascript"><!--
google_ad_client = "ca-pub-XXXXXXXXXXXXXXXXXXXX";
/* YOUR AD NAME */
google_ad_slot = "xxxxxxxxx";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="//pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Asynchronous Ad Code:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- YOUR AD NAME -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-XXXXXXXXXXXXXXXXXXXX"
data-ad-slot="XXXXXXXX"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Step 3: Go to your blogger blog’s dashboard > Template > Edit HTML. Press Ctrl+F and find the following piece of code.
<data:post.body/>
Now paste the parsed Ad code right before the above piece of code.
Step 4: Save template and check it on your blog. It might take 5-15 minutes to show up the Ad if it is a newly created Ad unit. If it is old, already created Ad unit code, you would see the Ad instantly.
That’s all! isn’t it simple! Comment below if any assistance is needed. Thank you!
Post a Comment