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.