openDebugMenu

actual fun openDebugMenu(context: Any?, adUnitId: String)

Opens the ad inspector.

Parameters

context

The context to use. Must be an Activity on Android.

adUnitId

The ad unit ID to use.

expect fun openDebugMenu(context: Any?, adUnitId: String)

Opens the ad inspector, which allows for testing ad configurations and troubleshooting ad delivery.

Parameters

context

A platform-specific context. For Android, this must be an Activity. For iOS, this parameter is not used and can be null.

adUnitId

The ad unit ID to use for the ad inspector.

actual fun openDebugMenu(context: Any?, adUnitId: String)