IAd refuses to display

iAd framework makes my nut. AGAIN!

Please help me with common sense.

Yesterday I worked on a simulator, today it is not. After an hour of raging in it, I actually connect my brain and register an error (iirc is on the simulator)

Domain Error = ADErrorDomain
Code = 3 "The operation cannot be completed. Ad resource is unavailable"
UserInfo = 0x5a5bb50 {ADInternalErrorCode = 3,
NSLocalizedFailureReason = Creative inventory not available}

then I will try to reboot.

on the simulator:

Domain Error = ADErrorDomain
Code = 4 "The operation cannot be completed. The application has an iAd network configuration error"
UserInfo = 0x5839510 {ADInternalErrorCode = 4,
NSLocalizedFailureReason = Application has iAd network configuration error}

now try on the device:

Domain Err = ADErrorDomain
Code = 1 "Operation could not be completed (error ADErrorDomain 1.)"
UserInfo = 0x19c8c0 {}

Finally I find something on Google:

http://useyourloaf.com/blog/2010/11/28/ad-inventory-unavailable-with-ios-42.html

This guy says this is a problem s> = iOS 4.2.

So I'm trying again using iOS 4.0 iPhone simulator

I have another error code.

Domain Error = Code ADErrorDomain = 0 "Invalid data."

+6
source share
1 answer

On your device, go to the Settings app. Click Developer. In the iAd Developer App Testing, tap Fill Rate. Select the error rate you want to check.

+3
source

Source: https://habr.com/ru/post/897300/


All Articles