Skip to main content
Skip to navigation

Install the AdMob Adapter SDK

Install the RevenueCat AdMob adapter for iOS, Android, Flutter, React Native, or Unity

AIAsk AIChatGPTClaude

This tutorial shows you how to install the RevenueCat AdMob adapter for iOS, Android, Flutter, React Native, or Unity. By the end, your app will be ready to track AdMob events automatically with the adapter that matches its platform and Google Mobile Ads SDK.

⚠️Beta feature

This feature is currently in beta.

On Android, install either the legacy adapter or the Next-Gen adapter. Choose the adapter that matches the Google Mobile Ads SDK your app uses. The two adapters are mutually exclusive.

On Flutter, React Native and Unity, the adapter is a separate package installed next to the core RevenueCat SDK and the AdMob library for that platform, in the same way as the RevenueCat UI packages.

Prerequisites​

Enable Impression-level ad revenue in your AdMob account before integrating the adapter. Follow Google's guide to turn on impression-level ad revenue.

  • Minimum iOS version: iOS 15.0+
  • RevenueCat SDK: purchases-ios 5.89.0+
  • AdMob SDK: Google Mobile Ads SDK 12.0.0+
  • Swift only: This adapter does not expose Objective-C entrypoints. Use RevenueCat's base AdTracker APIs directly for Objective-C integrations.

1. Install the adapter​

Add the AdMob adapter package via Swift Package Manager:

.package(url: "https://github.com/RevenueCat/purchases-ios-admob", from: "5.89.0")

Then add the RevenueCatAdMob product to your target.

📘SPM dependency note

If your project depends on RevenueCat via SPM, use the purchases-ios-spm package (not purchases-ios). The adapter declares this dependency correctly, but if you add RevenueCat separately, make sure both resolve from the same purchases-ios-spm repository to avoid duplicate package errors.

Next steps​

Once the adapter is installed, follow the integration guide:

Was this page helpful?