Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
gads.js
gads2.js
readme.md

readme.md

Blastcoding gads only spanish

How to use gads ?

Its simple you just add parent classes where your ads will go on adsname variable, next you ads your ads credentials in your c variable thats its an object.

An example of adsname variable:

adsname =new Array(
  ".ads1",
  ".ads2",
  ".ads3"
);

c object are your ads credential all ads has a client and a slot credential you can get it at your google adsense ads blocks

var c = {
   adsHeader:{
     client:"client-code",
     slot:"slot-code-1"
   },
   adsFooter:{
     client:"client-code",
     slot:"slot-code-2"
   },
   adsBc1:{
     client:"client-code",
     slot:"slot-code-3"
   }
};

next on your html you add a div with classes defined on adsname. for example:

<div class="ads1"></div>
You can’t perform that action at this time.