googleads / googleads-mobile-unity

Official Unity Plugin for the Google Mobile Ads SDK
https://developers.google.com/admob/unity
Apache License 2.0
1.37k stars 1.08k forks source link

Facebook Adapter 4.27 and 4.28 cannot receive OnAdRewarded event #642

Closed llmagicll closed 6 years ago

llmagicll commented 6 years ago

I am facing the problem that iOS Facebook Adapter 4.27.0 4.27.1 4.27.2 (with audience network 4.27.0)and 4.28 (with audience network 4.28.0) cannot receive OnAdRewarded event, and also cannot show interstitial ad after call m_AdInstance.Show (); with 3.12.0 GoogleMobileAd Could anyone help?? Every other mediations are fine (e.g. Unity, Chartboost, etc...)

llmagicll commented 6 years ago

I found the reason after i look into the Facebook adapter (4.28.0)

The facebook rewarded video delegate is:

However in Facebook adapter is implemented as:

That is a big mistake, i'm still finding the problem of interstitial.

rampara commented 6 years ago

@llmagicll thanks for reporting this issue. The mediation team is investigating and a fix should be pushed out shortly

rampara commented 6 years ago

Closing as this has been fixed.

https://github.com/googleads/googleads-mobile-ios-mediation/blob/master/adapters/Facebook/FacebookAdapter/GADFBAdapterDelegate.m