---
metadata:
  - name: generator
    content: Diplodoc Platform v5.57.3
alternate:
  - https://boost.yandex.com/doc/en/ad-monetization/dev/react-native/admob.md
  - https://boost.yandex.com/doc/ru/ad-monetization/dev/react-native/admob.md
  - href: en/ad-monetization/dev/react-native/admob.md
    type: text/markdown
    title: Markdown version
  - href: llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://boost.yandex.com/doc/en/llms.txt

# Enabling Google

## Supported ad formats {#formats}

- [Adaptive inline banners](https://boost.yandex.com/doc/en/ad-monetization/dev/react-native/adaptive-inline-banner.md)
- [Adaptive sticky banners](https://boost.yandex.com/doc/en/ad-monetization/dev/react-native/adaptive-sticky-banner.md)
- [Interstitial ads](https://boost.yandex.com/doc/en/ad-monetization/dev/react-native/interstitial.md)
- [Rewarded ads](https://boost.yandex.com/doc/en/ad-monetization/dev/react-native/rewarded.md)

## Integration {#integration}

{% list tabs %}

- Android

  <!-- source: en/ad-monetization/dev/_includes/admob-android.md -->
  1. [Configure mediation](https://boost.yandex.com/doc/en/ad-monetization/monetization/yandex-mediation/setup.md) in the Boost interface and your advertising network account.

  2. Add the dependencies to the build.gradle file at the app level:
     ```
     implementation 'com.yandex.android:mobileads:8.3.0'
     implementation 'com.yandex.ads.mediation:mobileads-google:25.2.0.2'
     ```

  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/ad-monetization/dev/_includes/admob-android.md -->

- iOS

  <!-- source: en/ad-monetization/dev/_includes/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 has been adapted to work with the CocoaPods dependency management system and support static integration.

  1. [Configure mediation](https://boost.yandex.com/doc/en/ad-monetization/monetization/yandex-mediation/setup.md) in the Boost interface and your advertising network account.

  2. To connect the library, add the dependency to the project's Podfile:
     ```
     pod 'GoogleYandexMobileAdsAdapters', '13.6.0.0'
     ```

  3. In your app's Info.plist file, add the `GADApplicationIdentifier` key with your `AdMob ID`. Learn more about where you can [find the AdMob ID](https://support.google.com/admob/answer/7356431).
     ```xml
     <key>GADApplicationIdentifier</key>
     <string>ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy</string>
     ```
  <!-- endsource: en/ad-monetization/dev/_includes/admob-ios.md -->

{% endlist %}
