Closed indresh999 closed 2 years ago
install using ionic cordova plugin add cordova-plugin-codeplay-facebookads-free
ionic cordova plugin add cordova-plugin-codeplay-facebookads-free
declare let cordova: any; . . . somewhere in class
declare let cordova: any;
public showBannerAd() { var options = { bannerid: <FAN Banner Id>, isTesting: true }; cordova.plugins.codeplayfacebookads.loadAndShowBannerAds(options, (event) => { console.log('success', event) }, (err) => { console.log('err', err) }); }
@tayyabfareed Thanks for your answer. @indresh999 kindly refer the above answer.
install using
ionic cordova plugin add cordova-plugin-codeplay-facebookads-free
declare let cordova: any;
. . . somewhere in class