Integration debugging mode

Use debugging mode to find errors when enabling native ads or to check that integration was successful. Debugging mode has an integration indicator that shows you if integration was successful or provides debugging information to help you find the reason for an error. To use the integration indicator, switch to debugging mode and turn on the indicator.

Integration indicator

To turn on the indicator in debugging mode, call the enableDebugErrorIndicator method with the value true:

MobileAds.enableDebugErrorIndicator(true)

If the integration is successful, a light green border appears on top of the ad in debugging mode.

To turn off the indicator in debugging mode, call the enableDebugErrorIndicator method with the value false:

MobileAds.enableDebugErrorIndicator(false)