iAds not working in Simulator and device

后端 未结 3 1029
渐次进展
渐次进展 2021-01-23 14:05

When I run my application I get this message for iAd banner view. What does it mean?

Error Domain=ADErrorDomain Code=3 \"The operation couldn’t be compl

相关标签:
3条回答
  • 2021-01-23 14:26

    You will randomly get this error message in Simulator or device, so that you can test your app and its behavior when no iAd is available (hidding the AdView, using another ad provider...). But it's not a bug from Simulator / iAd framework / iAd network: it's a feature to make better tests.

    Moreover, you cannot get "real" iAds when deploying your app in test mode on test device. It has to be reviewed by Apple and downloaded from the AppStore.

    0 讨论(0)
  • 2021-01-23 14:42

    "Ad inventory unavailable" means... there is no ad available. It looks as though it's working correctly.

    iAd is easy to implement but they have low fill rates (i.e., many requests go unfulfilled) and it's not available at all in many countries.

    0 讨论(0)
  • 2021-01-23 14:45

    Delete the app from your device and reinstall from XCode. That fixed it for me.

    0 讨论(0)
提交回复
热议问题