AdRequest adRequest = new AdRequest.Builder() .addTestDevice("AC98C820A50B4AD8A2106EDE96FB87D4") // My Galaxy Nexus test phone .addTestDevice("AC98C80571ABCDEF5157070707070707") // Tablet .build();
in order to register both devices as a test device?
2. Is it "safe" to leave the test devices lines of code in a release version to by published on google play. Sometimes I forget to remove the code when exporting to google play.
Thanks.
.addTestDevice(AdRequest.DEVICE_ID_EMULATOR)
Secondly, It is completely safe to leave the test devices lines of code in a release version. You don't need to remove it. I have seen, that whenever I download my app from Google play on that particular device ( which I have added as test device), only test ads are shown. So, I can use my apps without worrying.
And on other devices, real Ads are shown.
--
---
You received this message because you are subscribed to the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.