Stay organized with collections
Save and categorize content based on your preferences.
GoogleMobileAds.Api.AdInspectorError
Error information about why the ad inspector failed.
Summary
Inheritance
Inherits from:
GoogleMobileAds.Api.AdErrorPublic types
AdInspectorErrorCode
AdInspectorErrorCode
Error information about why the ad inspector failed.
Properties |
ERROR_CODE_ALREADY_OPEN
|
Ad inspector cannot be opened because it is already open.
|
ERROR_CODE_FAILED_TO_LOAD
|
Ad inspector failed to load.
|
ERROR_CODE_INTERNAL_ERROR
|
Ad inspector had an internal error.
|
ERROR_CODE_NOT_IN_TEST_MODE
|
Ad inspector cannot be opened because the device is not in test mode.
information.
|
Public functions
AdInspectorError
AdInspectorError(
IAdInspectorErrorClient client
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[],["The `GoogleMobileAds.Api.AdInspectorError` class provides details on ad inspector failures. It inherits from `AdError` and includes an `AdInspectorErrorCode` enum, which defines potential error states: `INTERNAL_ERROR`, `FAILED_TO_LOAD`, `NOT_IN_TEST_MODE`, and `ALREADY_OPEN`. The class constructor takes an `IAdInspectorErrorClient`, and the `GetCode()` function returns a `new AdInspectorErrorCode` indicating the specific error. These errors help pinpoint why the ad inspector couldn't be utilized or performed as expected.\n"],null,[]]