Open EYALIN opened 11 months ago
it's getting ad not found.
Cordova IOS 6.3 and Cordova 7.0.0 tried on few IOS devices
same here on IOS when using real ad-id / test ad-Id in emulator & physical device
Android is working.
Interstitial is loaded from admob.ad.load event listener
when showing interstitial ads, error as below :
Unhandled Promise Rejection: Ad not found: ca-app-pub-3940256099942544/1033173712
admob-plus-cordova 2.0.0-alpha.13 cordova ios 6.2.0 cordova 12.0.0
@nickgoh unfourtountly @ratson (which I'm thankful for all his work and still donating to hime every month) is not answering to us for more than a month, so in the meanwhile I went back to this plugin which upgraded and works in all Android and IOS versions: community-admob-plus
@EYALIN
Temporary solutions
delay calling load() for 5 seconds after initialize seems working for me now. i dint try any below 5 sec , it might work for u.
interstitial = new admob.InterstitialAd({ adUnitId: 'ca-app-pub-xxx/yyy', })
setTimeout(function () { interstitial.load() }, 5000);
Hello, Could you rename the issue with something like "Ad not found: ca-app-pub-xxx on iOS". I have same issue with interstitials and appOpen ads on iOS with cordova ios 7.0.1 and 2.0.0-alpha.13 I tried a 2s delay but it is not always enough.
I can reproduce this error on the latest release... admob-plus-cordova 2.0.0-alpha.18 "admob-plus-cordova". I have not tried the community edition to see if it still fails there.
Meanwhile, I noticed an interesting pattern...
Attempt 1: Pass Attempt 2: Fail (promise rejection...) Attempt 3: Pass Attempt 4: Fail (promise rejection...)
Loading an interstitial fails every other time when initiated from the 'admob.ad.dismiss' event callback function. I'm guessing a workaround might be to retry the ad load in the rejection callback. It might work in the meantime and continue to work whenever the bug is fixed.
If anyone has implemented other workarounds, please do share! Thanks.
it's getting ad not found.
Cordova IOS 6.3 and Cordova 7.0.0 tried on few IOS devices