Manually added Android test devices don't get test ads

171 views
Skip to first unread message

stefan.lor...@gmail.com

unread,
Jul 21, 2023, 5:33:45 AM7/21/23
to Google Mobile Ads SDK Developers
If I add an Android Test Device via ConsentDebugSettings.Builder().addTestDeviceHashedId with an ID in the form of "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" it works: I can see test ads in the app and AdRequest.isTestDevice is true.

For my client to be able to test, they need to be able to add test devices themselves, without me having access to Logcat or their physical devices. That's what "Add Test Devices" in Admob Dashboard -> Settings should be for right? When I try to add a test device by its advertising ID (in the form of "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") it doesn't work, even after waiting a long time. Works for iOS devices btw.

Am I doing something wrong? Is this a known bug?


Mobile Ads SDK Forum Advisor

unread,
Jul 21, 2023, 9:17:27 AM7/21/23
to stefan.lor...@gmail.com, google-adm...@googlegroups.com
Hello,

Thank you for reaching out to us.

For your use case, you may add their device as test device via AdMob UI (https://developers.google.com/admob/android/test-ads#add_your_test_device_in_the_admob_ui). Could you kindly share what SDK version are you using? Also, please provide to us your AdMob App ID.
 
This message is in relation to case "ref:_00D1U1174p._5004Q2nR96X:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team
 

stefan.lor...@gmail.com

unread,
Jul 21, 2023, 9:22:39 AM7/21/23
to Google Mobile Ads SDK Developers
I know how to add the device as a test device via Admob UI, but it still will not be recognized as one. Only the programmatical way works (which is not practicable with third parties testing the app).
I am using
com.google.android.gms:play-services-ads:22.1.0

Mobile Ads SDK Forum Advisor

unread,
Jul 21, 2023, 3:08:58 PM7/21/23
to stefan.lor...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for your response.

With regard to your concern, can you provide us the following information below so we can further check this behavior that you're encountering?

  • App ID
  • Ad unit id used
  • Screenshot of the behavior
  • Sample app project where the behavior is reproducible
  • Steps to replicate
  • Device name and versions affected

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=5004Q00002nR96XQAS&entry.80707362=00189468

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. 

Reply all
Reply to author
Forward
0 new messages