Show Banner Ads

PHOTO EMBED

Thu Jan 14 2021 21:46:22 GMT+0000 (UTC)

Saved by @zinotrust #html

showBannerAd() {
  let bannerConfig: AdMobFreeBannerConfig = {
      isTesting: true, // Remove in production
      autoShow: true,
      bannerAtTop: false,
      id: "ca-app-pub-3940256099942544/6300978111"
  };
  this.admobFree.banner.config(bannerConfig);

  this.admobFree.banner.prepare().then(() => {
      // success
  }).catch(e => alert(e));
}
content_copyCOPY