How to add bidvertiser javascript ad codes in the middle of blog post or any where inside blog post | Blogspot blogger trick




Bidvertiser is an advertising network like Adsense.Unlike adsense it is very easy to get approval on bidevertiser. Bidevertiser ads can work along with adsense or any other ad networks that you use already.For me it was the best adsense alternative.

How to add Bidvertiser code to your blogger 

Step 1 : Add HTML/JavaScript gadget to your blogger


You can skip this step if you alreay have a HTML/JavaScript gadget installed in your blog.

Step 2 : Paste in the ad code from the bidevertiser code into the Content section of your HTML/JavaScript gadget


Before adding you should put the code inside a div with id "adnew" and a span of id script_code
For example my adcode from bivertiser was

<!-- Begin BidVertiser code -->
     <script src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=436127&bid=1808751"     type="text/javascript">
     </script>
<!-- End BidVertiser code -->   

and I have edited it inside

<div id='adnew'>
<span id='script_code'>
      
<!--  THIS SHOULD BE REPLACED WITH YOUR CODE-->   


  </span>
  </div>

Now the whole thing will look like

<div id='adnew'>
<span id='script_code'>
      
<!-- Begin BidVertiser code -->
     <script src="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=436127&bid=1808751"     type="text/javascript">
     </script>
<!-- End BidVertiser code -->   


  </span>
  </div>


Now Open Your HTML/JavaScript gadget and paste your edited ad code. After this the ad will begin to appear in the HTML/JavaScript gadget of your blog.

Now we want to display it n the blog post.
For that we should programmatically copy the adcode to the place we want to display ads.



Step 3 : Paste the below code to your currently active template

The below code will grab the ad content from HTML/JavaScript gadget and put them inside the blog post.

<script>
var script_code=$(&quot;#adnew&quot;).html();
script_code = script_code.replace(&quot;&lt;script&quot;, &quot;&lt;!--script&quot;);
script_code = script_code.replace(&quot;script&gt;&quot;, &quot;script--&gt;&quot;);
$(&quot;.replacead2&quot;).html(script_code);
$(&quot;#adnew&quot;).hide()
</script>


Step 4 . Display ads inside blog posts.

Edit your template and find  the position where you need to put your ad.Then paste the below code there.
 
<div class=' replacead2'>
</div>


Now the ad will start displaying where you add this code.

Thanks for reading and feel free to comment below if you have any doubts.



   








Comments

  1. Hey Guys !

    USA Fresh & Verified SSN Leads AVAILABLE with best connectivity
    All Leads have genuine & valid information

    **HEADERS IN LEADS**
    First Name | Last Name | SSN | Dob | DL Number |Address | State | City | Zip | Phone Number | Account Number | Bank Name

    *Price for SSN lead $2
    *You can ask for sample before any deal
    *If anyone buy in bulk, we can negotiate
    *Sampling is just for serious buyers

    ==>ACTIVE & FRESH CC FULLZ ALSO AVAILABLE<==
    ->$5 PER EACH

    ->Hope for the long term deal
    ->Interested buyers will be welcome

    **Contact 24/7**
    Whatsapp > +923172721122
    Email > leads.sellers1212@gmail.com
    Telegram > @leadsupplier
    ICQ > 752822040

    ReplyDelete
  2. Selling USA FRESH SSN Leads/Fullz, along with Driving License/ID Number with good connectivity.

    **PRICE FOR ONE LEAD/FULLZ 2$**

    All SSN's are Tested & Verified. Fresh spammed data.

    **DETAILS IN LEADS/FULLZ**

    ->FULL NAME
    ->SSN
    ->DATE OF BIRTH
    ->DRIVING LICENSE NUMBER
    ->ADDRESS WITH ZIP
    ->PHONE NUMBER, EMAIL
    ->EMPLOYEE DETAILS

    ->Bulk order negotiable
    ->Minimum buy 10 to 15 leads/fullz
    ->Hope for the long term business
    ->You can asked for specific states too

    **Contact 24/7**

    Whatsapp > +923172721122

    Email > leads.sellers1212@gmail.com

    Telegram > @leadsupplier

    ICQ > 752822040

    ReplyDelete
  3. Wow… i got a lot smarter, thank you very much for sharing this excellent information. Coinbase

    ReplyDelete

Post a Comment