Multiple Rewarded Ads

97 views
Skip to first unread message

N

unread,
Feb 25, 2023, 5:36:34 PM2/25/23
to google-adm...@googlegroups.com
Hello,

I use Unity 2020.3f1 and Google Mobile Ads 9.0.
I tought I can keep track separately Rewarded Ads usage if I create in
Admob 4 separate rewarded ad unit and I just load them if user reaches them.
I have problems with the implementations of multiple rewarded ads. Once I
saw a section in google developer page (admob unity) but now there is
nowhere, even a sample.
Could you help me what are best practice in implementation?
Can I have 2 separate button on the same ui window which show different
rewarded ads loaded with different ad unit id?
Is it good practice when the user closes the ad to detach the attached
event handler callbacks and request a new ad to preload it? Or where in the
code do I have to Destroy rewarded ad?
Thanks in advance.

Mobile Ads SDK Forum Advisor

unread,
Feb 27, 2023, 2:36:31 AM2/27/23
to xgam...@gmail.com, google-adm...@googlegroups.com
Hello N,

Thank you for reaching out to us.

To answer your questions(Highlighted in bold):
  • Could you help me what are best practice in implementation?
    • To get you started in implementation, I can refer you to our documentation for rewarded ads. It includes on how to implement and recommendations for best practices.
  • Can I have 2 separate button on the same ui window which show different rewarded ads loaded with different ad unit id?
    • Yes you can. You will have to declare and load each ad unit separately.
  • Is it good practice when the user closes the ad to detach the attached event handler callbacks and request a new ad to preload it? Or where in the code do I have to Destroy rewarded ad?
    • When you are finished with a RewardedAd, make sure to call the Destroy() method before dropping your reference to it. You can refer back to the implementation guide on where to place it.
You can use our sample app for further reference.

Regards,
Google Logo Mobile Ads SDK Team


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