◉RORK LABJP
●SUBDOMAIN — Rork can now connect your web app to a subdomain only, leaving your root domain and www untouched (12/1)●UPDATES — expo-updates 58.0.23 fixes Android release builds embedding a stale runtime version●FLASH END — Intro pricing for Gemini Flash models ends 12/31, 29 days from now. Time to recheck AI feature costs●HMR — Some report the dev server picking up another server's bundle and then exiting●FIRST VIEW — Map the first screen for a normal launch, a notification, and a link, and back navigation stops surprising you●CARBON — Gemini 4 Carbon and Argon are now at standard rates: $4.00 input, $20.00 output per 1M tokens●SUBDOMAIN — Rork can now connect your web app to a subdomain only, leaving your root domain and www untouched (12/1)●UPDATES — expo-updates 58.0.23 fixes Android release builds embedding a stale runtime version●FLASH END — Intro pricing for Gemini Flash models ends 12/31, 29 days from now. Time to recheck AI feature costs●HMR — Some report the dev server picking up another server's bundle and then exiting●FIRST VIEW — Map the first screen for a normal launch, a notification, and a link, and back navigation stops surprising you●CARBON — Gemini 4 Carbon and Argon are now at standard rates: $4.00 input, $20.00 output per 1M tokens
Articles/Business
⟐ Business/2026-05-30Intermediate

Taking Inventory of Your AdMob Ad Units — All the Way to App Open Cooldown Design

When rewarded and interstitial units pile up and you can no longer tell which one fires on which screen, here is the inventory process I use, plus the design for adding a cooldown to an App Open ad that otherwise shows on every launch.

AdMob75Monetization40App OpenInterstitialApp Operations7

✦ Premium Article

You stop knowing which unit fires where

Run a wallpaper app with 50 million cumulative downloads long enough and the ad units quietly multiply. It started with a single interstitial; then I added a second for A/B testing, dropped in a rewarded unit, tried an App Open ad, and so on. One day I realized I could no longer instantly answer "which screen does this unit ID show on?" For something tied directly to revenue, that vagueness is a risky place to operate from.

So before adding anything new, I decided to take a proper inventory. What I did is not flashy, but I think it helps other solo developers whose ad setup has grown the same way, so I am leaving the steps here.

Start by listing every unit with grep

AdMob ad unit IDs are embedded as strings in code, so the definitions are easy to find. On Android, one line is enough.

grep -rn "ca-app-pub" app/src/main/java app/src/main/res

This surfaces the files where I define the constants (in my case Globals.java and AdManager.java) along with anything left over in layout XML. Reading the output, I use the last few digits of each unit ID as a key and map out where each one is defined and where it is called from.

The biggest win from this pass was finding the remains of an old banner unit still sitting in XML. Nothing in code referenced it anymore, yet the layout kept the AdView definition alive. You never notice these "ghost units" without an inventory.

✦

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
✦A concrete process for matching ad unit definitions to call sites using nothing but grep
✦How I add a four-hour cooldown and a first-launch skip to an App Open ad
✦The judgment I use so frequency capping and review prompts do not collide
Secure payment via Stripe · Cancel anytime
✦

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Rork Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

Related Articles

⟐ Business2026-10-16
AdMob Balance Below the Payment Threshold for Months: Three Screens to Check Before You Worry
If AdMob earnings stay under the payment threshold (8,000 yen for yen accounts), the balance rolls over instead of disappearing. What actually stops a payment is a PIN deadline, a payment hold, or six months without ad serving. A symptom-by-cause table and a small payout estimator, checked against the AdMob Help as of November 2026.
⟐ Business2026-04-26
Taking a Rork Max Native App Up the App Store Charts — The Order I Build Ads, StoreKit 2, and Subscriptions
The order I follow to grow a Rork Max SwiftUI app into one that stays near the top of its App Store category: a single AdGate that decides when ads may show, StoreKit 2 Transaction.updates monitoring, and where I draw the lines on ASO and retention — with working code.
⟐ Business2026-04-04
Rork App Revenue Design: Where Ads and Subscriptions Eat Each Other
How to layer AdMob, subscriptions, and one-time purchases in a Rork app without letting them cannibalize each other. Covers value-density placement, entitlement-first RevenueCat architecture, server-side receipt verification, and behavior-triggered paywalls.