Mars iOS SDK - Getting Started

This guide will show you how to easily monetize your mobile app with Mars in a few simple steps.

First - you should choose the integration approach and jump to the respective section of this guide.

  • Direct In-App Integration - when Mars SDK will be used on the app pages to load and render the ads.
  • AppLovin MAX Integration - when Mars SDK will be added to the existing Ad Unit's waterfall on AppLovin MAX.
  • AdMob Integration - when Mars SDK will be added to the existing Ad Unit's waterfall on AppLovin MAX.

Option 1: Direct In-App integration

Follow the integration instructions to add the SDK to your app. Once the SDK is integrated, you can provide configuration options that will help increase your revenue.

Once SDK is integrated, you can add the following ad formats:

Option 2: AppLovin MAX Integration

To add the Mars demand to your monetization stack on AppLovin MAX, you should create a Mars Network and add custom network Placements to the ad units.

Follow the AdOps guide for AppLovin MAX to tune the Mars Network in your account.

Once Mars's Ad Sources are added to the AdUnits waterfalls, you should integrate the Mars SDK and Mars AppLovin adapters into your app.

For the details, follow the AppLovin MAX integration instructions.

Option 3: AdMob Integration

To add the Mars demand to your monetization stack on AdMob, you should create a Mars Mediation Group and add Custom Events to the ad units.

Follow the AdOps guide for AdMob to tune the Mars Mediation Group in your account.

Once Mars Custom events are added, you should integrate the Mars SDK and Medaify AdMob adapters into your app.

For the details, follow the AdMob integration instructions.

Configure SKAdNetwork

To support Mars network, update your app's Info.plist file to add the keys:

<key>SKAdNetworkItems</key>
<array>
  <dict>
    <key>SKAdNetworkIdentifier</key>
    <string>ejvt5qm6ak.skadnetwork>
  </dict>
</array>

Verify and Test your Integration

Mars provides open-source Demo Applications on Swift and Objective-C, which you can use to implement and verify your integration. Each app contains examples for all supported formats. You can also use test configuration parameters to verify your implementation.

The Demo Apps are available in the GitHub repo: https://github.com/mediafy-io/mediafy-sdk-ios-demo.

Contact us today

to enjoy endless opportunities!

Contact Us
+

Contact Us