Integrate mediation adapters packages

This page provides instructions to easily integrate both Mediation Adapters and Ad Network SDKs using CocoaPods for iOS and Gradle for Android.

  1. First follow Android and iOS Getting Started guides to integrate your Banner and Interstitial formats
  2. Choose the ad networks you would like to mediate using Smart Mediation
  3. Copy the CocoaPods or Gradle script to your project setup according to the platform. You can concatenate scripts to integrate multiple adapters.
  4. Setup Mediation insertions on your placements

If you prefer to have full control over the mediation adapters, and use the source files in your project, please read the supported ad networks topic.

Table of contents

  1. Google Mobile Ads / AdMob
  2. Ogury

Google Mobile Ads / AdMob

Android Gradle integration (supported version: 23.1.0)

First declare the required Maven repositories in the main build.gradle file of your project.

To do so, in repositories section, add:

// Add the Smart repository
maven { url 'https://packagecloud.io/smartadserver/android/maven2' }

Then in the build.gradle of your application module, in dependencies section, add:

implementation 'com.smartadserver.android.mediation:equativ-display-sdk-with-googlemobileads:8.2.0.0'

iOS CocoaPods integration (supported version: 11.5.0)

In the Podfile of your project, add those lines:

pod 'Equativ-Display-SDK-With-Mediation/GoogleMobileAds'

Do not forget to specify in your application whether you are using Admob SDK or AdManager SDK.
This specification has to be done in your plist file on iOS, and in your manifest file on Android. For more information, please check the google documentations, AdMob or AdManager

Ogury

Android Gradle integration (supported version: 5.6.2)

First declare the required Maven repositories in the main build.gradle file of your project.

To do so, in repositories section, add:

// Add the Smart repository
maven { url 'https://packagecloud.io/smartadserver/android/maven2' }
// Add Ogury repository 
maven {url 'https://maven.ogury.co'}

Then in the build.gradle of your application module, in dependencies section, add:

implementation 'com.smartadserver.android.mediation:equativ-display-sdk-with-ogury:8.2.0.0'

iOS CocoaPods integration (supported version: 4.2.2)

In the Podfile of your project, add those lines:

pod 'Equativ-Display-SDK-With-Mediation/Ogury'

Back to top

Copyright Equativ © 2024. All right reserved.

Page last modified: Oct 23 2024.