admob_integrate
Integrate AdMob ads into React Native/Expo projects by generating ad components (Banner, Interstitial, Rewarded, AppOpen) with test ID support and installing required dependencies.
Instructions
Generate AdMob integration code for a React Native / Expo project. Creates ad components (Banner, Interstitial, Rewarded, AppOpen) with test ID support and installs required dependencies.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectDir | Yes | Path to the app project directory | |
| platform | No | Target platform (default: both) | |
| iosAppId | No | AdMob iOS App ID (e.g., ca-app-pub-xxxxx~yyyyy) | |
| androidAppId | No | AdMob Android App ID (e.g., ca-app-pub-xxxxx~yyyyy) | |
| adUnits | No | Ad units to generate code for. If omitted, generates sample Banner + Interstitial. |