Devs advised to prevent a blank ad space from appearing when ads are not available

Jul 2, 2010 14:10 GMT  ·  By

The News and Announcements section of the iPhone Dev Center is the place where Apple informs developers of the latest changes occurring in the iWorld. The platform is also used by the Mac maker to offer up tips for programmers looking to earn a good spot in the iTunes App Store. The latest tip from Apple concerns recent adopters of its iAds.

The latest App Store Tip from Apple, entitled “Prevent A Blank Ad Space From Appearing When Ads Are Not Available”, informs iOS devs that, “If you have dedicated a section of your app for an iAd, it's important to incorporate a banner view delegate that will handle common events, including errors.” According to the makers of iPhone 4, “Having the proper delegate to handle errors maintains the visual experience customers have with ads in your app by preventing a blank banner from being displayed when ads are not available.

Apps displaying a blank banner when advertisements are not being displayed are also a particularity developers need to be on the lookout for. If this happens, “your app will be returned to you by the App Review Team for modification before it can be posted to the App Store”, Apple warns.

“Read the Working with Banner Views section of the iAd Programming Guide for details on using the bannerView:didFailToReceiveAdWithError: method so that your banner view responds correctly when advertisements are not available. Registered Apple Developers can also watch the WWDC 2010 session video Integrating with iAd, which covers ad banner events in the Application Frameworks section of the presentation”, Apple concludes.

Earlier today, Softpedia reported that Apple’s iAd Network Advertising roll out has begun. Apple said that the initial launch of iAd rich media ads will begin with the US market. Availability for developers outside of North America is scheduled to kick in a few months from now. The iAd platform allows developers to implement immersive ads without forcing customers to leave their apps, while also targeting a certain audience.