AdMob sample AD works in Unity, but doesn't work on actual android device.

69 views
Skip to first unread message

Iaroslav Fedorak

unread,
Feb 14, 2023, 2:20:18 AM2/14/23
to Google Mobile Ads SDK Developers
My game implements rewarded ad. I'm using sample ad unit ID from admob. It works perfectly when I test it in Unity editor. But when I compliling aab file, upload it to google play console and enable internal testing - it just doesn't work. Ad doesn't show.

Please, help me to resolve this issue.

Iaroslav Fedorak

unread,
Feb 14, 2023, 7:44:59 AM2/14/23
to Google Mobile Ads SDK Developers
I'm using this code to initialize:
MobileAds.Initialize(AdsInitialized);

but it looks like when on device, callback is never called. So ads just don't initialize.

Mobile Ads SDK Forum Advisor

unread,
Feb 14, 2023, 8:42:32 AM2/14/23
to jar...@gmail.com, google-adm...@googlegroups.com

Hi Laroslav,

 

Thank you for reaching out to us.

 

For us to further check this, can you provide us the following details below privately?

 

  • Sample app project where the behavior is reproducible
  • Steps to replicate
  • SDK version
  • Device name and versions affected
  • Mediation network (if any)
  • App ID

 

You can provide the following details via reply privately to author option or directly provide it to the link below.

 

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=5004Q00002izwHZQAY&entry.80707362=00167168

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
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2izwHZ:ref

Iaroslav Fedorak

unread,
Feb 14, 2023, 11:07:09 AM2/14/23
to Google Mobile Ads SDK Developers
Replied privately. Looking forward for your response!

Mobile Ads SDK Forum Advisor

unread,
Feb 14, 2023, 4:12:39 PM2/14/23
to jar...@gmail.com, google-adm...@googlegroups.com

Hi Iaroslav,

 

Thank you for your response.

 

I've checked your provided play store link, but unable to open it in my end since you've mentioned it is not yet publish. Since you've mentioned that you're using our sample ad unit id and unable to display it in actual android device, we may need a sample minimal project implementation where this is happening for us to further check. Kindly note that, in providing aab file, we can't further debug your implementation on that since we just need it to be installed on the device.

Reply all
Reply to author
Forward
0 new messages