LINK

Steps to install BuySellAds (BSA) code into blogger site




As most of you know, the BuySellAds (BSA) is one of the best options to monetize your website. It’s not like AdSense; it comes with fixed payout for fixed amount of days or impressions. In advertisement revenue, BSA keeps 25% of the revenue (75%-25%).


This post explains the steps to insert Buy and sell Ad (BSA) code into blogger. Hopefully these instructions helps BSA publishers community.

There are clear instructions on BSA website how to install BSA code into website but I think that is not applicable for blogger (BlogSpot) websites as I can’t find <body> tag in my blogger HTML code. I was trying to insert code from couple of days without luck and later contacted the BSA support. Even they took a day to resolve this issue.
BSA instructions to install ad code on website are as follows.

Step1: Install this main snippet ONCE, right below the opening <body> tag. If you have already installed the code below, please skip to steps2.
Step2: Install this snippet where you want the ad(s) to appear. Please do not modify the id or class

As I said these (BSA) instructions didn’t work. So I have contacted BSA support team, then managed to show BSA ads on my blogger site with the following instructions.
1.       Login to your blogger account
2.       Navigate to the blog (website) on which you want to insert Ad code
3.       Then navigate to Template – Edit HTML
4.       In HTML code, search for <body expr:class='&quot;loading&quot; + data:blog.mobileClass'> tag and insert BuySellAd code in actual BSA instructions step1 here. After entering the code, it looks as follows.
  <body expr:class='&quot;loading&quot; + data:blog.mobileClass'>
<!-- BuySellAds Ad Code -->
<script type='text/javascript'>
(function(){
  var bsa = document.createElement(&#39;script&#39;);
     bsa.type = &#39;text/javascript&#39;;
     bsa.async = true;
     bsa.src = &#39;http://s3.buysellads.com/ac/bsa.js&#39;;
(document.getElementsByTagName(&#39;head&#39;)[0]||document.getElementsByTagName(&#39;body&#39;)[0]).appendChild(bsa);
})();
</script>
<!-- End BuySellAds Ad Code -->
 <b:section class='navbar' id='navbar' maxwidgets='1' showaddelement='no'>
5.       Then save the template and install your actual ad snippet/code wherever you want by navigating to Layout- Add Widget- HTML/JAVA script option.

Please share on social media using following buttons if you found this post helpful.