问题描述
我正在将iAd添加到我的应用中。现在,在模拟器中,它运行良好但是当我将它加载到设备(v4.1)上时, ADBannerViewDelegate 调用 bannerView:didFailToReceiveAdWithError:并在上添加此描述error.userInfo
I'm adding iAd to my app. Now, in simulator, it works well but when I load it on a device (v4.1) the ADBannerViewDelegate calls bannerView:didFailToReceiveAdWithError: with this description on the error.userInfo
{
ADInternalErrorCode = 3;
NSLocalizedFailureReason = "Ad inventory unavailable";
}
我认为我的iAd网络设置正确无误。我自己添加广告还是iAd网络会像在模拟器中一样自动发送测试广告?
I think my iAd Network setup is correct. Have I to add an ad by myself or iAd Network automatically sends test ads as in simulator?
编辑:我认为这是发送的iAd网络服务器的延迟问题广告。我想当网络上有我的应用广告时,它开始工作正常。
I think it was a latency problem of the iAd Network server that dispatches the ads. I suppose that when the network had ads for my app it began to work fine.
推荐答案
这是iAd的延迟问题调度广告的网络服务器。我想当网络上有我的应用广告时,它开始工作正常。
It was a latency problem of the iAd Network server that dispatches the ads. I suppose that when the network had ads for my app it began to work fine.
这篇关于iAd错误“广告资源不可用”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!