Today i signed up with Google's Admob program. To integrate admob's test ads i need a test device iD.
GADRequest *request =[GADRequest request];
request.testDevice = @"[GAD_SIMULATOR_ID, @"MY_TEST_DEVICE_ID"];
[self.bannerView loadRequest:request];
Where do i get a test device ID? I'm looking around my account with Google's Admob and I can't seem to find any test device iD.
Test devices allow you to more rigorously test your implementation code by returning production-looking ads in test mode to your app. You can configure your device as a test device and use your own ad unit IDs that you've created in your AdMob account.
There aren't dummy ID's per se. You need to setup the XML or the JAVA code to get test ads. To get Test Ads during testing, add the following to your XML where you have the AdView declared.
If you build and run your project on Xcode, show below message on console. You can use that test device id.
2015-01-10 09:11:32.593 VineUploader[662:60b] <Google> To get test ads on this device, call: request.testDevices = @[ @"944537259734b6f30367fad2271a8c6a" ];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With