Skip to content
WebViewGold Vibe Coding to App Store
English
Get WebViewGold

Claude Code + AdMob

Monetize your Claude Code app with AdMob

Web ad networks pay little inside apps and often break in WebViews. WebViewGold integrates the native AdMob SDK: a banner below your Claude Code app, interstitials after a number of interactions, and rewarded videos you trigger from JavaScript when the user wants extra credits or content.

From $109 one-time per platform, or let our team do it all from $698.

  • Approval guarantee – or money back within 14 days
  • No coding needed
  • One-time payment, free updates
  • 24/7 human support
  • Made in Germany since 2014 · ISO 27001

Three ad formats

Banner

A native banner anchored below your web content. Enable it with showBannerAd (iOS) / SHOW_BANNER_AD (Android) and paste your AdMob banner ID.

Interstitial

Full-screen ads after every X interactions (showadAfterX / SHOW_AD_AFTER_X). Keep X high enough that the app stays pleasant to use; reviewers dislike aggressive interstitials.

Rewarded

Trigger a rewarded video from your Claude Code app with displayrewardedad:// and grant credits, hints or content in Your own API routes, serverless functions or Supabase after the video completed.

Prompt for Claude Code

Paste this into Claude Code to implement the web-app side. Review the result, publish, then test inside the WebViewGold app.

Prompt for Claude Code
Read https://www.webviewgold.com/docs/iOS/admob/ and https://www.webviewgold.com/docs/android/admob/, then add native rewarded ads to this web app. Create a small module (lib/native.ts or the project equivalent) with isNativeApp() based on the user-agent token "WebViewGold" and showRewardedAd(), which navigates to 'displayrewardedad://' and resolves when window.updateRewardedStatus('true') fires. Use it on the credits screen; on success call a new authenticated API endpoint that adds credits server-side. Navigate to 'disableads://' once after a successful purchase. Add an "Advertising" paragraph to the privacy page. Document the schemes and the no-ads-for-children rule in CLAUDE.md. Run the test suite and summarize the changes.

Great way of converting your web app to a native app! Fast turn-around, and a great way to get your apps into the app stores without the need to develop a full native app!

Kevin Joling · FlightConnections & TrainConnections · Trustpilot

Set up AdMob for a Claude Code app

About 30 minutes, mostly in the AdMob console.

  1. Create the AdMob apps and ad units

    One AdMob app per platform, then a banner, interstitial and (optionally) rewarded ad unit each. Use test IDs while developing.

  2. Paste the IDs into WebViewGold

    iOS: GADApplicationIdentifier in Info.plist, AdmobBannerID and AdmobinterstitialID in Config.swift. Android: the equivalents in Config.java and the manifest. The Cloud Builder has fields for all of them.

  3. Control ads from your web app

    Switch ads off for paying users with disableads:// and on again with enableads://, for example after a subscription purchase stored in Your own API routes, serverless functions or Supabase.

  4. Add App Tracking Transparency (iOS)

    Personalized ads need the ATT prompt; WebViewGold shows it and exposes the decision to your web app (trackingDisabled). Declare "Advertising data" and tracking in App Privacy.

  5. Complete the store declarations

    Google Play: ads declaration = yes, Data safety with advertising IDs, content rating with ads. Apple: App Privacy with advertising data and the ATT answer.

Rules that get ad apps rejected

  • Ads that cover content or appear before the app is usable (both stores).
  • Ads in apps for children without the family-friendly ad settings.
  • Rewarded ads that promise something the app does not deliver (Guideline 2.3).
  • Personalized ads on iOS without the ATT prompt (Guideline 5.1.2).

Frequently asked questions

Can I use Google AdSense inside the app instead?

AdSense is made for websites and its policies do not cover apps; many publishers see it disabled in WebViews. AdMob is the app product and is what WebViewGold integrates natively.

Does AdMob work with in-app purchases?

Yes, a common model: ads for free users, disableads:// after the RevenueCat purchase event reaches Your own API routes, serverless functions or Supabase and the web app knows the user is premium.

Is Facebook Audience Network supported too?

Yes, WebViewGold also integrates Facebook (Meta) Audience Network banners and interstitials; the setup is documented separately.

Three ways to get your app into the stores

Same result, different amount of work on your side. All three come with the approval guarantee and 24/7 human support.

Do it yourself

$109 per platform, one-time

The WebViewGold license: a finished Xcode or Android Studio project. Paste your URL, set name and icon, switch on features, build and submit. Free updates forever.

See plans on the main page

Cloud Builder

$349 per license, one-time add-on

No Mac, no Xcode, no Android Studio: configure in the browser, we build both apps in the cloud and hand them to App Store Connect and the Play Console.

How the Cloud Builder works Try the free demo

Full Service

$698 per platform $798

Send us your URL and icon. Our team configures, builds and delivers your app within 72 hours, white-label, with source projects. Both platforms for $1,158.

Full Service details Powered by WeSetupYourWebViewApp

Winter Sale prices valid until December 31, 2026.

Ready to ship your Claude Code app?

App Store & Google Play approval guarantee – or your money back within 14 days

Rather hand it over? Full Service: we configure, build and deliver within 72 hours, from $698 per platform. Questions? Chat with us 24/7.

Refunds are granted under the conditions listed in our FAQ: a non-content rejection by Apple and/or Google, claimed within 14 days after purchase.