Manage multiple affiliate code dynamically without affecting AdSense.
JavaScript
affiAds
Manage multiple affiliate code dynamically without affecting AdSense.
Affliate code will load once your page has been loaded..so site perfomace will not reduced.
it will automactly refresh your ads in timeInterval (based on yor time setting), (By doing this impression and click will be increase.)
Just add below html tag whereever you want add to be appear
<code>
var ad = {"header": ['put add code here which fit in header','some other ads','C','DC'],"sideBar": ['ads','some other ad'],"inArticle": ['GG'],"others": [],}
var affStartTime = 500;
var intervalTime = 2000;
var reAttemptTime = 1000;
var $j = jQuery;
fillAds();
</code>
<div class="aff" rel="header"></div> <!-- ads from header -->
<div class="aff" rel="sideBar"></div> <!-- ads from header -->
<div class="aff"></div> <!-- ads random -->