Skip to main content

Install the AdMob Adapter SDK

Install and configure the RevenueCat AdMob adapter for iOS and Android

AIAsk AIChatGPTClaude
⚠️Beta Feature - Opt-in Required

This feature is currently in beta. To enable it, visit the Ads page in your RevenueCat dashboard to opt in.

⚠️Enable Impression-Level Ad Revenue in AdMob

You must enable "Impression-level ad revenue" in your AdMob account before RevenueCat can receive ad revenue events. Follow Google's guide to turn on impression-level ad revenue.

The RevenueCat AdMob adapter wraps standard AdMob ad loading calls so RevenueCat can track ad events automatically. Install it once for your platform, then follow the AdMob SDK Integration guide to start tracking ads with loadAndTrack.

Requirements

  • Minimum iOS version: iOS 15.0+
  • RevenueCat SDK: purchases-ios 5.0.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.

Installation

Add the AdMob adapter package via Swift Package Manager:

.package(url: "https://github.com/RevenueCat/purchases-ios-admob", from: "5.0.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?