iOS Ad Monetization¶
Important
We want you to know that all iOS Flurry SDKs are fully compliant with Application Transport Security (ATS) policies since version 7.2.0 released September 2015. Flurry does not require any special exceptions to be added to your apps.
You can serve native and interstitial ads very quickly and with little effort using Yahoo App Publishing and the Flurry SDK.
The following instructions apply to Flurry’s latest SDK 7.x.x.
Object-Based API¶
The Flurry SDK provides you with an object-based API to create objects for Native and Interstitial ads. This means that you can use individual objects to control the lifecycle of an ad.
Note
Flurry SDK requires minimum iOS 8.
Integrate Flurry Ads Into Your App¶
The following table describes the various types of ads you can integrate into your app:
Ad Type |
Description |
---|---|
How to integrate Flurry native, video and expandable ads into your app. |
|
How to display an interstitial (takeover ad) in your app. |
|
How to use targeting parameters to modify the behavior of your ad units. Use FlurryAdTargeting as a container for various properties to target an ad unit effectively. |
Sample Apps¶
Flurry provides you with sample code that you can leverage in your apps.
Sample iOS code: for an Objective-C sample app with different takeover and native ad types integrated, download, build, and run this app. Follow the guide for integration.
Yodel app for iOS: another Objective-C sample that shows different types of native ad placement, including vertical and horizontal streams of data interspersed with native ads.
Yodel Travels: a Swift sample that was made to demonstrate use of native stream and expandable ads by integrating them with content pulled from Tumblr.
Note
For GIF assets, your ad implementation needs to handle asset rendering differently than image assets. Reference library for rendering GIF for your consideration: iOS.
Learn More¶
For detailed information on the Objective-C classes and methods available in the SDK, check out the API Reference documentation for iOS.