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

# Enabling Google

## Supported ad formats {#formats}

- [Adaptive inline banner](https://ads.yandex.com/helpcenter/en/dev/react-native7/adaptive-inline-banner.md)
- [Adaptive sticky banner](https://ads.yandex.com/helpcenter/en/dev/react-native7/adaptive-sticky-banner.md)
- [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/admob-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-google:23.6.0.10'
      ```

   3. Add your `AdMob ID` to your app's **AndroidManifest.xml** file using the `<meta-data>` tag named `com.google.android.gms.ads.APPLICATION_ID` (learn more about how to [find the AdMob ID](https://support.google.com/admob/answer/7356431)).
      ```xml
      <manifest>
          <application>
       ...
              <meta-data
                  android:name="com.google.android.gms.ads.APPLICATION_ID"
                  android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
       ...
          </application>
      </manifest>
      ```
   <!-- endsource: en/dev/_includes7/admob-android.md -->

- iOS

   <!-- source: en/dev/_includes7/admob-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://developers.google.com/admob/ios/ios14).

   {% endnote %}

   To work with [Google](https://admob.google.com/home/), you need to add the `GoogleYandexMobileAdsAdapters` library.

   The `GoogleYandexMobileAdsAdapters` library was revised. It now interoperates with the CocoaPods dependency management system and supports the 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 'GoogleYandexMobileAdsAdapters', '12.2.0.8'
      ```

   3. To your app's Info.plist file, add the `GADApplicationIdentifier` key with your `AdMob ID` (learn more about how to [find out the AdMob ID](https://support.google.com/admob/answer/7356431)).
      ```xml
      <key>GADApplicationIdentifier</key>
      <string>ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy</string>
      ```
   <!-- endsource: en/dev/_includes7/admob-ios.md -->

{% endlist %}
