Pocketmind docs
v2.0.0
Live previewConsole demo Get help
● Earn

Ads.
Optional AdMob banner and interstitials.

Ads are off by default and never shown to Pro users.

Google AdMobOff by default

01Set it up

Your own accounts

Ads run on your own Google AdMob account; AdMob pays you directly. Nothing about ads is included in the item price.

  1. Create an AdMob app for Android and one for iOS, and a banner and an interstitial unit for each.
  2. Replace Google's test app id (ca-app-pub-3940256099942544~…) with yours in app/android/app/src/main/AndroidManifest.xml (com.google.android.gms.ads.APPLICATION_ID) and app/ios/Runner/Info.plist (GADApplicationIdentifier).
  3. Enter the four unit ids in the console (Ads), set "Interstitial after every N replies" (0 = never), and switch on Show ads.
  4. Check: bash tool/check_ad_ids.sh --release passes once your app id is in place.

03Where ads appear

  • Banner under the chat and the history list.
  • Interstitial after every N finished replies in a session (0 = never).
  • Never for Pro users, never while the paywall gives the user Pro.

04Test ids and empty ids

Only Google's public test ids ship. An empty unit id shows Google's test ad in a debug build and no ad in a release build, so a release cannot show test ads or someone else's units. bash tool/check_ad_ids.sh proves no other AdMob id is hard-coded.

05Ads do not show

  1. Show ads is on in the console, and the app reads that console (API_BASE_URL).
  2. The user is not Pro.
  3. The four unit ids are set (Status names missing ones).
  4. Your own AdMob app id replaced the test id in the manifest and Info.plist.
  5. New AdMob units can take hours to serve; check the AdMob dashboard.
  6. The privacy screen lists AdMob only while ads are on: if it does not, the app has not loaded the new config yet (it refreshes at start).