Rewarded Video in Production, handle not showing rewarded video

45 views
Skip to first unread message

ITsme

unread,
Apr 15, 2021, 10:00:52 AM4/15/21
to Google Mobile Ads SDK Developers
Hi there, 

I have a question regarding the rewarded video. In the production app, I have checked the rewarded Ads. Sometimes the rewarded video is shown, sometimes not. 

So how do we check if the rewarded video is ready or not?  Because if the rewarded video is not ready, users can not watch the video -> the reward will not be given -> it will not display content -> a bug. 

func rewardedAd(_ rewardedAd: GADRewardedAd, didFailToPresentWithError error: Error) {print("LOAD AD FAILS")  }

I have tried with didFailToPresentWithError but it seems like if the rewarded video is not shown, this function is not called as well.  How to detect if the rewarded video is not shown?

Here is my implementation in ios app 
Screen Shot 2021-04-15 at 4.22.10 PM.png

Mobile Ads SDK Forum Advisor Prod

unread,
Apr 15, 2021, 11:09:16 AM4/15/21
to datle...@gmail.com, google-adm...@googlegroups.com
Hi ITsme,

Thank you for posting the additional information here. In looking over your code as well as comparing it to the documents. I would suggest checking out our sample app here . Looking at this sample you will see in line 200 that they have a check for if the ad does not present.

Also when looking at your code, the func rewardedAd() is being used twice which based on the documents should be setup differently. Which would also seem to indicate why the error call is never reached.

Regards,
Google Logo
William Pescherine
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2FYoUE:ref
Reply all
Reply to author
Forward
0 new messages