cordova-plugin-facebookads icon indicating copy to clipboard operation
cordova-plugin-facebookads copied to clipboard

Interstitial ads don't work

Open imbrendino opened this issue 8 years ago • 4 comments

Hi, I've followed the example code, the banner is shown but the interstitial no. I used autoshow:true or put the code if(FacebookAds) FacebookAds.showInterstitial(); in the controller. Nothing happened.

imbrendino avatar Sep 27 '16 00:09 imbrendino

Did you try the verification commands, to see whether my original example code working in your environment ?

floatinghotpot avatar Sep 27 '16 19:09 floatinghotpot

ok, it doesn't work on iOS 10

imbrendino avatar Sep 27 '16 21:09 imbrendino

I had an issue (on Android, haven't tried ios yet) where calling showInterstitial() directly after prepareInterstitial did not work, but calling prepareInterstitial with autoShow: true by itself worked just fine.

I realized after, that prepareInterstitial has success & fail callback parameters. Have you tried putting the showInterstitial code within the success callback to ensure that the preparation has fully completed?

isaacchansky avatar Oct 19 '16 03:10 isaacchansky

Got mine working by updating Facebook SDK within cordova-facebook-audnet-sdk plugin. As stated in https://github.com/floatinghotpot/cordova-facebook-audnet-sdk Manual update within the plugin directory and platform directory

gideonip avatar Dec 03 '16 19:12 gideonip