GADRequest *request = [GADRequest request];
request.testDevices = @{
GAD_SIMULATOR_ID
}
This is the code I have but the test ads aren't showing up, only the real ads.
bannerView_ = [[GADBannerView alloc] initWithAdSize:kGADAdSizeBanner];
bannerView_.adUnitID = @"xxx";
bannerView_.rootViewController = self;
[self.view addSubview:bannerView_];
GADRequest *request = [GADRequest request];
request.testDevices = [NSArray arrayWithObjects:
@"xxx",
nil];
[bannerView_ loadRequest:[GADRequest request]];
--
---
You received this message because you are subscribed to a topic in the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/qk4u99jD2Ws/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.