cordova-plugin-facebookads
cordova-plugin-facebookads copied to clipboard
"createNativeAd" executed but "onAdLoaded" event never get fired.
I am trying to implement native ads. createNativeAd
is working fine. But onAdLoaded
never get fired.
FacebookAds.createNativeAd('XXXXXX_XXXXXX',(success)=>{
alert('Native Ad Created'); //
},error=>{
alert("Error :"+error);
});
// Never Fired
document.addEventListener('onAdLoaded',function(data) {
alert( JSON.stringify(data) );
});
I had the same problem, but only in development. I did not change the code recently and the last time I worked on it, this event was triggering well and the test mechanism was working properly. Can edge effects appear using other plugins like cordova-plugin-admobpro or other mediation plugins? Because I use these in my project.
Same problem here, removed a revmob and admob plugin but the behavior stays. Callbacks are called with "OK" but no "onAdLoaded" event gets fired. Also nothing happens on the network stack. Tried nativeAds and bannerAds Any idea would be great!
Using Ionic 3 with cordova-plugin-facebookads: 4.23.2 @
Any solution for this problem ? I am also facing same issue