Stay organized with collections
Save and categorize content based on your preferences.
GoogleMobileAds.Api.AdapterResponseInfo
Response information for an individual ad network in an ad response.
Summary
Properties
|
AdError
|
Returns the error that occurred while rendering the ad.
|
AdSourceId
|
string
Returns the ad source ID associated with this adapter response.
|
AdSourceInstanceId
|
string
Returns the ad source instance ID associated with this adapter response.
|
AdSourceInstanceName
|
string
Returns the ad source instance name associated with this adapter response.
|
AdSourceName
|
string
Returns the ad source name associated with this adapter response.
|
AdUnitMapping
|
Dictionary< string, string >
Returns a Dictionary containing the ad unit mapping.
|
AdapterClassName
|
string
Returns a class name that identifies the ad network adapter.
|
LatencyMillis
|
long
Returns the amount of time the ad network adapter spent loading an ad in ms.
|
Public functions
|
ToString()
|
override string
Returns a log friendly string version of this object.
|
Properties
AdError
AdError AdError
Returns the error that occurred while rendering the ad.
Returns null if no error occurred or the adapter was not attempted.
AdSourceId
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
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
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
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
Dictionary< string, string > AdUnitMapping
Returns a Dictionary containing the ad unit mapping.
AdapterClassName
string AdapterClassName
Returns a class name that identifies the ad network adapter.
LatencyMillis
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.
Public functions
AdapterResponseInfo
AdapterResponseInfo(
IAdapterResponseInfoClient client
)
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.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eAdapterResponseInfo\u003c/code\u003e provides insights into individual ad network responses within an ad request.\u003c/p\u003e\n"],["\u003cp\u003eIt includes details like the ad source, adapter class name, latency, and any errors encountered.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access properties like \u003ccode\u003eAdError\u003c/code\u003e, \u003ccode\u003eAdSourceId\u003c/code\u003e, \u003ccode\u003eLatencyMillis\u003c/code\u003e, and more for analysis.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eToString\u003c/code\u003e method offers a formatted representation of the response information for logging.\u003c/p\u003e\n"]]],[],null,["# GoogleMobileAds.Api.AdapterResponseInfo Class Reference\n\nGoogleMobileAds.Api.AdapterResponseInfo\n=======================================\n\nResponse information for an individual ad network in an ad response.\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [AdapterResponseInfo](#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a1cfd799718992ac1d92c3e77edb95e3e)`(IAdapterResponseInfoClient client)` ||\n\n| ### Properties ||\n|-----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AdError](#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a7183c389bf882d1961a17a263b2c6b25) | [AdError](/ad-manager/mobile-ads-sdk/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. |\n| [AdSourceId](#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a6699a70ef01eb4109ce6a645bef7b5b0) | `string` Returns the ad source ID associated with this adapter response. |\n| [AdSourceInstanceId](#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. |\n| [AdSourceInstanceName](#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. |\n| [AdSourceName](#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a161f89348731d55faa16cbf18874e2e4) | `string` Returns the ad source name associated with this adapter response. |\n| [AdUnitMapping](#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a474b5de9ed609e503f619e9efe498730) | `Dictionary\u003c string, string \u003e` Returns a Dictionary containing the ad unit mapping. |\n| [AdapterClassName](#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a1e776b61ec789398d1ca0aa9a789569f) | `string` Returns a class name that identifies the ad network adapter. |\n| [LatencyMillis](#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. |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|\n| [ToString](#class_google_mobile_ads_1_1_api_1_1_adapter_response_info_1a1933ac2143172bff1460d0629dba90a9)`()` | `override string` Returns a log friendly string version of this object. |\n\nProperties\n----------\n\n### AdError\n\n```c#\nAdError AdError\n``` \nReturns the error that occurred while rendering the ad.\n\nReturns null if no error occurred or the adapter was not attempted. \n\n### AdSourceId\n\n```c#\nstring AdSourceId\n``` \nReturns the ad source ID associated with this adapter response.\n\nReturns an empty string if the ad server doesn't populate this field. \n\n### AdSourceInstanceId\n\n```c#\nstring AdSourceInstanceId\n``` \nReturns the ad source instance ID associated with this adapter response.\n\nReturns an empty string if the ad server doesn't populate this field. \n\n### AdSourceInstanceName\n\n```c#\nstring AdSourceInstanceName\n``` \nReturns the ad source instance name associated with this adapter response.\n\nReturns an empty string if the ad server doesn't populate this field. \n\n### AdSourceName\n\n```c#\nstring AdSourceName\n``` \nReturns the ad source name associated with this adapter response.\n\nReturns an empty string if the ad server doesn't populate this field. \n\n### AdUnitMapping\n\n```c#\nDictionary\u003c string, string \u003e AdUnitMapping\n``` \nReturns a Dictionary containing the ad unit mapping. \n\n### AdapterClassName\n\n```c#\nstring AdapterClassName\n``` \nReturns a class name that identifies the ad network adapter. \n\n### LatencyMillis\n\n```c#\nlong LatencyMillis\n``` \nReturns the amount of time the ad network adapter spent loading an ad in ms.\n\nReturns 0 if the adapter was not attempted.\n\nPublic functions\n----------------\n\n### AdapterResponseInfo\n\n```c#\n AdapterResponseInfo(\n IAdapterResponseInfoClient client\n)\n``` \n\n### ToString\n\n```c#\noverride string ToString()\n``` \nReturns a log friendly string version of this object."]]