GoogleMobileAds. Api. AdError
Error information about why an ad operation failed.
Summary
Inheritance
Direct Known Subclasses:GoogleMobileAds.Api.AdInspectorError, GoogleMobileAds.Api.LoadAdError
        Constructors and Destructors | 
    |
|---|---|
        AdError(IAdErrorClient client)
        Creates a AdError.  
       | 
    
        Public functions | 
    |
|---|---|
        GetCause()
       | 
      |
        GetCode()
       | 
      
        int
        Returns the error code.  
       | 
    
        GetDomain()
       | 
      
        string
        Return "MobileAds" for Google Mobile Ads SDK errors, or a domain defined by mediation networks for mediation errors.  
       | 
    
        GetMessage()
       | 
      
        string
        Returns the error message.  
       | 
    
        ToString()
       | 
      
        override string
        Returns a log friendly string version of this object.  
       | 
    
Public functions
AdError
AdError( IAdErrorClient client )
Creates a AdError.
| Details | |||
|---|---|---|---|
| Parameters | 
              
  | 
          
GetCause
AdError GetCause()
GetCode
int GetCode()
Returns the error code.
| Details | |
|---|---|
| Returns | 
               The error code. 
             | 
          
GetDomain
string GetDomain()
Return "MobileAds" for Google Mobile Ads SDK errors, or a domain defined by mediation networks for mediation errors.
| Details | |
|---|---|
| Returns | 
               The error domain. 
             | 
          
GetMessage
string GetMessage()
Returns the error message.
for explanations of common errors.
summary> Returns the cause of this error or null if the cause is nonexistent or unknown. 
| Details | |
|---|---|
| Returns | 
               Ad Error Message.  
             | 
          
| Details | |
|---|---|
| Returns | 
               Returns the cause of this error. 
             | 
          
ToString
override string ToString()
Returns a log friendly string version of this object.