A sample iOS application in Swift built to showcase OM SDK integration.
Included are 3 sample integrations:
- Native display ad
- HTML display ad
- Native video ad
- Clone the project on to your local machine to get started
- Build and run in Simulator
- Use Charles proxy or Safari Web Inspector to see what events OM SDK is receiving
- Choose one of the sample implementations from the table
- Wait for the ad to load
- Observe network calls to
http://iabtechlab.com:66
(the query string will include URL-encoded JSON object with OM SDK event parameters)
- The version of OM SDK framework that is provided in this sample project is for education purposes only and should not be used for production integration. To get access to production OM SDK build, please refer to the "Onboarding Guide for Integration Partners" that is published on IAB Tech Lab and follow the instructions.
- For simplicity, this Demo app does not implement parsing of VAST or any other ad response formats. Asset URLs, verification script URLs and parameters are specified as constants instead. Please refer to IAB Tech Lab for details regarding how verification resources are represented in various ad formats.