Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48981

Getting Web page not available https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html

$
0
0

I have added ADMOB_APP_ID to config.xml and also when i am installing the admob free
cordova plugin add cordova-plugin-admob-free --save --variable ADMOB_APP_ID=“my id”
Getting admob sucesss in console but i cant see popup and all.
When i am clicking the button of showBanner i can see in chrome inspect that web page not available.

code:`

showBanner() {

let bannerConfig: AdMobFreeBannerConfig = {
isTesting: true, // Remove in production
autoShow: true,
// id: ‘’
};

this.admob.banner.config(bannerConfig);

this.admob.banner.prepare().then(() => {
// success
console.log(“admob Success!”)
}).catch(e => console.log(e));

}

launchInterstitial() {

let interstitialConfig: AdMobFreeInterstitialConfig = {
isTesting: true, // Remove in production
autoShow: true,
// id: ‘’

};

this.admob.interstitial.config(interstitialConfig);

this.admob.interstitial.prepare().then(() => {
// success
console.log(“admob Success!”)

});`

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>