I am setting GoogleMobileAds on an Objective C iOS app; and something unusual happens.
Even after more than a whole day, I keep getting no real ads. The method didFailToReceiveAdWithError returns:
Error: No ad to show.
On the other hand all looks perfect if I use test ads.
I have done all the settings on Google Ad Mob side and the Info.plist as well.
My code has nothing special, it is the usual code for that:
NSString *adsUnitID = @"ca-app-pub-xxx/yyy";
self.bannerView = [[GADBannerView alloc]
initWithAdSize:kGADAdSizeBanner];
self.bannerView.adUnitID = adsUnitID;
self.bannerView.rootViewController = self;
self.bannerView.delegate = self;
[self.bannerView loadRequest:[GADRequest request]];
......
I have found this post: Live Admob Ads have suddenly stopped displaying in my app
and tried the suggested solution, but it does seem to work.
Beside, I can also see this message in the Xcode console:
2020-11-03 18:45:...[6388:3197644] - <Google>
[I-ACS025031] AdMob App ID changed. Original,
new: (nil), ca-app-pub-xxx~zzzz
If someone has an idea of where the problem is or could be, please let me know.