• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
seegatesite header

Seegatesite.com

Seegatesite.com - Programming Tutorial , Sharing , How and Learn Together

  • TOOLS
    • Bootstrap Navbar Online Generator
    • Customize Sidebar Menu Bootstrap 3
    • Bootstrap Demo
  • ADVERTISE
  • CATEGORIES
    • Android
    • Blogging Tips
    • Database
    • CSS
    • Info Gadget
    • Javascript
    • Linux
    • PHP
    • Various
    • WordPress
  • Q&A
  • PHP
  • JAVASCRIPT
  • JQUERY
  • ANGULAR
  • WORDPRESS
  • SEO
  • REACT
🏠 » Blogging Tips » How To Insert Ads In The Middle Post Blogspot Blogger

How To Insert Ads In The Middle Post Blogspot Blogger

By Sigit Prasetya Nugroho ∙ January 26, 2019 ∙ Blogging Tips ∙ 2 Comments

Share : TwitterFacebookTelegramWhatsapp

How to install Google Adsense ads in the middle of Blogger posts. Actually there have been many who discussed the trick. There are visitors to Seegatesite.com who ask me how to insert ads in the middle of article posts. I have made a similar article, however, it can only be applied to WordPress CMS.

How To Insert Ads In The Middle Post Of Blogger

The benefit of putting up Adsense ads in the middle of a post is increasing Google AdSense revenue with a higher number of click ratios and will attract more readers to see advertisements, because of the more strategic ad position.

Table of Contents

  • 1 How to Install Adsense Ads in the Middle of Posts
    • 1.1 So a short tutorial on how to advertise in the middle of an article on Blogpost Blogger, hopefully useful

How to Install Adsense Ads in the Middle of Posts

To place an ad in the middle of a blogspot article, you only need to replace the specific code in the HTML template and replace it with the following code:

  1. Log in to the blogger account and select the blog to be edited, click the template menu, click the html edit button, then search for and replace the code with the following code
    1
    2
    3
    4
    5
    6
    7
    8
    <div expr:id='&quot;zet1&quot; + data:post.id'/>
    <div class='googleadz'>
    <!-- pasang kode iklan yang telah diparse di sini -->
    </div>
    <div expr:id='&quot;zet2&quot; + data:post.id'><p><data:post.body/></p></div>
    <script type='text/javascript'>
    var obj0=document.getElementById(&quot;zet1<data:post.id/>&quot;);var obj1=document.getElementById(&quot;zet2<data:post.id/>&quot;);var s=obj1.innerHTML;var t=s.substr(0,s.length/3);var r=t.lastIndexOf(&quot;&lt;br&gt;&quot;);if(r&gt;0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
    </script>
  2. Add the following CSS code so that the ad becomes neat before the code ]]> or
    1
    .googleadz{margin:15px auto;text-align:center}
  3. Save the template and see the results

You can install ad code other than Google Adsense by the above method.

Another article : Optimize Blog To Make Adsense Ads More Relevant With Your Content

So a short tutorial on how to advertise in the middle of an article on Blogpost Blogger, hopefully useful

Another Blogging Tips Related Post :

  • Easy Ways to Get Extra Money from the Internet for Beginners
  • Optimize Images For Blogs To Quickly Indexed By Google, Has proven!
  • The Best Free Screen Capture Tool for Bloggers
  • Guest Post On Seegatesite.com
  • Namecheap Hosting Review: Great Price for Great Deals
  • 10 Tips To Speed Up Loading WordPress Blog

Avatar for Sigit Prasetya Nugroho

About Sigit Prasetya Nugroho

This site is a personal Blog of Sigit Prasetya Nugroho, a Desktop developer and freelance web developer working in PHP, MySQL, WordPress.

Reader Interactions

Comments

  1. Avatar for HYAcorp BodyHYAcorp Body says

    February 6, 2020 at 4:51 am

    Thanks Sigit Prasetya Nugroho, your blog is superb and i really enjoyed to read this blog. Thumbs up!!

    Reply
  2. Avatar for Naresh YadavNaresh Yadav says

    March 26, 2020 at 4:54 pm

    Thax sir for sharing good knowledge

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Welcome to my Home,

Avatar for Naresh YadavThis site is a personal Blog of Sigit Prasetya Nugroho, a Desktop developer and freelance web developer working in PHP, MySQL, WordPress.



Popular Articles

Checked checkbox AdminLTE Bootstrap in Jquery

November 4, 2014 By Sigit Prasetya Nugroho 7 Comments

Simple create date format validation with jqueryUI

December 21, 2014 By Sigit Prasetya Nugroho Leave a Comment

Create Simple Progress Bar for Fake Online Generator with Jquery

January 10, 2015 By Sigit Prasetya Nugroho Leave a Comment

22+ Coolest Free Jquery Plugin For Premium Theme

October 3, 2015 By Sigit Prasetya Nugroho Leave a Comment

Easy Build Your Anti Copy Paste Plugin

October 6, 2015 By Sigit Prasetya Nugroho Leave a Comment

Popular Tags

adminlte (15) adsense (13) adsense tips (4) affiliate amazon (13) amazon (12) Android (8) angular (16) angular 4 (12) angular 5 (4) asin grabber (3) Bootstrap (27) codeigniter (5) create wordpress theme (5) crud (8) css (6) free wordpress theme (7) google adsense (4) imacros (4) increase traffic (6) jquery (34) laravel (10) laravel 5 (5) learn android (5) lumen api (4) modal dialog (5) mysql (6) nodeJs (4) optimize seo (4) pdo (6) php (30) plugin (53) pos (8) Publisher Tips (5) react (4) Reactjs (7) SEO (37) theme (17) tutorial angular (5) tutorial angular 4 (6) tutorial javascript (10) tutorial javascript beginners (4) twitter (3) wordpress (18) wordpress plugin (13) XMLRPC (5)




  • About
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions

©2021 Seegatesite.com