Skip to content

InteractiveAdvertisingBureau/Open-Measurement-ReferenceApp-iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Measurement Reference App for iOS

IMPORTANT NOTE - 4/2/2020

With the release of Open Measurement iOS SDK 1.3.2, the reference app source code is included with downloadable SDK binaries located at (https://tools.iab.techlab.com/omsdk). This repository is no longer updated.

Overview

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
  • Native audio ad

Getting Started

  1. Clone the project on to your local machine to get started
  2. Download the latest "Demoapp" namespaced OM SDK iOS from IAB portal (https://tools.iab.techlab.com/omsdk) and link the framework to the project. Add the framework into the /OMSDK/ folder.
  3. Download the latest omsdk-v1.js and omid-validation-verification-script-v1.js release from the IAB portal (https://tools.iab.techlab.com/omsdk) and drop it into /OMSDK/Service/ and /OMSDK/Verification respectively.
  4. Build and run in Simulator
  5. Use Charles proxy or Safari Web Inspector to see what events OM SDK is receiving
  6. Choose one of the sample implementations from the table
  7. Wait for the ad to load
  8. Observe network calls to http://iabtechlab.com:66 (the query string will include URL-encoded JSON object with OM SDK event parameters)

Clarifications

  1. 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.
  2. 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.

Additional Information

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages