Ads and the remove-ads purchase
Eduardo asked, on 2026-11-25, for ads in the apps before the store release, and a purchase that removes them. This plan picks the ad platform, where ads may appear, and how the purchase is built, and compares RevenueCat with building it ourselves.
Summary
- One ad network, Google AdMob, with Google’s consent form (UMP). It has first-party native SDKs for iOS and Android, a certified consent form for the EEA, UK and US states, a $100 payout threshold, and mediation we can add later without changing the app. AppLovin MAX and Unity LevelPlay earn more per ad in big games, but that only pays at a traffic level we don’t have.
- Interstitials only, and only at natural breaks. An ad may show after a hand’s score sheet or after game over. It never shows mid-turn, during a tutorial, in the first game, or at an online table. At most one every 5 minutes, and at most one per hand. No banners: they shrink the table on a phone. No rewarded ads at launch, because nothing in a card game should be bought with attention.
- No tracking prompt. We never show Apple’s App Tracking Transparency (ATT) prompt, so iOS ads are non-personalized. In the EEA, UK and Switzerland, ads wait for the UMP consent answer. This costs some revenue and keeps the brand.
- Ad rules are data. When an ad may show (the breaks, the caps, the grace period) lives in
spec/ads/, with one pureadSlot(context)per platform passing shared cases, like the update feed in app-messaging.md. - One purchase: a non-consumable “Remove ads”. No subscription, no “supporter” tier at launch. Family Sharing is on, because this is a family game.
- Build it in; don’t add RevenueCat. StoreKit 2 and Play Billing Library 9 cover one non-consumable well, with on-device verification on iOS. RevenueCat would be free at our size, but it adds a dependency and a third party that receives every purchase. The case for it is subscriptions, paywall tests and dashboards, none of which we need. Our Rust server verifies purchases for signed-in players, so a purchase on one platform removes ads on the other.
- No ads on the web. Web ads would need cookies and a consent banner on a site that has none, ad blockers would remove most of them, and the web is where people try the game.
- Expect little ad money. For family and friends, ads will earn little (see section 3). The purchase and the goodwill matter more than the eCPM.
Decisions
Eduardo decided these on 2026-11-25.
- Ads, with the caps: AdMob full-screen ads at natural breaks only, plus “Remove ads”. The ads are reviewed three months after the first release that shows them (#241).
- Where ads may appear: after a hand’s score sheet and at game over, at most one full-screen ad every 5 minutes. Never mid-turn, in tutorials, in the first game, at online tables or in the first 10 minutes after install.
- Not listed for children: 4+ on the App Store, Everyone on Play, Play target audience 13 and over; not in Apple’s Kids category or Play’s Designed for Families.
- “Remove ads” costs $2.99, a one-time purchase per game app.
- Family Sharing on for “Remove ads”.
- Build purchases in: StoreKit 2 and Play Billing, no RevenueCat (decision 0014; the reasons and the triggers for reconsidering are in section 6).
- Cross-device later: a purchase on one platform removes ads on the others through the Homefelt account, once hosting (#50) and sign-in (#48) are live (#240). Until then each store’s purchase works on its own, restored by the same Apple ID or Google account.
- Money and legal: the store agreements, tax forms and payments profiles are Eduardo’s steps in #133 (section 10). The EU trader details show Eduardo’s own contact details.
1. Ad platforms compared
| Google AdMob | AppLovin MAX | Unity LevelPlay | Meta Audience Network | Apple | |
|---|---|---|---|---|---|
| What it is | Google’s network, plus mediation | Mediation, the market leader, with AppLovin’s own demand | Mediation from Unity (ironSource), with Unity Ads demand | A demand source, only through bidding in a mediation platform [7] | No ad network for third-party apps; Apple Ads only sells ads on the App Store |
| Native SDKs | First-party Swift Package and Gradle; Android’s “Next-Gen” SDK is the preferred one, and the legacy 25.x line is supported until mid-2028 [13] | Native, mature | Native; strongest in Unity games | Adapter only | n/a |
| Consent | UMP SDK, IAB TCF v2.3 certified, with US state messages [3] | Its own consent flow, or a certified CMP | Its own, or a certified CMP | Through the mediation platform | n/a |
| Demand for a small card game | Broad fill everywhere; lower eCPM than MAX or LevelPlay on interstitials in tier-1 markets [4] | Highest eCPM, and better with AppLovin demand [4] | Strong for games, but slower to reach ROI than AdMob alone [4] | Good eCPM, but bidding only, so needs mediation [7] | n/a |
| Setup effort | Low: one SDK, one consent form | Medium: mediation, adapters and a separate consent setup | Medium | Medium, through mediation | n/a |
| Payout | $100 threshold, monthly [9] | Monthly | Monthly | Through the mediation platform | n/a |
Mediation share. MAX has over half the market, and MAX, LevelPlay and AdMob together have over 90% [4]. Vendor comparisons disagree on eCPM, and none give numbers for a small casual card game. The honest answer is an A/B test on our own traffic, which needs traffic first.
Privacy-first and contextual networks. Some vendors say they serve ads without identifiers, for example Kidoz for games [14]. None has independent fill or eCPM data, and AdMob already serves non-personalized, contextual ads when there is no consent or no ATT. Recommendation: none at launch. We can look again if AdMob’s non-personalized ads turn out to be inappropriate for a family game.
Recommendation: AdMob alone. Mediation (AdMob mediation with Meta and AppLovin bidding, or a move to MAX) becomes its own checkpoint once ad revenue passes about $100 a month, and an A/B test shows it pays.
2. Where ads may appear
| Moment | Ad? | Why |
|---|---|---|
| Mid-turn, mid-hand, while a card is selected | Never | It interrupts play |
| A tutorial, the first game after install | Never | First impressions |
| After a hand’s score sheet, before the next deal | Interstitial | A natural pause |
| After game over | Interstitial | A natural pause |
| Online tables (any moment) | Never | Other players wait for you, and a seat that stalls hurts everyone |
| App launch, resume | Never | App-open ads feel like a toll |
| Banner on the table | Never | It shrinks the cards on a phone, and it moves the layout |
| Rewarded (“watch an ad for…”) | Not at launch | Nothing in the rules should be for sale; maybe later for cosmetic decks |
Caps, all as data in spec/ads/:
- at most one interstitial every 5 minutes of real time since the last ad, time in the background
included (
minSecondsBetween: 300; Eduardo, 2026-11-26); - at most one per hand, and never two breaks in a row;
- none in the first 10 minutes after install (
graceSeconds: 600); - none when the ad failed to load: the game never waits for an ad;
- none at all once “Remove ads” is owned, or when the update feed turns ads off (section 7).
adSlot(placements, context) takes the moment, the clock, the last ad time, the install time, the
game mode, the entitlement, the feed’s ads flag, consent and whether an ad is loaded, and returns
show or a reason to skip; the exact contract and its cases are in spec/ads
(#235). Swift, Kotlin and the web (which always
gets skip) pass the same cases, the way select(feed, context) does in
app-messaging.md. The SDK sits behind an AdPresenter protocol passed into the
app, so tests and the CLI never load it.
3. Consent, tracking and what the stores show
| Topic | Recommendation |
|---|---|
| EEA, UK, Switzerland | Google’s UMP form on first launch in those regions; ads load only after an answer [3]. “No” still gets non-personalized ads. Without a certified CMP, Google serves only limited ads there anyway [3] |
| US states (California and others) | UMP’s US state privacy message, with an opt-out of “sale or sharing” |
| Apple ATT | Never prompt. Without ATT, iOS ads use no IDFA and are non-personalized. This costs eCPM and keeps “Data used to track you” empty |
| App Store privacy label | AdMob collects IP address, crash logs, performance data, device ID, advertising data and product interaction [10]. The label moves from “Data not collected” to “Data linked to you: none; data not linked to you: identifiers, usage data, diagnostics”, to confirm against Google’s page when we ship. The SDK ships its own privacy manifest from 11.2.0 [10] |
| Play data safety | The same types, shared with Google for advertising |
| Privacy page | A new section, “Ads”, saying what Google receives, that we never ask to track you, and that “Remove ads” stops it |
| Analytics | No ad events in the shared taxonomy beyond ad_shown and ad_skipped counts, under the same opt-in as the rest of analytics.md |
Children and the families policies
A family card game will be played by children too, which brings in the stores’ children’s rules:
- Apple’s Kids category bans third-party ads, except contextual ads from a network with public, human-reviewed policies for kids’ apps. AdMob apps have been rejected for lacking that documentation [11]. Once in the category, an app must keep its rules in later updates [11]. Recommendation: stay out of the Kids category. List it under Games › Card, rated 4+.
- Google Play’s Families policy needs Families self-certified ad SDKs for any ad served to children or to users of unknown age, and the programme is not taking new SDKs right now [6]. An app whose target audience includes children must make sure ads to children come only from those SDKs [6]. Recommendation: set the Play target audience to 13 and over, with a content rating of Everyone, and say so honestly in the listing. A “Designed for Families” listing would mean no AdMob for children, or a neutral age screen first.
If Eduardo wants the apps listed for children, the ad plan changes: no ads for children (a neutral age screen), or no ads at all with the purchase as a tip. That is open question 2.
What ads will earn
Industry figures vary widely, and none of the sources give numbers for a small card game. As a working estimate only: a few hundred daily players seeing one or two non-personalized interstitials a day, at a low single-digit dollar eCPM, earn a few dollars a month. The $100 payout threshold may take months to reach [9]. Ads mostly make “Remove ads” worth buying.
4. The purchase
| Option | Recommendation |
|---|---|
| “Remove ads”, non-consumable, one per game app | Yes. $2.99 (decision 4), Family Sharing on (decision 5) |
| A “supporter” tier (a higher price with a thank-you) | Not at launch. It splits a tiny audience and adds a second product to test |
| A subscription | No. Nothing recurring to give, and subscriptions bring renewals, grace periods and price changes |
| Tips (consumables) | Later, if friends ask how to support it |
| Cosmetic decks | Later, as more non-consumables; they would reuse everything built here |
One app per game (decision 0007) means each game app sells its own “Remove ads”. If the games are later bundled into one Homefelt app, that app should honour every game’s purchase; the server’s entitlement table (section 5) makes that a lookup.
5. RevenueCat or build it in
| Build in: StoreKit 2 + Play Billing 9 + our server | RevenueCat | |
|---|---|---|
| Cost | Free | Free up to $2,500 a month of tracked revenue, then 1% [1] |
| Dependencies | None on iOS (StoreKit is the platform); Google’s Billing Library on Android, which we need either way | Its SDK on both apps, on top of StoreKit and Billing |
| Data sharing | None beyond Apple and Google | Every purchase goes to RevenueCat; the privacy label gains “Purchases” (and “User ID” if we pass our account id) [15] |
| One non-consumable | Small: Product.products, purchase(), Transaction.currentEntitlements, Transaction.updates; on Android queryProductDetails, launchBillingFlow, acknowledge, queryPurchasesAsync |
Smaller in the app, but the same store setup |
| Verification | iOS: StoreKit 2 verifies the JWS on the device. Server: App Store Server API and Server Notifications V2. Android: the Play Developer API and Real-time Developer Notifications | RevenueCat’s servers |
| Offline | currentEntitlements works offline from the cached, signed transactions; on Android, the cached purchase list |
Cached entitlements |
| Restore | AppStore.sync() on a “Restore purchases” button; queryPurchasesAsync on Android |
restorePurchases() |
| Refunds and Family Sharing | revocationDate on the transaction; REFUND and REVOKE notifications on the server [12]. A family member who leaves sometimes gets a REVOKE with no revocationDate, so the server must accept that [12] |
Handled |
| Across platforms | Our server links purchases to the Homefelt account of a signed-in player | Through RevenueCat’s app user id, which would be our account id |
| Testing | A StoreKit configuration file in Xcode, StoreKit Test in unit tests, sandbox; Play license testers and test cards | The same store testing, plus its dashboard |
| Lock-in | None | Moderate: entitlements and history live in its database |
| Where it wins | Privacy, no new third party, fits “side effects behind protocols” | Subscriptions, paywall experiments, revenue charts, many products |
Recommendation: build it in. For one non-consumable, the platform APIs are a few hundred lines
per app, and the server’s part is needed anyway for cross-device entitlement through our own
accounts. RevenueCat earns its place with subscriptions and experiments, which this plan doesn’t
have. If a subscription ever comes, adding RevenueCat then is still easy, because the apps only see
an Entitlements protocol.
How it fits the architecture
- A pure core.
EntitlementState(the grants that give “Remove ads”, each with its source: the player’s own purchase, family sharing, or the account) and oneupdate(state, event); ads show exactly when there is no grant. The events, the rules and the shared cases are in spec/purchases (#235), which is the contract. - Side effects behind protocols.
Store(StoreKit 2 or Billing 9) andEntitlementServer(our API) are passed into the app, with fakes in tests, like the other side effects (AGENTS.md). - Play specifics. Billing Library 9 is current (9.0.0, May 2026; 9.1.0 adds the billing choice
screen) [2][16]. Version 7 can no longer be used for new apps or updates, and version 8 stops
being allowed on 31 August 2027 [2]. Purchases must be acknowledged within three days or Google
refunds them, and a
PENDINGpurchase (cash, some cards) must not unlock anything until it completes. - iOS specifics. Listen to
Transaction.updatesfrom launch, so a purchase finished outside the app (Ask to Buy, a pending one) is caught. Finish every transaction. - The server. New endpoints:
POST /purchases/apple(a signed transaction from a signed-in player) andPOST /purchases/google(a purchase token), each verified with the store’s API and stored in anentitlementstable keyed by account;POST /webhooks/apple(Notifications V2) and a Pub/Sub push for Google’s RTDN, for refunds and revocations. This needs hosting (#50) and sign-in (#48), and a/security-review, because it touches payments and webhooks. - Without an account. A player who never signs in still gets their purchase on every device with the same Apple ID or Google account, through restore. Cross-platform needs a Homefelt account.
6. Why we build purchases in, and when we’d reconsider RevenueCat
For one non-consumable, every job RevenueCat does has a platform API, and the one job neither side does alone (cross-platform entitlement) is ours either way, through the Homefelt account.
| Job | Built in | Does RevenueCat add anything? |
|---|---|---|
| Buying | StoreKit 2 product.purchase() [19]; Play Billing launchBillingFlow [23] |
No: it wraps the same calls |
| “Do they own it?” at launch | Transaction.currentEntitlements, signed by Apple and verified on the device, offline [20]; queryPurchasesAsync [23] |
No: a cached copy of the same answer |
| Restore | AppStore.sync() on “Restore purchases” [21]; the Play query again |
No |
| Family Sharing | A setting on the product in App Store Connect and Play’s Family Library; ownershipType tells a shared purchase apart [22] |
No: no code either way |
| Refunds | A refunded purchase drops out of currentEntitlements (with revocationDate) and out of the Play query, so ads come back [12] |
No |
| Android acknowledgement | acknowledgePurchase within 3 days, or Google refunds it [23] |
Does it for you; a few lines for us |
| Testing | StoreKit configuration files and StoreKit Test in Xcode [24]; Play license testers [25] | No: the same store tools |
| Subscription states, paywall experiments, dashboards | Not needed for one non-consumable | Yes: its real strengths [1] |
| Cross-platform entitlement | Our server and Homefelt accounts (#240) | Only by sending it our account id; the server work is the same |
What RevenueCat would cost us.
- Another SDK in both apps, on top of StoreKit and Billing.
- Another party that sees every purchase: the App Store privacy label and Play data safety gain “Purchases” (and “User ID” with an account id), and the privacy page must name it [15].
- 1% of tracked revenue past its free tier of $2,500 a month [1].
- Lock-in: entitlements and purchase history live in its database, while our
Storeprotocol keeps the apps free of any one vendor (side effects behind protocols, fakes in tests, AGENTS.md).
The work we take on instead.
- A
Storeprotocol per platform (StoreKit 2 on iOS, Billing on Android) with a fake for tests (#237, #238). - The edge cases as tests: cancelled, pending (Play
PENDING, Ask to Buy), offline, refunded, and a Family Sharing revoke withoutrevocationDate[12]. - Later, server verification tied to the Homefelt account: the App Store Server API and Server Notifications V2 [26], the Play Developer API and Real-time Developer Notifications [27] (#240).
When we reconsider RevenueCat. Any one of these reopens the choice:
- We add a subscription, such as a Homefelt membership across games.
- We sell several products or bundles, such as an all-games pack.
- We want price or paywall experiments.
- Maintaining the purchase code or the server verification costs more than about a day a month.
The switch stays contained: the apps only see Store and EntitlementState, so RevenueCat would be
one more Store implementation, not a rewrite. The three-month ads review (decision 1, #241) is the
natural point to check these triggers.
7. Store, legal and money
| Item | What it involves |
|---|---|
| Apple Paid Apps agreement | In App Store Connect › Business: bank account and tax forms (a W-9 for a US person, a W-8BEN otherwise). Required before any in-app purchase can be sold |
| Apple Small Business Program | Apply as soon as the account exists: 15% on in-app purchases while earnings stay under $1M a year. In the EU, from 1 October 2026, members pay 15% on In-App Purchase [8] |
| Google payments profile | Linked to the Play Console, with bank and tax details. From 30 June 2026, in the US, EEA and UK, Google’s service fee is 10% on the first $1M a year, plus a 5% billing fee when using Play billing [17]. Google’s help pages still show the older 15% in places, so we confirm it in the Console |
| EU trader status (DSA) | Selling anything, ads included, makes Eduardo a “trader”. Apple then shows an address (a P.O. box is allowed), a phone number and an email on the EU product page, and blocks EU distribution until they’re verified [18]. Play Console asks the same. Eduardo chose to show his own contact details (decision 8) |
| Prices | Apple’s price points and Google’s price templates; set once in USD, with local prices generated |
| Taxes | Apple and Google are the merchant of record and collect VAT and sales tax. Eduardo pays income tax on what they pay him, in his country of tax residence. His tax form is a step in #133 |
| Ads money | AdMob needs its own payments profile and a tax form, and pays at $100 [9] |
8. Interactions with other plans
- Update and sunset feed (app-messaging.md): the feed gains an
adsflag, so ads can be switched off for everyone at once (a bad creative, an SDK bug) without a release. A sunset turns ads off on its first day. A sunset must also say what happens to “Remove ads” (it keeps working offline, since StoreKit and Play keep the record). - Analytics (analytics.md):
ad_shown,ad_skipped,purchase_started,purchase_completed,purchase_restored, all opt-in like the rest. No revenue amounts. - Releases: ads and the purchase can ship in the first store release (offline play). The server parts wait for hosting (#50) and sign-in (#48).
9. Phased plan
Each checkpoint is one issue and one PR.
- Spec (M), #235:
spec/ads/(placements, caps, cases) andspec/purchases/(the entitlement state, events and cases), with README and invalid files. - Pure cores (M), #236:
adSlotandEntitlementStatein Swift, Kotlin and the web (where ads are always skipped), passing every case. - iOS purchase (M), #237: StoreKit 2 behind
Store, a StoreKit configuration file, “Remove ads” and “Restore purchases” in Settings, unit tests with StoreKit Test. - Android purchase (M), #238: Billing Library 9 behind
Store, acknowledgement, pending purchases, restore, Robolectric tests with a fakeStore. - Ads in both apps (M), #239: the Google Mobile Ads SDK and UMP behind
AdPresenter, test ad units in Debug, the score-sheet and game-over breaks, the privacy manifest and the privacy page section. - Store setup (S, Eduardo), in #133 section 10: the Paid Apps agreement, the Small Business Program, the payments profile, the AdMob account, the products, trader status, privacy labels and data safety.
- Server entitlements (L), after #50 and #48, #240: the endpoints, the webhooks, the entitlements
table, the apps sending purchases after sign-in, and
/security-review. - Mediation (S), later, with the three-month review, #241: only when revenue passes about $100 a month and an A/B test pays.
Sources
Opened 2026-11-25.
- RevenueCat pricing (free to $2,500 monthly tracked revenue, then 1%)
- Play Billing deprecation FAQ and migrate to PBL 9
- AdMob: disclose to EEA users (iOS), AdMob EU consent and TCF
- Nine facts about the mediation space (Pocket Gamer.biz), Unity Ads vs AppLovin MAX (RevenueFlex), AdMob alternatives (metacto) (vendor and blog sources; they disagree)
- Unity Ads in mediation
- Play Families policy, Families Self-Certified Ads SDK Program
- Meta Audience Network bidding, AdMob mediation: Meta
- Apple: changes for apps in the EU, August 2026, TechCrunch
- AdMob payment thresholds
- AdMob iOS App Store data disclosure
- App Review Guidelines (1.3 Kids Category), Apple forum: Kids section third-party ads, Apple forum: rejected for AdMob
- StoreKit: handling refund notifications,
revocationDate, Apple forum: Family Sharing REVOKE without revocationDate - Google Mobile Ads Next-Gen SDK migration notes (DEV) (secondary; confirm on Google’s release notes)
- Kidoz: privacy and trust in mobile game ads (vendor)
- RevenueCat: Apple app privacy, Google Play data safety
- Play Billing release notes
- Android Developers blog: Play expanded billing, June 2026, Play service fees
- App Store Connect: EU Digital Services Act trader requirements, MacRumors, October 2024
Linked 2026-11-25, for section 6 (Apple and Google reference pages):
- StoreKit
Product.purchase(options:) - StoreKit
Transaction.currentEntitlements - StoreKit
AppStore.sync() - StoreKit
Transaction.ownershipType - Integrate the Play Billing Library
(purchase flow,
queryPurchasesAsync, acknowledgement within three days) - Setting up StoreKit testing in Xcode
- Test your Google Play Billing integration (license testers)
- App Store Server API and App Store Server Notifications
- Play Real-time developer notifications reference
Open questions
All seven were answered by Eduardo on 2026-11-25 and are recorded under Decisions.