# GoogleMobileAds.Api.AdapterResponseInfo

Response information for an individual ad network in an ad response.

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/adapter-response-info#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a1cfd799718992ac1d92c3e77edb95e3e(IAdapterResponseInfoClient client)` Creates an [AdapterResponseInfo](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/adapter-response-info#class_google_mobile_ads_1_1_api_1_1_adapter_response_info). ||

| ### Properties ||
|---|---|
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/adapter-response-info#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a7183c389bf882d1961a17a263b2c6b25` | `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/ad-error#class_google_mobile_ads_1_1_api_1_1_ad_error` Returns the error that occurred while rendering the ad. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/adapter-response-info#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a6699a70ef01eb4109ce6a645bef7b5b0` | `string` Returns the ad source ID associated with this adapter response. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/adapter-response-info#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1ad49cb2d1ea1a547d0c3177d168c136e8` | `string` Returns the ad source instance ID associated with this adapter response. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/adapter-response-info#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a91548bf73e1e977496a18dee8f966480` | `string` Returns the ad source instance name associated with this adapter response. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/adapter-response-info#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a161f89348731d55faa16cbf18874e2e4` | `string` Returns the ad source name associated with this adapter response. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/adapter-response-info#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a474b5de9ed609e503f619e9efe498730` | `Dictionary< string, string >` Returns a Dictionary containing the ad unit mapping. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/adapter-response-info#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a1e776b61ec789398d1ca0aa9a789569f` | `string` Returns a class name that identifies the ad network adapter. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/adapter-response-info#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1af809e377157eb3205a1e636595160eba` | `long` Returns the amount of time the ad network adapter spent loading an ad in ms. |

| ### Public functions ||
|---|---|
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/adapter-response-info#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a1933ac2143172bff1460d0629dba90a9()` | `override string` Returns a log friendly string version of this object. |

## Properties

### AdError

```c#
AdError AdError
```
Returns the error that occurred while rendering the ad.

Returns null if no error occurred or the adapter was not attempted.

### AdSourceId

```c#
string AdSourceId
```
Returns the ad source ID associated with this adapter response.

Returns an empty string if the ad server doesn't populate this field.

### AdSourceInstanceId

```c#
string AdSourceInstanceId
```
Returns the ad source instance ID associated with this adapter response.

Returns an empty string if the ad server doesn't populate this field.

### AdSourceInstanceName

```c#
string AdSourceInstanceName
```
Returns the ad source instance name associated with this adapter response.

Returns an empty string if the ad server doesn't populate this field.

### AdSourceName

```c#
string AdSourceName
```
Returns the ad source name associated with this adapter response.

Returns an empty string if the ad server doesn't populate this field.

### AdUnitMapping

```c#
Dictionary< string, string > AdUnitMapping
```
Returns a Dictionary containing the ad unit mapping.

### AdapterClassName

```c#
string AdapterClassName
```
Returns a class name that identifies the ad network adapter.

### LatencyMillis

```c#
long LatencyMillis
```
Returns the amount of time the ad network adapter spent loading an ad in ms.

Returns 0 if the adapter was not attempted or client is null.

## Public functions

### AdapterResponseInfo

```c#
 AdapterResponseInfo(
  IAdapterResponseInfoClient client
)
```
Creates an [AdapterResponseInfo](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/adapter-response-info#class_google_mobile_ads_1_1_api_1_1_adapter_response_info).

<br />

Details Parameters `client` A platform level IAdapterResponseInfoClient implementation.

### ToString

```c#
override string ToString()
```
Returns a log friendly string version of this object.