Admob test Ads shows up on Emulator but not on a test Device !!

659 views
Skip to first unread message

Mohammed Best

unread,
Apr 13, 2015, 9:52:36 AM4/13/15
to google-adm...@googlegroups.com
Hi everyone, hope you're doing great,

I'm facing a problem with my app, i set test Ads on my code and it shows up on Emulator (Bluestacks) but when i try it on my test device no Ads shows up.
i'm using a SAMSUNG GALAXY TREND PLUS GT-7580.


Java Code:

XML Code:

Hope you help me i'm realy stuck.

Thank you in advance.

Andrew Brogdon (Mobile Ads SDK Team)

unread,
Apr 13, 2015, 12:43:17 PM4/13/15
to google-adm...@googlegroups.com
There are a few reasons why you might see this behavior.  I'd check the following:

1) Make sure your Ad Unit ID is correct, and registered on AdMob.com
2) Make sure your AdMob account (and AdSense/AdWords, if you have them) are in good standing and not suspended
3) Make sure your device is updated with the latest version of Google Play services
4) Check that the Test Device ID you're using is correct.
5) Check the logcat output of your device for additional information from the SDK.

Thanks!

-Andrew

Mohammed Best

unread,
Apr 14, 2015, 6:08:55 AM4/14/15
to google-adm...@googlegroups.com
Thank you a lot Andrew for reply, in fact i found the reason of the problem, i'm using a custom rom in my phone, the "hosts" file, located on the "etc" folder, contain a list of blocked servers, google ads, admob and doubleclick ads. The solution is to earase this file or edit it and remove admob, google and doubleclick entries.
Now my test ads are working :D
Screenshot_2015-04-14-11-06-36.png
Reply all
Reply to author
Forward
0 new messages