In ionic 3 apps, I want to stop banner ads from another page. I have attached banner adds one page but when I leave this page, the adds have displayed other pages, which pages I have not attached the banner adds. How can I stop it to display on another page?
I have placed the code under constructor:
const bannerConfig: AdMobFreeBannerConfig = { id: "ca-app-pub-3609879258884263/4701579864", isTesting: false, autoShow: true }; this.admobFree.banner.config(bannerConfig); this.admobFree.banner.prepare() .then(() => { }) .catch(e => console.log(e));
Question and answer is powered by AnsPress.io