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

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

Open BRSmith93 opened this issue 6 years ago • 23 comments

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

BRSmith93 avatar Sep 18 '19 17:09 BRSmith93

@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.

merbin2012 avatar Sep 18 '19 17:09 merbin2012

I put it on FacebookAds.js 👍

https://prnt.sc/p7vjo4

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

https://prnt.sc/p7vjfw

BRSmith93 avatar Sep 18 '19 17:09 BRSmith93

Please call the ad inside the ondeviceready function.

merbin2012 avatar Sep 18 '19 17:09 merbin2012

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()."

BRSmith93 avatar Sep 25 '19 03:09 BRSmith93

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

merbin2012 avatar Sep 25 '19 05:09 merbin2012

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

BRSmith93 avatar Sep 25 '19 06:09 BRSmith93

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.

merbin2012 avatar Sep 25 '19 06:09 merbin2012

Thank you Buddy. I will be very happy if you are willing to help. this is my email: [email protected]

BRSmith93 avatar Sep 25 '19 07:09 BRSmith93

I think you are not Loading the banner then show

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

wheezyy avatar Nov 09 '19 22:11 wheezyy

@BRSmith93 did you try @wheezyy answer.

merbin2012 avatar Dec 11 '19 17:12 merbin2012

@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: [email protected] Telegram: +855966091899

Thank for advance.

sansopheakh avatar Jun 26 '20 04:06 sansopheakh

Can you please explain the full error details here.

On Fri, 26 Jun, 2020, 9:32 AM sansopheakh, [email protected] 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: [email protected] 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 .

merbin2012 avatar Jun 26 '20 05:06 merbin2012

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

sansopheakh avatar Jun 26 '20 08:06 sansopheakh

What error have you seen while calling the code?

merbin2012 avatar Jun 26 '20 11:06 merbin2012

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

sansopheakh avatar Jun 27 '20 14:06 sansopheakh

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

Burhan360 avatar Sep 12 '20 13:09 Burhan360

@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 ?

megasto avatar Oct 15 '20 15:10 megasto

@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

nandarbin avatar Nov 09 '20 02:11 nandarbin

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 avatar Nov 09 '20 11:11 wheezyy

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

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

wheezyy avatar Nov 09 '20 11:11 wheezyy

Thank @wheezyy working for me

nandarbin avatar Nov 10 '20 00:11 nandarbin

That works for me on Android 10 and 11

tscislo avatar Jan 06 '21 21:01 tscislo

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 [email protected] 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 .

Burhan360 avatar Jan 07 '21 06:01 Burhan360