---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ads.yandex.com/helpcenter/en/dev/react-native7/unityads.md
  - https://ads.yandex.com/helpcenter/ru/dev/react-native7/unityads.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ads.yandex.com/helpcenter/en/llms.txt

# Enabling Unity Ads

## Supported ad formats {#formats}

- [Interstitial ads](https://ads.yandex.com/helpcenter/en/dev/react-native7/interstitial.md)
- [Rewarded ads](https://ads.yandex.com/helpcenter/en/dev/react-native7/rewarded.md)

## Integration {#integration}

{% list tabs %}

- Android

   <!-- source: en/dev/_includes7/unityads-android.md -->
   1. [Set up mediation](https://ads.yandex.com/helpcenter/en/monetization/yandex-mediation/setup.md) in the Yandex Advertising Network interface and other network interface.

   2. Add the dependencies to the build.gradle file at the app level:
      ```
      implementation 'com.yandex.android:mobileads:7.18.7'
      implementation 'com.yandex.ads.mediation:mobileads-unityads:4.16.4.0'
      ```
   <!-- endsource: en/dev/_includes7/unityads-android.md -->

- iOS

   <!-- source: en/dev/_includes7/unityads-ios.md -->
   {% note info %}

   To track app installations in mobile mediation you need to configure Info.plist for the adapter. Follow the ad network [documentation](https://unityads.unity3d.com/help/ios/skadnetwork-ids).

   {% endnote %}

   To work with [Unity Ads](https://github.com/Unity-Technologies/unity-ads-ios) you must connect the `UnityAdsYandexMobileAdsAdapters` library.

   The `UnityAdsYandexMobileAdsAdapters` library has been adapted to work with the CocoaPods dependency management system and supports a static integration method.

   1. [Set up mediation](https://ads.yandex.com/helpcenter/en/monetization/yandex-mediation/setup.md) in the Yandex Advertising Network interface and other network interface.

   2. To connect the library, add the dependency to the project's Podfile:
      ```
      pod 'UnityAdsYandexMobileAdsAdapters', '4.16.1.3'
      ```
   <!-- endsource: en/dev/_includes7/unityads-ios.md -->

{% endlist %}
