Skip to content

Manage multiple affiliate code dynamically without affecting AdSense.

Notifications You must be signed in to change notification settings

sudhir600/affiAds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

affiAds

  1. Manage multiple affiliate code dynamically without affecting AdSense.
  2. Affliate code will load once your page has been loaded..so site perfomace will not reduced.
  3. 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 -->

Releases

No releases published

Packages

No packages published