Documentation Index
Fetch the complete documentation index at: https://mintlify.com/admob-plus/admob-plus/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before installing AdMob Plus, ensure you have:- Google AdMob Account - Sign up if you don’t have one
- AdMob App ID - Create an app in your AdMob dashboard to get your App ID
- Ad Unit IDs - Create ad units for the ad types you want to display
Your AdMob App ID looks like
ca-app-pub-XXXXXXXXXXXXXXXX~YYYYYYYYYY. You’ll need separate IDs for Android and iOS.Framework-Specific Installation
Choose your framework to see installation instructions:- Cordova
- Capacitor
- React Native
- Ionic
Install the Plugin
Configure App IDs
Add your AdMob App IDs topackage.json:package.json
TypeScript Support
AdMob Plus includes TypeScript definitions out of the box. The globaladmob object is automatically available:Platform Requirements
- Android: Minimum SDK version 21 (Android 5.0)
- iOS: Minimum iOS version 12.0
- Cordova: Version 9.0.0 or higher
Verify Installation
After installation, verify that AdMob Plus is properly configured:Check Native Dependencies
Ensure the native SDKs are properly linked:Android: Look for
com.google.android.gms:play-services-ads in your dependenciesiOS: Verify GoogleMobileAds framework is includedTroubleshooting
Build errors on Android
Build errors on Android
If you encounter build errors related to Google Play Services:
- Ensure your
build.gradlehas the correct Google Play Services version - Check that your Android SDK Build Tools are up to date
- Try cleaning your build:
./gradlew clean
Build errors on iOS
Build errors on iOS
If you encounter CocoaPods or framework errors:
- Update CocoaPods:
sudo gem install cocoapods - Clean pods:
cd ios && pod deintegrate && pod install - Clean build folder in Xcode: Product → Clean Build Folder
TypeScript errors
TypeScript errors
If you see TypeScript definition errors:
- Ensure you have the latest version of AdMob Plus
- Add
"skipLibCheck": trueto yourtsconfig.json - Restart your IDE/TypeScript server
Module not found errors
Module not found errors
If imports fail at runtime:
- Clear your bundler cache (Metro, Webpack, etc.)
- Reinstall dependencies:
rm -rf node_modules && npm install - For React Native:
npx react-native start --reset-cache
Next Steps
Now that AdMob Plus is installed, learn how to display your first ad:Quick Start Guide
Show your first ad in minutes with our step-by-step guide