userRewardEarnedCallback on RewardAd call after 5 seconds.

53 views
Skip to first unread message

hippo drome

unread,
Feb 24, 2023, 10:52:40 AM2/24/23
to Google Mobile Ads SDK Developers
Hi, I have a question.
I have implementing ads by using Google Mobile Ads Unity Plugin.

When I test the admob RewardAd in my Unity Editor mode, I guess the placeholder ad(not test device ad) showed up. After 5 second, I can push the close button and the  userRewardEarnedCallback is called with the Reward parameter. It works fine.

But the problem is on the test device mode reward ad on my android build. The userRewardEarnedCallback is called right after passing 5 seconds, even before I push the close ad button. So my code in the userRewardEarnedCallback that doing in game process making crash. I guess it is because the game app is paused during the ad time, so my reward code making crash.

I think it's right that userRewardEarnedCallback should be called when the user have closed the ad.  How can I solve this problem? 

Mobile Ads SDK Forum Advisor

unread,
Feb 24, 2023, 3:31:50 PM2/24/23
to hippo...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for reaching out to us.

For us to further check the behavior you've encounter using the rewarded ad, can you provide us the following details below? You can provide the following details via reply privately to author option or directly provide it to the link below.

  • Sample app project
  • Steps to replicate
  • SDK version
  • Device name and versions affected
  • Screen recording of the behavior
  • App ID

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002jGQ4gQAG&entry.80707362=00168673

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

Regards,

Google Logo Mobile Ads SDK Team


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