Hi ! PLEASE HELP
I want to add admob ads to my app and i installed the admob-free
I import it in app.component.ts inside this.platform.ready() and when i remove property id the test ads work, and when i put my id banner… banner not works just the gray bar appears !!!
PS: I created the ads banner and i wait over 10hours, but not work
this is my code :
initializeApp() {
this.platform.ready().then(() => {
// Okay, so the platform is ready and our plugins are available.
// Here you can do any higher level native things you might need.
this.statusBar.styleBlackTranslucent();
this.splashScreen.hide();//ADMOB const bannerConfig: AdMobFreeBannerConfig = { id: 'ca-app-pub-8170715615132481/1381589343', isTesting: false, autoShow: true }; this.admobFree.banner.config(bannerConfig); this.admobFree.banner.prepare().then(() => { this.admobFree.banner.show(); }).catch(e => console.log(e)); });
}
When i remove id and i put isTesting=true
When i put id and i put isTesting=false