Stock Master Tracker docs
v2.0.0
Get help
● Monetise · Ads

Ads
four networks, every placement off.

AdMob, AppLovin MAX, Unity Ads and ironSource LevelPlay, as one network or a waterfall per format. Ads are off until you switch them on, and hidden for Pro users and after Remove ads.

Off by defaultNo author ad idsGoogle UMP consent

01Ads in four steps

  1. Open the network account(s)Create the app and the ad units for Android and iOS in the network's dashboard.
  2. Put your ids in the consoleConsole → AdMob ids (or AppLovin MAX, Unity Ads, ironSource LevelPlay ids). Empty units mean no ad of that format in a release build.
  3. Replace the AdMob app id in the app filesGoogle's test app id sits in AndroidManifest.xml and Info.plist; replace it with yours and rebuild (below).
  4. Switch onConsole → Ads → Show ads, then the placements you want. Run tool/check_ad_ids.sh --release before the store build.

02Networks and formats

NetworkFormats in this appIds the app needs
Google AdMobBanner, interstitial, rewarded, native, app openAndroid and iOS app id, unit ids
AppLovin MAXBanner, interstitial, rewarded, native, app openSDK key, unit ids
Unity AdsBanner, interstitial, rewardedAndroid and iOS game id, placement ids
ironSource LevelPlayBanner, interstitial, rewardedAndroid and iOS app key, ad unit ids

Each network has its own publisher account, review and payout terms. These docs do not estimate ad income.

03No ids of the author ship in this source

The package contains no ad id that belongs to the author or to anyone else. The only literal ids are Google's public AdMob test ids (publisher ca-app-pub-3940256099942544), published by Google for testing. Every id field in the console, the backend defaults, the demo data and the app model starts empty. There is no AppLovin SDK key, Unity game id or placement id, and no ironSource app key in the code. The complete list of where each id comes from is app/ADS-IDS.md.

IdWhere it comes fromWhat ships
AdMob app id, Androidapp/android/app/src/main/AndroidManifest.xml, com.google.android.gms.ads.APPLICATION_ID. The SDK reads it from the app bundle, so it cannot come from the server.Google's test app id
AdMob app id, iOSapp/ios/Runner/Info.plist, GADApplicationIdentifierGoogle's test app id
AdMob unit idsConsole → AdMob idsEmpty
Debug fallbackapp/lib/ads/ad_adapter.dart (AdMobTestIds)Google's test units, used only in debug builds when a console unit is empty
AppLovin, Unity, ironSource idsConsole sections for each networkEmpty
Ad revenue reporting keysConsole → Ad revenue reporting (write-only, server only)Empty

04Check it with one command

tool/check_ad_ids.sh              # exits 1 if any non-test ad id is hard-coded in app/, admin/ or firebase/
tool/check_ad_ids.sh --release    # also fails while the AdMob app id is still Google's test id; run before a store build

Run it from the source/ folder (macOS, Linux, Git Bash or WSL). Expected output is one ok line per check and exit code 0. A store build that keeps Google's test app id serves no real AdMob ads and earns nothing from AdMob.

05Placements

Console → Ads. Every placement is off by default.

PlacementDefaultNotes
Show ads (master switch)OffNothing shows while this is off.
App-open adOffAt most once per hour.
Banner on the markets, stock and news screensOffThree separate switches.
Native ad after every n stocks / news items0 (off)0–100.
Interstitial on every n-th stock opened0 (off)0–50.
Seconds between two interstitials (minimum)12030–3600; also spaces app-open ads.
Rewarded ad unlocks an AI stock reportOffCapped under AI summaries.

Pro users and users who bought Remove ads see no ads at all (app/lib/ads/ad_policy.dart).

06One network or a waterfall

  • One network (default, AdMob): that network serves every format it supports.
  • Waterfall per format: one list per format, one network per line, tried in order until one fills. A network without that format, an unknown name or a repeat is skipped and shown on Status.
applovin
admob

Example waterfall for rewarded: AppLovin MAX first, then AdMob.

07Enter your ids, step by step

  1. Create the app and ad unitsIn each network's dashboard, once for Android and once for iOS. Where the ids appear: AdMob → Apps → App settings (app id, ca-app-pub-XXXXXXXXXXXXXXXX~NNNNNNNNNN) and Ad units (unit ids, with /). The other networks show theirs in their own dashboards (SDK key, game id, placement ids, app key).
  2. Paste them in the consoleUnder the network's section. Status warns when a switched-on placement has no id.
  3. AdMob app id in the native projectReplace Google's test app ids in AndroidManifest.xml and Info.plist with your own, then rebuild.
Test ads in debug builds

When an AdMob unit id is empty and the build is a debug build, the app uses Google's published test units, and Unity Ads runs in test mode. Release builds never use test ids. Never click your own live ads; add your phone as a test device in the network's dashboard instead.

09Ads in the example build

The example and web builds draw simulated, labelled placeholders so you can see where each placement sits. The ad SDKs do not run on the web.