Hi,I'm having some issue with testing location-based ad on iPhone simulator. When I use Xcode's location simulator to setup location as London (on of the location that has ad), the app fail to receive any ad with following error: "No ad to show."I even use hard-coded value of London city which is but that doesn't help too, I still receive "No ad to show" error.However, when tested the app on device in London. There is an ad show up for London area.Note: unfortunately, I don't have access to Admob account, which is in my client hand. And I don't want to ask before try everything I can.Following is my snippet of code that setup Admob:Set up banner viewbannerView_ = [[GADBannerView alloc] initWithAdSize:kGADAdSizeBanner];
bannerView_.adUnitID = self.adUnitID;
bannerView_.delegate = self;
bannerView_.rootViewController = self;Setup ad requestGADRequest *request = [GADRequest request];
[request setLocationWithLatitude: 51.00000000 longitude:(CGFloat) -0.11387900 accuracy:(CGFloat) 10];
[bannerView_ loadRequest:request];Does anyone encounter the same issue? Is it just simulator problem? And how do you fix the problem?Many thanks,Tuan--
---
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/groups/opt_out.