Hi there,
Thank you for raising this to us.
For us to investigate on our end, could you share your affected App ID and Ad Unit ID via Reply privately to author option?
Regards,
Mark Albios
Mobile Ads SDK Team
I work with Mark and will try to assist you. Thank you for sending us your Id's in private. I tested your Id's in our sample apps Swift AdMob Banner Example and added the didFailToReceiveAdWithError delegate as described here - https://developers.google.com/admob/ios/banner#ad_events, and implemented it like this:
/// Tells the delegate an ad request failed.
func adView(_ bannerView: GADBannerView,
didFailToReceiveAdWithError error: GADRequestError) {
print("adView:didFailToReceiveAdWithError: \(error.localizedDescription),\(error.code)")
}
The result i received from your Id's was "
adView:didFailToReceiveAdWithError: Request Error: No ad to show.,1"
From error code descriptions described here- https://developers.google.com/admob/ios/api/reference/Enums/GADErrorCode, "The ad request was successful, but no ad was returned.". This means there was no ad inventory for your ad unit. This also means that your ad unit id and app id are correct. From your previous post you mentioned you can get test ads which proves that your SDK implementation is correct. Kindly note that ad inventory issues are out of scope of this forum, for we only support integrating the Mobile Ads SDK into apps. The forum that addresses ad inventory is the AdMob Forum. With that being said, I can offer advice that I've heard that seems to be especially helpful for those who are just starting out with AdMob relating to increasing ad inventory, and this list seems also to be helpful for those experienced with AdMob as a refresher:
account setup - to setup tax info, name and address and phone number in your AdMob Account with verification if applicable
to take action when a message shows at the top of your account when you sign in even if there's no hint it will affect ad serving
to make certain that the app doesn't have any PlayStore violations - https://support.google.com/googleplay/android-developer/answer/2985876?hl=en&ref_topic=3453554
to publish your app on Google PlayStore and set up an app-ads.txt on your apps website - https://support.google.com/admob/answer/9363762?hl=en
to fill out as soon as possible whenever you reach a revenue threshold all the payment details you can fill out in your AdMob Account at that revenue threshold - https://support.google.com/admob/answer/2772208, video describing thresholds
to have in mind what would tempt more advertisers to rent space on your app
I have heard that account setup is crucial for ad serving for new AdMob users, and it's understandable that advertisers would want a safe return on investment just as much as app publishers do.
Kind regards,
Aryeh Baker