MoPub Ad integration
tateo-okubo edited this page Apr 24, 2019
·
4 revisions
iOS 8.0 or later.
Before MoPub Ad integration, please contact your account manager or contact from Contact Form.
- Drag & drop
AmazonAds.framework
、libAdstirAdsMediationAdapter-MoPub.a
、MoPub.bundle
to project. - Check
Copy items if needed
. - Select target from
Add to targets
box. - Press
Finish
.
- Drag & drop
AmazonAds.framework
、libAdstirAdsMediationAdapter-MoPub.a
、MoPubSDKFramework.framework
to project. - Check
Copy items if needed
. - Select target from
Add to targets
box. - Press
Finish
. - Add MoPubSDKFramework.framework to the target's Embedded Binaries section of the General tab.
- Open project file.
- Slect target using MoPub ad.
- Select
Build Target
tab. - Enter
Other Linker Flags
to search box. - Add
-ObjC
toOther Linker Flags
. - Repeat these process for other target if needed.
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.