---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://ads.yandex.com/helpcenter/en/dev/android7/admob.md
  - https://ads.yandex.com/helpcenter/ru/dev/android7/admob.md
  - href: en/dev/android7/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://ads.yandex.com/helpcenter/en/llms.txt

# Enabling Google



{% note info "Supported library and platform versions" %}

**Yandex Mobile Ads SDK:**
- The minimum supported version of the 7.18.7
- The current version of the 7.18.7
- The maximum supported version of the 7.18.8 (not including)

**Google Mobile Ads SDK:**
- The minimum supported version of the 23.6.0
- The current version of the 23.6.0
- The maximum supported version of the 23.6.1 (not including)

[Version history](https://ads.yandex.com/helpcenter/en/dev/android7/changelog-android.md#google-admob-ex-admob)


{% endnote %}

## Supported ad formats {#formats}

- [Adaptive inline banner](https://ads.yandex.com/helpcenter/en/dev/android7/adaptive-inline-banner.md)
- [Adaptive sticky banner](https://ads.yandex.com/helpcenter/en/dev/android7/adaptive-sticky-banner.md)
- [Interstitial advertising](https://ads.yandex.com/helpcenter/en/dev/android7/interstitial.md)
- [Native ads](https://ads.yandex.com/helpcenter/en/dev/android7/native.md)
- [Rewarded ads](https://ads.yandex.com/helpcenter/en/dev/android7/rewarded.md)
- [App Open Ads](https://ads.yandex.com/helpcenter/ru/dev/android7/app-open-ad)

## Integrating the {#integration}

**Integration using Gradle**

<!-- 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 -->
