# Mediation > As Primary SDK > Packaged integration

Source: https://help-display-sdk.equativ.com/mediation/primarysdk/packagedintegration.html

  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](https://help-display-sdk.equativ.com/android/gettingstarted.html.md) and [iOS](https://help-display-sdk.equativ.com/ios/gettingstarted.html.md) _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](https://help.smartadserver.com/s/article/SDK-Ad-Mediation) 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](https://help-display-sdk.equativ.com/mediation/primarysdk/supportedadnetworks.html.md) topic.

---

## 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:
```gradle
// 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.equativ.android.mediation:equativ-display-sdk-with-googlemobileads:8.6.1.0'
```

### iOS CocoaPods integration (supported version: 11.5.0)

> _Cocoapods_ is deprecated and is going to be [only available as a read-only repository soon](https://blog.cocoapods.org/CocoaPods-Specs-Repo/).
>
> The **Equativ Display SDK** will be updated on _Cocoapods_ as long as possible, but **we advise you to switch to _Swift Package Manager_ as fast as possible** to continue receiving the latest version of the SDK in the future.

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](https://developers.google.com/admob) or [AdManager](https://developers.google.com/ad-manager)

## 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:
```gradle
// 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.equativ.android.mediation:equativ-display-sdk-with-ogury:8.6.1.0'
```

### iOS CocoaPods integration (supported version: 4.2.2)

> _Cocoapods_ is deprecated and is going to be [only available as a read-only repository soon](https://blog.cocoapods.org/CocoaPods-Specs-Repo/).
>
> The **Equativ Display SDK** will be updated on _Cocoapods_ as long as possible, but **we advise you to switch to _Swift Package Manager_ as fast as possible** to continue receiving the latest version of the SDK in the future.

In the Podfile of your project, add those lines:
 ```
pod 'Equativ-Display-SDK-With-Mediation/Ogury'
```
