Wrong AdMob App ID Caused Limited Ad Serving on Live Android Game
A developer discovered that AdMob was serving limited ads on their live Android game, Logo Quiz: Guess Brand, because the ad units were registered under a different AdMob app entry than the one linked to the Play Store listing. AdMob requires a one-to-one link between a Play Store listing and an AdMob app, and since the verified app had no ad units while the app with ad units was unverified, neither could serve ads properly. The fix involved creating ad units under the Play-linked app and updating four IDs across the project, including in both app.json and AndroidManifest.xml, where the app ID is stored in two separate places. The developer noted that changing only app.json still results in the old ID being baked into the APK, and recommends inspecting the compiled artifact directly to confirm which ID was actually shipped. The key lesson offered is to create and link the AdMob app to the Play Store listing before adding any ad unit IDs to the codebase.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in