! Implementing iAd in Your iOS Apps Monetizing on the iAd App Network June 2014 Implementing iAd 2 in Your iOS Apps

Overview

This guide provides the steps required to implement iAd in your iOS applications, and best practices for maximizing your advertising revenue opportunity. With demand from leading brand advertisers, iAd delivers competitive eCPMs, and provides you with control, flexibility, and ad formats that deliver results. ! ! Step 1: Complete the iAd App Network Contract • Request and agree to the iAd App Network contract, available in the Contracts, Tax and Banking module in iTunes Connect. • You must also complete tax and banking information for your iAd App Network Contract to go into effect. Additional setup details are available in the iTunes Connect Developer Guide. • If you have not already set up banking for another contract, click View/Edit in the Bank Info column. • Click Add Bank Account and choose the country where the bank is located. Complete all relevant information, including: bank account number, IBAN, account holder name, bank account currency, and bank account type. You can also click Look up your Bank to search by name, With just a few lines of code, you can deliver engaging, rich media ads in your city, or postal code. apps, and receive 70% of the ad revenue generated. • To complete the tax forms in the same module, click Setup in the Tax Info column. All developers, regardless of location, must complete the U.S. Tax Forms. Note: It can take up to 24 hours for your tax and banking information to to be processed. ! Step 2: Integrate the iAd Framework in Your App • The iAd Framework is built into the iOS SDK, allowing you to easily integrate ads into your application. No additional SDKs are required. • Reference the iAd Programming Guide to take advantage of supported ad formats that work best with your content (see below for more details). • Validate your iAd implementation on an iOS device before submitting to the . More information on testing iAd in your application is available in the Testing iAd Apps section in the iAd Programming Guide. Implementing iAd 3 in Your iOS Apps

Step 3: Submit Your App for Review • Upload your new binary into iTunes Connect using either Xcode or Application Loader. For more information about submitting updates, read Replacing your App with a New Version in the iTunes Connect Developer Guide. • Note: Once your app is in the Ready for Sale state, it’s also reviewed by iAd to determine the app’s appropriateness for receiving ads from iAd advertisers. After your app has been approved by iAd, you can start earning revenue from ads that run in your app. • To view your ad performance and revenue visit the iAd App Network Reporting tool. Note: You will only be able to access your iAd reporting when your iAd-integrated app is “Ready for Sale” in the App Store. ! Take Advantage of Available Ad Formats

iAd supports a wide range of ad formats on iPhone, iPod touch, and iPad apps. Use the information below to guide your implementation: ! iPad Air iPhone 5s iPad Retina ! iPhone 4s iPhone 5c iPad 2 ! Ad iPhone 4 iPhone 5 iPad mini Retina ! Formats iPod touch 4th gen iPod touch 5th gen iPad mini ! Banner 320 W x 50 H pt 320 W x 50 H pt 768 W x 66 H pt Banner MREC ! 480 W x 32 H pt 568 W x 32 H pt 1024 W x 66 H pt ! MREC 300 W x 250 H pt 300 W x 250 H pt 600 W x 500 H px Interstitial 320 W x 480 H pt 320 W x 568 H pt 768 W x 1024 H pt ! 480 W x 320 H pt 568 W x 320 H pt 1024 W x 768 H pt ! Pre-Roll 16:9 or 4:3 aspect 16:9 or 4:3 aspect 16:9 or 4:3 aspect ! Video ratio ratio ratio Interstitial Pre-Roll Video ! • Standard and MREC Banners: The iAd Suite Sample Code demonstrates best practices for standard and MREC banners implementation. Standard banners should fill the full width of the screen and should be placed near the bottom of the UI. MREC banners should be placed inline with other content in your app. • Full-Screen Interstitial Banners: iAdInterstitialSuite allows an ad to be displayed as a page of content, and as a transitional screen between two sections of an app. • Pre-Roll Video Ads: The MPMoviePlayerController reference includes Implement pre-roll video ads into your app and earn much higher CPMs. configuration details. Videos that are 15, 30 or 60 seconds in duration are supported. Implementing iAd 4 in Your iOS Apps

Display a Single Ad Per Screen

To maximize performance and user engagement, display only a single iAd advertisement on each screen of your app. Apps with multiple ads on a screen may be rejected. ! Hide Blank or Empty Banner Space

In some cases, an ad might not be delivered due to the location of the requesting device, available campaigns, targeting criteria, or errors in integration. To ensure that an empty banner space doesn’t run in your live application, configure your banner view's frame to be offscreen, then add or resize your content to reclaim the empty space. Review the Technical Q&A: Hiding iAd banners when ads are not available for more details. When an ad is available, ensure that the impression is counted by making the ad visible on screen. ! Share ADBannerView Instances Across Views

If your application has multiple tabs or views displaying an iAd banner, be sure to share a single instance of ADBannerView across each view to improve your users’ opportunity to interact with ads. The iAd Framework takes measures to ensure that ads are only served to a single banner view. Review the Implementing a Shared iAd Banner technical note for complete details. ! Display iAd Banners for at Least 30 Seconds

If your application utilizes a timer for rotating advertisements, ensure that the timer aligns with the iAd App Network’s 30-second minimum rendering time to optimize ad performance in your application. ! Test iAd More Effectively

Testing your app with iAd helps to ensure optimal performance and user experience. The iAd Programming Guide has a helpful checklist to assist in testing your apps. You can further test iAd functionality in your developer- mode app by manually adjusting Fill Rate and Ad Refresh Rate in your device’s Developer Settings. Keep in mind that the iAd App Network will occasionally return errors to test your error handling code. In addition, take advantage of the “Highlight Clipped Banners” toggle to check for partially obscured banners. Implementing iAd 5 in Your iOS Apps

Ensure Your Mediation Layer is Properly Configured

If you are integrating with a third party for ad serving, follow these helpful suggestions to optimize your iAd integration: • Use the latest version of the mediation layer, and prioritize iAd for ad serving. • Configure your app to serve ads only in countries where the iAd App Network is live. • For a list of App Stores where iAd campaigns run, visit the iAd App Network page on Support. • If your mediation layer uses a timer for rotating banners, implement a 10-second timeout before cycling to another provider when an ad is not available. Finally, to monitor performance and track revenue, refer to your iAd reporting in iTunes Connect. Actual revenue will not include certain activity, such as taps on ads that do not fully load due to user action, or bonus impressions that are required by our agreements with advertisers. ! Promote Your Apps with iAd Workbench

Get your app noticed and drive downloads with iAd Workbench, the do-it-yourself campaign creation and management tool. For further reference, visit the iAd Workbench Page on Apple Developer Support. ! Track App Downloads from Your iAd Campaign

If you’re using iAd Workbench to promote your apps, be sure to include the iAd App Attribution code in your app. Using the attribution APIs allows you to track app downloads resulting from your iAd Workbench

Reach millions of Apple users with iAd campaigns and measure the value of newly acquired users. Workbench, the simplest way to promote Refer to the iAd App Attribution overview for more details. your app. ! A Final Note

Be sure to review the iAd-relevant sections of the App Store Review Guidelines, and visit our iAd App Network FAQ for further reference. For a comprehensive list of tools available when using iAd in your iOS apps, visit our iAd Resources page.

© 2014 Apple Inc. All rights reserved. Apple, the Apple logo, and iTunes are trademarks of Apple Inc., registered in the U.S. and other countries. iAd is a service mark of Apple Inc., registered in the U.S. and other countries. App Store and iBookstore are service marks of Apple Inc. Other product and company names mentioned herein may be trademarks of their respective companies. V1-061214