You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 loadeach 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.