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.AdError
Public functions
|
GetCode()
|
Returns the error code.
|
Public 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
)
Creates an AdInspectorError.
| Details |
| Parameters |
client
|
A platform level IAdInspectorErrorClient implementation.
|
|
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 2026-04-22 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-22 UTC."],[],["The `GoogleMobileAds.Api.AdInspectorError` class provides details on ad inspector failures. It inherits from `AdError` and includes a constructor taking an `IAdInspectorErrorClient`. The `AdInspectorErrorCode` enum specifies error types: internal error, failed to load, not in test mode, and already open. The `GetCode()` function retrieves the specific `AdInspectorErrorCode`. Properties within the enum further clarify each error's meaning.\n"]]