Skip to content

MoPub Ad integration

tateo-okubo edited this page Apr 24, 2019 · 4 revisions

Supported OS version

iOS 8.0 or later.

Setup

Before MoPub Ad integration, please contact your account manager or contact from Contact Form.

Add MoPub SDK to project

v2.13.5 or later

  1. Drag & drop AmazonAds.frameworklibAdstirAdsMediationAdapter-MoPub.aMoPub.bundle to project.
  2. Check Copy items if needed.
  3. Select target from Add to targets box.
  4. Press Finish.

v2.14.0 or higher

  1. Drag & drop AmazonAds.frameworklibAdstirAdsMediationAdapter-MoPub.aMoPubSDKFramework.framework to project.
  2. Check Copy items if needed.
  3. Select target from Add to targets box.
  4. Press Finish.
  5. Add MoPubSDKFramework.framework to the target's Embedded Binaries section of the General tab.

Build setting

  1. Open project file.
  2. Slect target using MoPub ad.
  3. Select Build Target tab.
  4. Enter Other Linker Flags to search box.
  5. Add -ObjC to Other Linker Flags.
  6. Repeat these process for other target if needed.

Dependency Framework/Library

Name Required
CoreGraphics.framework Required
CoreLocation.framework Optional
MediaPlayer.framework Required
StoreKit.framework Required
Webkit.framework Optional

If you add CoreLocation.framework, SDK does not send location with out end user permission.

Clone this wiki locally