Google AdMob
  • Google AdMob
  • Mobile Ads SDK (Android)
  • English
  • Bahasa Indonesia
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
Sign in
Guides Reference SDK Samples Support
Google AdMob
  • Google AdMob
  • Mobile Ads SDK (Android)
  • Guides
  • Reference
  • SDK
  • Samples
  • Support
  • Get started
  • SDK migration
  • Google Play data disclosure
  • Enable test ads
  • Prepare for CCPA
  • Ad formats
  • App open
  • Banner
    • Get started
    • Anchored adaptive
    • Inline adaptive
    • Smart
  • Interstitial
  • Native
    • Load an ad
    • Display an ad
      • Small and medium-sized ads
      • Full screen ads
      • Native templates
    • Advanced features
      • Ad options
      • Custom mute this ad
      • Video ads
    • Native Validator
  • Rewarded
  • Rewarded interstitial
  • Advanced topics
  • Authorized Sellers for Apps
  • EU consent
  • EU consent (legacy)
  • Global settings
  • Optimize initialization and ad loading (Beta)
  • Precise location data policy
  • Reporting
  • Server-side verification
  • Targeting
  • WebView API for Ads
  • Open Measurement
  • Get started
  • Mediation
  • Get started
  • Choose networks
  • Integrate partner networks
    • AdColony
    • AdFalcon
    • AppLovin
    • Chartboost
    • Flurry
    • Fyber
    • i-mobile
    • InMobi
    • ironSource
    • Leadbolt
    • LG U+AD
    • maio
    • Meta Audience Network (previously Facebook)
    • MobFox
    • MoPub
    • myTarget
    • nend
    • Pangle
    • Tapjoy
    • Tencent
    • Unity Ads
    • Verizon Media
    • Vpon
    • Vungle
    • Zucks
  • Troubleshoot bidding
  • Create custom events (optional)
    • Overview
    • Banner
    • Interstitial
    • Native
    • Rewarded
  • Tools and debugging
  • Ad inspector
  • Testing creative types
  • Ad load errors
  • Response info
  • Logging ad response ID
  • Charles proxy
  • Network tracing
  • Mediation Test Suite
  • Home
  • Products
  • Google AdMob
  • Mobile Ads SDK (Android)

Sample Applications and Analytics

We provide a number of sample apps to show how to use the Google Mobile Ads SDK to place ads into native apps. You can find these open source apps at the Android (Google Play services) examples GitHub repository.

A useful accompaniment to the Mobile Ads SDK is Google Analytics, which enables you to easily measure the success of your mobile apps.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-08-08 UTC.

  • Connect

    • Blog
    • Facebook
    • Medium
    • Twitter
    • YouTube
  • Programs

    • Women Techmakers
    • Google Developer Groups
    • Google Developers Experts
    • Accelerators
    • Google Developer Student Clubs
  • Developer consoles

    • Google API Console
    • Google Cloud Platform Console
    • Google Play Console
    • Firebase Console
    • Actions on Google Console
    • Cast SDK Developer Console
    • Chrome Web Store Dashboard
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • Sign up for the Google Developers newsletter Subscribe
  • English
  • Bahasa Indonesia
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어