Namespaces

Namespaces

Ad
AdMob
Banner
Chartboost
Interstitial
MoPub

Events

On click

Triggered when a banner is clicked.

Example
banner.on("click", function(){
   console.log("Banner clicked");
});

On dismiss

Triggered when a banner is collapsed.

Example
banner.on("dismiss", function(){
   console.log("Banner dismissed the modal content");
});

On fail

Triggered when the loading process of a banner has failed.

Example
banner.on("fail", function(error){
   console.log("Banner failed to load: " + JSON.stringify(error));
});

On load

Triggered when a new banner is loaded.

Example
banner.on("load", function(){
   console.log("Banner loaded " + banner.width, banner.height);
});

On show

Triggered when a new banner is expanded to full screen.

Example
banner.on("show", function(){
   console.log("Banner shown a modal content");
});

On click

Triggered when an interstitial is clicked.

Example
interstitial.on("click", function(){
   console.log("Interstitial clicked");
});

On dismiss

Triggered when an interstitial is closed.

Example
interstitial.on("dimissed", function(){
   console.log("Interstitial dimissed");
});

On fail

Triggered when the loading process of an interstitial has failed.

Example
interstitial.on("fail", function(error){
   console.log("Interstitial failed to load: " + JSON.stringify(error));
});

On load

Triggered when a new interstitial is loaded.

Example
banner.on("load", function(){
   console.log("Interstitial loaded");
});

On reward

Triggered when an video reward is completed.

Example
interstitial.on("reward", function(quantity){
   console.log("Reward completed. Earned " + quantity + " items");
});

On show

Triggered when a new interstitial is shown.

Example
interstitial.on("show", function(){
   console.log("Interstitial shown");
});
Atomic Plugins - JavaScript Documentation by Ludei, DocStrap Copyright © 2012-2013
The contributors to the JSDoc3 and DocStrap projects.