Use the correct test identifier
Google's Android sample app ID is:
ca-app-pub-3940256099942544~3347511713
This is a public sample identifier for development, not your production app's registration. A banner demo ad-unit ID is a separate value and belongs in the ad request or view configuration for that format.
| Identifier | Typical role |
|---|---|
ca-app-pub-…~… |
SDK application identity |
ca-app-pub-…/… |
Ad placement identity |
| Android package name | Android app identity, such as com.example.app |
| Firebase app ID | Firebase project/app configuration, not an AdMob substitute |
Validate the delimiter before investigating more complicated SDK failures.
Put it in the selected SDK's configuration
The legacy Android SDK uses com.google.android.gms.ads.APPLICATION_ID metadata under <application>. The Next-Gen SDK uses its documented initialization configuration. Unity's plugin has its own editor settings that feed the native build.
Do not copy an XML snippet for one SDK family into another integration without checking its guide. A “Missing application ID” error should trigger inspection of the merged release manifest or initialization configuration, not random network retries.
Separate debug and release values
Use build variants or controlled configuration so development identifiers do not accidentally ship. Add a release check that searches the final configuration for public sample IDs and confirms the intended production app and placement pairing.
Conversely, do not test interactions with live ads merely because the release configuration is available. Register test devices when working with your own ad units.
Verify the final artifact
A configuration file edited in the project may be overridden during manifest merging or framework export. APKLint's advertising checker can help inspect the resulting metadata, but it cannot confirm ownership of an AdMob account.
Follow the official setup instructions and test-ad guide. Keep app identity, placement identity and test-device status as three separate checks so a successful test banner does not conceal a production configuration mistake.
Sources and further reading
- Google: Legacy Google Mobile Ads SDK setup
- Google: Enable test ads on Android
- Google Mobile Ads: Next-Gen Android SDK setup
Reference review: 22 September 2026. Examples illustrate the workflow; check your installed versions, release artifact and account-specific Console requirements before applying them. This guide is not a claim that APKLint executed your project or verified your private account.



