Video SDK for iOSDeveloper Guide - Mixberry Media/SmartAd
The Mixberry Media – SmartAd SDK is a light client library that handles the communications publisher application and the video ad servers, providing the functionality to request targeted streamed video ads in real-time.
This library requires iOS version 7.0 or later.
3. Getting Started:
Register as a Publisher
In order to implement video ad service for your application, you need to register as a “Publisher” at: https://www.mixberrymedia.com/
Define your Application
Start by defining your iOS application name, description and category. Your application request would then await review and approval by Mixberry Media.
Obtain your Credentials
Upon your application approval, we will provide you with the following:
Download the Display SDK
Download the iOS Display SDK from the following URL:
For full Installation guide of how to set up the SDK on the applications that use Objective C language please refer to the following URL:
iOS Objective C – Getting started
For full Installation guide of how to set up the SDK on the applications that use Swift language please refer to the following URL:
iOS Swift – Getting started
To start integrating the application with the display SDK, please refer to the following URL:
iOS Display SDK – Getting started
This URL demonstrates how to initialize the SDK with the site ID and the base URL, also describe a quick overview of the SDK structure.
To display video banner ads (video is presented inside a banner view) or video interstitial ads (video is presented as full screen view) please refer to the following URLs:
Objective C video banner ads:
ARC Sample – Basic Implementations
Objective C video interstitial ads:
Interstitial – Basic Implementations
Objective C startup video interstitial ads:
StartupInterstitial – Basic Implementations
Swift video banner ads and video interstitial ads:
Swift Banner Interstitial- Basic Implementations
The application can track the ad status (failed, success, loaded … etc.) By implementing the delegate methods on SASAdViewDelegate protocol.
5. Advanced Integration
In some situations publisher might need to do more logic to the ad to suite their applications, the following are some links that will help the publisher to integrate the video ads easily and efficiently.
- Resizing and displaying a video banner after download
- Display an interstitial only when there is one to delver
- Dismissing interstitial with an animation
- Displaying the ad without the status bar
- Dynamically sized banner (ex: with a UITableView)
- Using a full screen banner in a swipe navigation
- Banner / Interstitial with autolayout