GoogleMobileAds. Api. ResponseInfo

Information about an ad response.

Summary

Constructors and Destructors

ResponseInfo (IResponseInfoClient client)

Public functions

Returns the list of AdapterResponseInfo containing metadata for each adapter included in the ad response.
Returns the AdapterResponseInfo of the adapter that loaded the ad or null if the ad failed to load.
string
Returns the mediation adapter class name of the ad network that loaded the ad.
Dictionary< string, string >
Returns extra information about the ad response.
string
Returns the response ID for the loaded ad.
override string
Returns a log friendly string version of this object.

Public functions

GetAdapterResponses

 List 
 < 
  
  AdapterResponseInfo 
 
  
 > 
  
 GetAdapterResponses 
 () 

Returns the list of AdapterResponseInfo containing metadata for each adapter included in the ad response.

Can be used to debug the mediation waterfall execution.

GetLoadedAdapterResponseInfo

  AdapterResponseInfo 
 
  
 GetLoadedAdapterResponseInfo 
 () 

Returns the AdapterResponseInfo of the adapter that loaded the ad or null if the ad failed to load.

GetMediationAdapterClassName

 string 
  
 GetMediationAdapterClassName 
 () 

Returns the mediation adapter class name of the ad network that loaded the ad.

In the case of a mediated ad response, this is the name of the class that was responsible for performing the ad request and rendering the ad.

See for possible return values. Returns null if the ad failed to load.

GetResponseExtras

 Dictionary 
 < 
  
 string 
 , 
  
 string 
  
 > 
  
 GetResponseExtras 
 () 

Returns extra information about the ad response.

GetResponseId

 string 
  
 GetResponseId 
 () 

Returns the response ID for the loaded ad.

Can be used to look up ads in the Ad Review Center. Returns null if the ad failed to load.

ResponseInfo

  
 ResponseInfo 
 ( 
  
 IResponseInfoClient 
  
 client 
 ) 

ToString

 override 
  
 string 
  
 ToString 
 () 

Returns a log friendly string version of this object.

Create a Mobile Website
View Site in Mobile | Classic
Share by: