Stay organized with collections
Save and categorize content based on your preferences.
GoogleMobileAds.Api.LoadAdError
Error information about why an ad load operation failed.
Summary
Inheritance
Inherits from:
GoogleMobileAds.Api.AdError
Constructors and Destructors
|
LoadAdError(ILoadAdErrorClient client)
|
Public functions
|
GetResponseInfo()
|
|
ToString()
|
override string
Returns a log friendly string version of this object.
|
Public functions
GetResponseInfo
ResponseInfo GetResponseInfo()
Returns ResponseInfo object for the failed request.
response-info
for more inforomation about Response Info.
LoadAdError
LoadAdError(
ILoadAdErrorClient client
)
Creates a LoadAdError.
Details |
Parameters |
client
|
A platform level ILoadAdErrorClient implementation.
|
|
ToString
override string ToString()
Returns a log friendly string version of this object.
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.
[[["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 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eLoadAdError\u003c/code\u003e provides detailed information about why an ad failed to load in your application.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits properties from the \u003ccode\u003eAdError\u003c/code\u003e class and includes a \u003ccode\u003eResponseInfo\u003c/code\u003e object for further analysis.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers functionalities such as \u003ccode\u003eGetResponseInfo\u003c/code\u003e and \u003ccode\u003eToString\u003c/code\u003e to retrieve detailed error information.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use \u003ccode\u003eLoadAdError\u003c/code\u003e to understand and troubleshoot ad loading issues, ultimately improving ad performance.\u003c/p\u003e\n"]]],["`LoadAdError` provides details on ad loading failures within the Google Mobile Ads API. Key actions include creating a `LoadAdError` instance with an `ILoadAdErrorClient`. Users can retrieve a `ResponseInfo` object, which contains data about the failed request, by calling `GetResponseInfo`. Additionally, `ToString` generates a user-friendly string representation of the error object for logging. It Inherits from `AdError`.\n"],null,["GoogleMobileAds.Api.LoadAdError\n\nError information about why an ad load operation failed.\n\nSummary\n\nInheritanceInherits from: [GoogleMobileAds.Api.AdError](/admob/unity/reference/class/google-mobile-ads/api/ad-error)\n\n| Constructors and Destructors ||\n|---|---|\n| [LoadAdError](#class_google_mobile_ads_1_1_api_1_1_load_ad_error_1a06ff0a3e5e8d6a399fe964de789ac0b8)`(ILoadAdErrorClient client)` Creates a [LoadAdError](/admob/unity/reference/class/google-mobile-ads/api/load-ad-error#class_google_mobile_ads_1_1_api_1_1_load_ad_error). ||\n\n| Public functions ||\n|--------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GetResponseInfo](#class_google_mobile_ads_1_1_api_1_1_load_ad_error_1a3b2646541833b21c2f504243645a64f5)`()` | [ResponseInfo](/admob/unity/reference/class/google-mobile-ads/api/response-info#class_google_mobile_ads_1_1_api_1_1_response_info) Returns [ResponseInfo](/admob/unity/reference/class/google-mobile-ads/api/response-info#class_google_mobile_ads_1_1_api_1_1_response_info) object for the failed request. |\n| [ToString](#class_google_mobile_ads_1_1_api_1_1_load_ad_error_1aef81faa6fad818719a6342f03de3885d)`()` | `override string` Returns a log friendly string version of this object. |\n\nPublic functions \n\nGetResponseInfo \n\n```c#\nResponseInfo GetResponseInfo()\n``` \nReturns [ResponseInfo](/admob/unity/reference/class/google-mobile-ads/api/response-info#class_google_mobile_ads_1_1_api_1_1_response_info) object for the failed request.\n\nresponse-info\n\nfor more inforomation about Response Info.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Returns** | The [ResponseInfo](/admob/unity/reference/class/google-mobile-ads/api/response-info#class_google_mobile_ads_1_1_api_1_1_response_info) of this error. |\n\nLoadAdError \n\n```c#\n LoadAdError(\n ILoadAdErrorClient client\n)\n``` \nCreates a [LoadAdError](/admob/unity/reference/class/google-mobile-ads/api/load-ad-error#class_google_mobile_ads_1_1_api_1_1_load_ad_error).\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |----------|-----------------------------------------------------| | `client` | A platform level ILoadAdErrorClient implementation. | |\n\nToString \n\n```c#\noverride string ToString()\n``` \nReturns a log friendly string version of this object."]]