TestAdIds

Google's official sample ad-unit and app IDs for testing. Never use these constants in production. Use them in debug builds and test runs only.

Properties

Link copied to clipboard

Android test app ID.

Link copied to clipboard

Android test app-open ad-unit ID.

Link copied to clipboard

Android test banner ad-unit ID.

Link copied to clipboard

Android test collapsible banner ad-unit ID. Regular banner test ids never serve collapsible fill.

Link copied to clipboard

Android test interstitial ad-unit ID.

Link copied to clipboard

Android test native ad-unit ID.

Link copied to clipboard

Android test rewarded ad-unit ID.

Link copied to clipboard

Android test rewarded interstitial ad-unit ID.

Link copied to clipboard
const val IOS_APP_ID: String

iOS test app ID.

Link copied to clipboard
const val IOS_APP_OPEN: String

iOS test app-open ad-unit ID.

Link copied to clipboard
const val IOS_BANNER: String

iOS test banner ad-unit ID.

Link copied to clipboard

iOS test collapsible banner ad-unit ID.

Link copied to clipboard

iOS test interstitial ad-unit ID.

Link copied to clipboard
const val IOS_NATIVE: String

iOS test native ad-unit ID.

Link copied to clipboard
const val IOS_REWARDED: String

iOS test rewarded ad-unit ID.

Link copied to clipboard

iOS test rewarded interstitial ad-unit ID.

Link copied to clipboard

Google's sample-publisher prefix. Every official test ad unit and app id uses it.

Functions

Link copied to clipboard
fun isTestAdUnitId(adUnitId: String): Boolean

True when adUnitId is one of Google's official test ad units.