Why does test iAd for barebones project not display? [duplicate]

妖精的绣舞 提交于 2019-11-27 05:29:50

Your error message doesn't indicate this in particular, but it's important to know that (in May 2011 when this answer was written) iAds are US-only, so as long as your device (or the simulator) thinks you're outside of the US you won't receive any ads.

The ad has failed to load (that is why it wanted to call the missing didFailToReceiveAdWithError: delegate method). According to the docs, you are supposed to hide the view when you receive this error, so that the user doesn't have to stare at the ugly blank spot.

You can see what is the reason for the failed ad load if you implement the didFailToReceiveAdWithError: method and look at the error passed there. The most common cause is not enough inventory - it happens even with the test ads (to emulate real life I guess).

HI all finally i solved problem my self none of the blog didnt give any solution.I am not getting Test ad in the simulator it is coming in the device only by changing of the internal proxy settings.Its good experience for me and also my suggestion is while your operating with IOS device make sure to take proxy free device so that at least you can eliminate some of the issue related to proxy, dont forget to work proxy related stuff at the end product:)

Thanks for all of your great support.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!