Skip to content

iOS Advanced Setup

Mert Celik edited this page Feb 12, 2019 · 10 revisions

If you are interested in customizing your ad experience by only including the ad networks you want to use, you can follow the steps below;

1) CocoaPods

To integrate with Cocoapods, please add the line below to your podfile and run pod install. New to Cocoapods? learn more here.

pod 'Appmediation'

Be aware that the line above will integrate all partners.

But if you want to customize your integration, let's say, you only want to use AdMob and AdColony adapters, you can customize your Podfile as shown below;

pod 'Appmediation/AdMobAdapter'
pod 'Appmediation/AdColonyAdapter'

Just add adapters you would like to include in your project and Cocoapods will deal with everything else!

2) Manual

After downloading the SDK, simply delete the partner .embeddedframeworks you want to exclude and add the remaining to your project.

N.B: Do not delete Appmediation.embeddedframework since it is the core of our mediation SDK.

3) Optional Partners

In order to optimize build sizes, we decided to make some partners optional, it is best to include them if you have significant traffic from countries below;

MyTarget for Russia

Just download the .embeddedFramework that includes partner library and its adapter from here and drag & drop to your project.

Baidu for China

Just download the .embeddedFramework that includes partner library and its adapter from here and drag & drop to your project.

Clone this wiki locally