Bergy
Bergy

Reputation: 81

Where do i find Test Device iD for AdMob

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.

Upvotes: 7

Views: 7855

Answers (1)

Hu Cheng Jin
Hu Cheng Jin

Reputation: 71

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" ];

Upvotes: 7

Related Questions