PRECIOUSKY Search RSS
Google Play Q&A

How do I add AdMob to an Android app?

Create an AdMob account, register the app, add the Google Mobile Ads SDK dependency, put your AdMob app ID in AndroidManifest.xml, then create ad units and load them with test ads until release. The sequence in order: register the app in AdMob (an app can be registered before it is on Google Play, then linked once published); add com.google.android.gms:play-services-ads to your module's Gradle dependencies; declare the app ID as a meta-data entry named com.google.android.gms.ads.APPLICATION_ID in the manifest — a missing or wrong value crashes the app on launch, which is the most common first-time failure; initialise the SDK once at startup; then create an ad unit per placement and load it. Use Google's published test ad unit IDs throughout development and swap to live IDs only in the release build. Add the UMP consent SDK at the same time if you will serve European users, since retrofitting it later means another release.

Related questions

← All Google Play Q&A

Publish with confidence

Get your app live on Google Play — this week

Tell us about your app and we'll match you with a verified Play Console publisher. Live-and-transfer, terms in writing, the signed AAB on request — never an account sale.

  • Skip the new-account 12-tester / 14-day wait
  • Publish on a seasoned, policy-clean console
  • Transfer the listing to a console you own

No spam. We reply on your chosen channel. By sending, you agree to our privacy policy.