Getting Started with the NextGen SDK for iOS
Contact Sales Engineering
Integrating an iOS App
Prerequisites
In order to integrate the NextGen SDK into your iOS project you will first need to install the following items:
- Xcode 15.1 (or later)
- Cocoapods (https://cocoapods.org/)
Choose Ad Formats
In order to make the SDK’s binary size smaller it is split into several modular frameworks:
SmaatoSDKCore.framework
SmaatoSDKBanner.framework
SmaatoSDKInterstitial.framework
SmaatoSDKRewardedAds.framework
SmaatoSDKNative.framework
SmaatoSDKRichMedia.framework
SmaatoSDKVideo.framework
SmaatoSDKOutstream.framework
SmaatoSDKOpenMeasurement.framework
SmaatoSDKUnifiedBidding.framework
First, you need to make sure to link the application with the proper set of frameworks to allow the SDK to display the desired Ad Formats.
The table below shows possible configurations, i.e. if you want to display standard banner, link the application against the Core, Banner, Rich Media and OpenMeasurement frameworks. In this case Rich Media means HTML content rendering support.
Framework | Banner / Image + Rich Media | Interstitial / Image + Rich Media | Interstitial / Video | Interstitial / Image + Rich Media + VideoDescription | Rewarded / Video | Outstream / Video | Native |
---|---|---|---|---|---|---|---|
SmaatoSDKCore.framework 1 | |||||||
SmaatoSDKOpenMeasurement.framework 1 | |||||||
SmaatoSDKBanner.framework | |||||||
SmaatoSDKInterstitial.framework | |||||||
SmaatoSDKRewardedAds.framework | |||||||
SmaatoSDKNative.framework | |||||||
SmaatoSDKRichMedia.framework | |||||||
SmaatoSDKVideo.framework | |||||||
SmaatoSDKOutstream.framework | |||||||
SmaatoSDKUnifiedBidding.framework 2 |
Important Note About Fullscreen Adspaces
Currently, only the Interstitial Multi-Ad Format is compatible for Fullscreen Adspaces with Smaato NextGen SDK. In order to monetize your fullscreen Adspaces in SPX with Smaato NextGen SDK, you need to select the option for Interstitial (Display & Video). All other Fullscreen options will not work at this time.
Please check if the Interstitial (Display & Video) feature is enabled in your SPX account. If you do not see the option for Interstitial (Display & Video) in the Ad Format dropdown, please contact your Smaato Account Manager to enable this.
- When creating your Fullscreen Adspaces in SPX, choose the Interstitial (Display & video) option as the Ad format. (Image 1)
- For the Creative Type you will have three options to choose from (Image 2):
- Display Only for Rich Media Ads.
- Video Only for Video Ads.
- Display and Video will support either Rich Media or Video Ads.
Image 1: Ad Format dropdown selection
Image 2: Creative Type dropdown selections
Last Modified: March 14, 2024 at 1:00 pm