This is due to the fact that before the ads can be displayed, your device must contact the iAD servers, the search has thrown tens (if not hundreds) of thousands of ads, decide which one is best for your application, send the ad information to the device ios, and then send the confirmation back to the iAD server, and none of this can be done without a good Internet connection.
However, none of this should happen on the ios simulator , and the simulator simply displays a test ad no matter what.
I have two applications in the application store that use the same code as you, and display ads with the delay that you described. Thus, there are no errors with your code, and the delay for showing ads is completely normal.
So, as you can see, many things must happen before the iAD can be displayed on a real ios device, and even then you should have a strong internet connection
source share