Integrate Google AdMob for Monetization

How to set up Google AdMob in your WebToAppConvert app: creating an AdMob account, creating ad units, configuring your app, and understanding ad placement options.

Google AdMob is Google's mobile advertising platform. It serves ads inside your app and pays you based on impressions and clicks. For WebView apps, AdMob is the standard way to monetize traffic from users who installed the app rather than visiting the website in a browser.

AdMob integration requires the Professional build tier.

Before You Start

  • AdMob account: Create one at admob.google.com using your Google account
  • AdMob app registration: You'll register your app in AdMob to get an App ID
  • Google Play listing: For AdMob to fully approve your app (not just serve test ads), your app needs to be published on Google Play. You can set up AdMob before publishing, but live ad serving to real users requires Play Store presence.

Step 1: Create an AdMob Account

  1. Go to admob.google.com and sign in with your Google account
  2. Complete the account setup: country, payment currency, and timezone
  3. Review and accept the AdMob Terms of Service

Step 2: Add Your App to AdMob

  1. In the AdMob dashboard, go to Apps → Add app
  2. Select Android
  3. If your app is already on Google Play, search for it by name or package. If not yet published, select Add your app manually.
  4. Enter your app name and click Add app
  5. Copy the App ID: it looks like ca-app-pub-XXXXXXXXXXXXXXXX~YYYYYYYYYY

Step 3: Create Ad Units

Ad units define where and how ads appear in your app. WebToAppConvert supports two standard ad formats:

Banner Ads

A rectangular ad that appears at the bottom of the screen. Visible while the user is browsing your app's content.

  1. In AdMob, navigate to your app and click Add ad unit
  2. Select Banner
  3. Name the ad unit (e.g., "Banner Bottom")
  4. Copy the Ad unit ID: it looks like ca-app-pub-XXXXXXXXXXXXXXXX/YYYYYYYYYY

Interstitial Ads

Full-screen ads shown at natural transition points: when a user navigates from one page to another inside your app. Higher CPM than banners but more intrusive. Use sparingly; showing interstitials too frequently causes uninstalls.

  1. Click Add ad unit and select Interstitial
  2. Name it (e.g., "Interstitial Navigation")
  3. Copy the Ad unit ID

Step 4: Configure AdMob in WebToAppConvert

  1. In your app configuration, navigate to Integrations → AdMob
  2. Enable AdMob
  3. Enter your AdMob App ID
  4. For banner ads: enter the Banner Ad Unit ID and select placement (bottom is standard)
  5. For interstitial ads: enter the Interstitial Ad Unit ID and configure frequency (minimum page navigations between each interstitial)
  6. Save the configuration

Step 5: Add app-ads.txt

AdMob requires you to publish an app-ads.txt file on your website's developer domain. This file authorizes AdMob to serve ads in your app and is used by ad buyers to verify authorized sellers.

See AdMob Policies & app-ads.txt for complete instructions.

Testing Ads

During development and testing, use AdMob's test ad IDs rather than your real ad unit IDs. This prevents invalid impression data and keeps your account compliant:

  • Test Banner ID: ca-app-pub-3940256099942544/6300978111
  • Test Interstitial ID: ca-app-pub-3940256099942544/1033173712

WebToAppConvert automatically uses test IDs in Debug builds when your configuration includes AdMob.

Expected Revenue

AdMob CPM (revenue per 1,000 impressions) varies significantly by category, country, and ad placement. Typical ranges:

  • Banner ads: $0.50–$3.00 CPM
  • Interstitial ads: $2.00–$10.00 CPM

For context: an app with 1,000 active monthly users viewing 5 pages each would generate approximately 5,000 banner ad impressions per month. At $1.50 CPM, that's $7.50/month. Revenue scales with user count and engagement.

Still need help?

Can't find the answer you're looking for? Reach out to our support team.

Contact Support