Overview
Ad inspector is an in-app overlay that lets you perform real-time analysis of test ad requests directly within your app.
Warning
Enabling ad inspector increases memory usage of the Google Mobile Ads SDK for test devices. Ad inspector only launches on test devices.
Prerequisites
Before you can use ad inspector, you must complete the following tasks:
- Create an AdMob account.
- Set up an app in AdMob.
- Set up Google Mobile Ads SDK.
- Add your device as a test device.
Error handling
When ad inspector closes, the callback receives a Dictionary containing error information. If ad inspector closed successfully, the dictionary will be empty.
| Field | Type | Description |
|---|---|---|
code |
int |
The error code |
message |
string |
A human-readable error message |
domain |
string |
The error domain |