# googleads/googleads-mobile-android-examples

googleads-mobile-android

Repository: https://github.com/googleads/googleads-mobile-android-examples
Canonical: https://ross.abutalabs.com/products/googleads-mobile-android-examples
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2026-08-21T16:00:08+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 78, longevity 100
- inputs: {"age_days": 4655, "days_push": 12, "days_rel": 70, "gap_med": 45.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1878, forks 1918 (observed 2026-08-28T04:05:48.392807+00:00)

## What it is
A collection of official sample apps and code snippets demonstrating the legacy Google Mobile Ads SDK for Android (play-services-ads). The repository is now in maintenance mode, with Google directing developers to the newer GMA Next-Gen SDK examples.

## Use cases
- integrate banner ads in an android app
- learn how to show interstitial ads with admob
- implement rewarded video ads in android
- example code for google mobile ads sdk
- migrate from legacy play-services-ads sdk
- test ad formats in a sample android project

## When to choose
- you are maintaining an app still on the legacy play-services-ads SDK
- you need reference snippets for classic Google Mobile Ads API usage
- you want to compare legacy integration before migrating

## When to avoid
- you are starting a new Android ads integration - use the GMA Next-Gen SDK examples instead
- you need iOS or cross-platform ad samples
- you need production ad mediation configuration guidance

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: sdk, developer-tools
- domain: mobile-development, android-tools
- platform: jvm
- tags: google-mobile-ads, sample-code, legacy-sdk, admob, android-examples, advertising, android, mobile

## Member repositories
- googleads/googleads-mobile-android-examples (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:48.392807+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:14:39.267595+00:00, confidence not recorded.
  - readme: https://github.com/googleads/googleads-mobile-android-examples (fetched 2026-08-28T04:05:48.392807+00:00, sha 7d5e40bdfc61)
- Data as of 2026-08-30T08:39:29.467469+00:00.
