Banners
Integration
Add the next lines in your “/www/js/index.js” of phonegap:
var tappxSetting = {
ios : "YOUR IOS TAPPX KEY",
android : "YOUR ANDROID TAPPX KEY",
};
var tappxKey = (/(android)/i.test(navigator.userAgent)) ? tappxSetting.android : tappxSetting.io
tappxphonegap.createBanner('position', tappxKey,
????function() {
//Success Callback
},
????function() {
//Error Callback
}
);
Parameters:
- Parameter: true or false. Show the Interstitial automatically.
- Parameter: string. TAPPX KEY.
- Success: Method that is called if the creation and ad load succeed.
- Error : Method that is called if an error occurs during the creation or ad load.
Tappx © 2024