iAd error "Ad inventory unavailable" (Apple Sample code also not working)

Thomas Huber picture Thomas Huber · Nov 6, 2010 · Viewed 10.4k times · Source

I tried to include an ADBannerView into my application. But the ADBannerView always ends up in bannerView:didFailToReceiveAdWithError:. I'm not able to see any test ad.

I've also downloaded the iAd Sample Code from Apples DevCenter but I end up with the same error.

11/5/10 5:46:33 PM BasicAdBanner[12072] { ADInternalErrorCode = 3; NSLocalizedFailureReason = "Ad inventory unavailable"; }

Can someone please explain to me how I can get iAd to work in the Simulator and on my testing device?

Answer

Yoon Lee picture Yoon Lee · May 18, 2011

No, I believe it was generated by Apple's server so that developers can make correction for the error. Here is the reference from Apple.enter image description here