Hello,
I’m using Cordova Plugin AdMob Free to display interstitial ads.
This is my prerareInter()
function to display the interstitial ad.
prepareInter() {
let interConfig: AdMobFreeInterstitialConfig = {
id: 'ca-app-pub-xxxxxxxxxxx/xxxxxx'
};
this.admob.interstitial.config(interConfig);
this.admob.interstitial.prepare().then(() => {
this.ScreenLog('success prepared');
this.ScreenLog('Showing Ad now');
this.admob.interstitial.isReady().then(() => {
this.ScreenLog('ready');
});
this.admob.interstitial.show().then(() => {
this.ScreenLog('done');
});
}).catch(e => this.ScreenLog(e));
}
The test ad was showing perfectly, full size. But when I add my Ad unit ID, Nothing is showing up.
How do I debug this ?
Note : ScreenLog(msg)
is a debug function I wrote to display the error messages in a dedicated div