Integrating MoPub with Mediation: Rewarded ads problem

75 views
Skip to first unread message

Tuan

unread,
Feb 28, 2021, 5:29:53 AM2/28/21
to Google Mobile Ads SDK Developers
Hello,

I'm integrating MoPub with Mediation to my apps following this guide: https://developers.google.com/admob/android/mediation/mopub
and implemented Rewarded Ads follow this guide: https://developers.google.com/admob/android/rewarded-fullscreen

There is a problem related to Rewarded ads's callbacks. That's if the rewarded ad is loaded from MoPub mediation network, then the ad callbacks and onUserEarnedReward are not triggered properly (note that everything is working properly with ads from AdMob).
Logs:
    02-28 13:25:49.864 10405 17806 17806 I Ads     : This request is sent from a test device.
    02-28 13:25:50.058 10220 24853 28873 I Ads     : SDK version: afma-sdk-a-v204204999.204204000.1
    02-28 13:25:50.060 10220 24853 28873 I Ads     : HTTP timeout: 60000 milliseconds.
    02-28 13:25:53.528 10405 17806 17806 D MoPubMediationAdapter: Showing a MoPub rewarded video.
    02-28 13:25:53.534  1000  1244  6203 I ActivityTaskManager: START u0 {flg=0x10000000 cmp=com.admobtestapp/com.mopub.mobileads.MoPubFullscreenActivity (has extras)}     from uid 10405
    // watched 30s video ad -> onUserEarnedReward is not called
    // pressed BACK to close ad
    02-28 13:26:36.771 10064  4483 28252 I TrayUsageStatesWatcher: noteResumeComponent : ComponentInfo{com.admobtestapp/com.admobtestapp.AdsActivity}, 4
    02-28 13:26:36.778 10405 17806 17806 D admobtestapp: AdsActivity: onResume

Do you know why? Are there any guides for this problem?

Same reports:

Mobile Ads SDK Forum Advisor Prod

unread,
Mar 1, 2021, 2:35:10 AM3/1/21
to tuant...@gmail.com, google-adm...@googlegroups.com
Hi Tuan,

I've responded to you on this forum thread. For better tracking of the issue, let's continue our discussion there instead.

Regards,
Google Logo
Teejay Wennie Pimentel
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2DJiS5:ref

Tuan TV

unread,
Mar 1, 2021, 3:10:18 AM3/1/21
to Mobile Ads SDK Forum Advisor Prod, google-adm...@googlegroups.com
Hi,

I don't know why messages have been deleted on the old forum thread. So I think it's better to discuss here instead of the private email thread.

Regards

Vào Thứ Hai, 1 tháng 3, 2021, Mobile Ads SDK Forum Advisor Prod <mobileadssdk...@gmail.com> đã viết:

Mobile Ads SDK Forum Advisor Prod

unread,
Mar 1, 2021, 5:14:07 AM3/1/21
to tuant...@gmail.com, google-adm...@googlegroups.com
Hi Tuan,

Could you please provide the details below (via Reply to author or a direct, private reply to mobileads...@gmail.com) so that I can further investigate this issue:
  • Copy of a sample project (replicating the issue)
  • Charles log (see instructions here) capturing the ad request

Tuan TV

unread,
Mar 1, 2021, 8:12:14 PM3/1/21
to Mobile Ads SDK Forum Advisor Prod, google-adm...@googlegroups.com
Hi team,

Sorry, I can't provide more details. Just implement Rewarded Ads following these guides and the problem will occur when the ad is loaded from MoPub instead of AdMob

If you can't test this implementation and reproduce the issue in your side, let's ignore the issue and don't fix!

Regards,


Vào Thứ Hai, 1 tháng 3, 2021, Mobile Ads SDK Forum Advisor Prod <mobileadssdk...@gmail.com> đã viết:
Hi Tuan,

Could you please provide the details below (via Reply to author or a direct, private reply to mobileadstesting99@gmail.com) so that I can further investigate this issue:

Mobile Ads SDK Forum Advisor Prod

unread,
Mar 2, 2021, 2:30:09 AM3/2/21
to tuant...@gmail.com, google-adm...@googlegroups.com
Hi Tuan,

I've tested your use case in our rewarded sample app with the following dependencies:
  • implementation 'androidx.appcompat:appcompat:1.2.0'
  • implementation 'com.google.android.gms:play-services-ads:19.6.0'
  • implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  • implementation 'com.google.ads.mediation:mopub:5.15.0.1'
As per testing, I wasn't able to reproduce the reported behavior on my end. Instead, the onUserEarnedReward triggers without any issues. With this, we'll be needing the requested information to you previously in order for us to identify the issue. Also, this will enable us to test the Ad (provided in Charles log) in our test App environment by trafficking the creative in the test network.

Tuan TV

unread,
Mar 2, 2021, 4:50:30 AM3/2/21
to احمد ربيع, Mobile Ads SDK Forum Advisor Prod, google-adm...@googlegroups.com
Hi,
Are you sure that the rewarded video ad is loaded from MoPub network?
In my case, shown log:
02-28 13:25:53.528 10405 17806 17806 D MoPubMediationAdapter: Showing a MoPub rewarded video.

Vào Thứ Ba, 2 tháng 3, 2021, احمد ربيع <rbya...@gmail.com> đã viết:

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/aV4j5gLfb34/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/f_KgA000000000000000000000000000000000000000000000QPBZHK00gsFyHGL6RyO9vPA-vt38Vw%40sfdc.net.

Mobile Ads SDK Forum Advisor Prod

unread,
Mar 2, 2021, 10:42:59 AM3/2/21
to tuant...@gmail.com, rbya...@gmail.com, google-adm...@googlegroups.com
Hi Tuan,

Thank you for the response back. I was also able to test and was seeing that I was getting a response back. If you would like to share with us a sample app we can also look into that. At the moment there is nothing that we can see. 

Regards,
Google Logo
William Pescherine
Mobile Ads SDK Team
 


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