merbin2012 / cordova-plugin-codeplay-facebookads-free

Free facebook audience network ads for cordova user. This supports banner ads, Interstitial ads and video ads.
23 stars 9 forks source link

But for interstitial it doesn't work. you can help me ? #4

Open BRSmith93 opened 4 years ago

BRSmith93 commented 4 years ago

Banner Has Appeared. It's ok But for interstitial it doesn't work. you can help me ?

merbin2012 commented 4 years ago

@brsmith93 it should work, did you see any error? Try the following solutions 1) Check you created interstitial ads in facebook 2) Try with testing true.

BRSmith93 commented 4 years ago

I put it on FacebookAds.js 👍

https://prnt.sc/p7vjo4

=================================== Then at index.html :

https://prnt.sc/p7vjfw

merbin2012 commented 4 years ago

Please call the ad inside the ondeviceready function.

BRSmith93 commented 4 years ago

hi @merbin2012 what if it's like this?

"THREAD WARNING: exec() call to codeplayfacebookads.loadInterstitialAds blocked the main thread for 47ms. Plugin should use CordovaInterface.getThreadPool()."

merbin2012 commented 4 years ago

Don't worry this is just a warning, it won't affect your ads.

BRSmith93 commented 4 years ago

Is this placement correct? http://prntscr.com/pambuj or http://prntscr.com/pamczy

because interstitials still don't appear. thank you for your response buddy

merbin2012 commented 4 years ago

All code seems too good. Currently I don't have time, otherwise, I can help you with Teamviewer. Give your Gmail, I'll contact you when I free.

BRSmith93 commented 4 years ago

Thank you Buddy. I will be very happy if you are willing to help. this is my email: riyanrestiana1993@gmail.com

wheezyy commented 4 years ago

I think you are not Loading the banner then show

cordova.plugins.codeplayfacebookads.loadInterstitialAds(options,success,fail); cordova.plugins.codeplayfacebookads.showInterstitialAds("",success,fail);

merbin2012 commented 4 years ago

@BRSmith93 did you try @wheezyy answer.

sansopheakh commented 4 years ago

@merbin2012 and @wheezyy Can you help me by Teamviewer or any ways for fix Interstitial Ads? i have tired so much but it's still not work. I wish you can help me when you available. This is my email: sansopheakh@gmail.com Telegram: +855966091899

Thank for advance.

merbin2012 commented 4 years ago

Can you please explain the full error details here.

On Fri, 26 Jun, 2020, 9:32 AM sansopheakh, notifications@github.com wrote:

@merbin2012 https://github.com/merbin2012 and @wheezyy https://github.com/wheezyy Can you help me by Teamviewer or any ways for fix Interstitial Ads? i have tired so much but it's still not work. I wish you can help me when you available. This is my email: sansopheakh@gmail.com Telegram: +855966091899

Thank for advance.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/merbin2012/cordova-plugin-codeplay-facebookads-free/issues/4#issuecomment-649946873, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4EGEH2DITFWPWM5DNC2P3RYQMVVANCNFSM4IYBSBSA .

sansopheakh commented 4 years ago

@merbin2012 It's not show anything when i open the app. I using Ionic 5. 1 2

merbin2012 commented 4 years ago

What error have you seen while calling the code?

sansopheakh commented 4 years ago

It's not show any error and not show Interstitial Ads. So, i don't know what was wrong.

Burhan360 commented 3 years ago

plz help me,,,dont show in Interstitial ad,,,,plz help me

megasto commented 3 years ago

@sansopheakh

It's not show any error and not show Interstitial Ads. So, i don't know what was wrong.

i have the same ,did you solve the issue ?

nandarbin commented 3 years ago

@merbin2012

Good morning,

I integrated with your plugins and I've tried the banner and it works, but for showInterstitialAds not working, what is the solution so that showInterstitialAd can function normally,

thank you

wheezyy commented 3 years ago

var options = { interstitialid: "55XXXXXXXXXXX_68XXXXXXXXXXXXX", isTesting: true }; this.platform.ready().then(() => { cordova.plugins.codeplayfacebookads.loadInterstitialAds(options).then(success, fail); function success(result) { cordova.plugins.codeplayfacebookads.showInterstitialAds(options).then( '"", '""); } function fail(result) { console.log("Fail", result); } });

wheezyy commented 3 years ago

Make sure you run loadInterstitialAds first, after success callback follow by showInterstitialAds.

Make sure its loaded before showing. Always work for me.

nandarbin commented 3 years ago

Thank @wheezyy working for me

tscislo commented 3 years ago

That works for me on Android 10 and 11

Burhan360 commented 3 years ago

Bro,,, can you upload video in YouTube how can i use fb ads in Cordova,,, Please boss, please sir Please sir

On Thu, Jan 7, 2021, 3:41 AM Tomasz Ścisło notifications@github.com wrote:

That works for me on Android 10 and 11

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/merbin2012/cordova-plugin-codeplay-facebookads-free/issues/4#issuecomment-755731237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJNS36VFEXNOBULI6EH6FETSYTKHBANCNFSM4IYBSBSA .