Stay organized with collections
Save and categorize content based on your preferences.
firebase::
gma::
AdapterResponseInfo
#include <types.h>
Response information for an individual ad network contained within a ResponseInfo
object.
Summary
Constructors and Destructors
const std::string &
A log friendly string version of this object.
Information about the result including whether an error occurred, and any contextual information about that error.
const std::string &
Returns a string representation of a class name that identifies the ad network adapter.
int64_t
Amount of time the ad network spent loading an ad.
Public functions
ToString
const
std
::
string
&
ToString
()
const
A log friendly string version of this object.
ad_result
AdResult
ad_result
()
const
Information about the result including whether an error occurred, and any contextual information about that error.
adapter_class_name
const
std
::
string
&
adapter_class_name
()
const
Returns a string representation of a class name that identifies the ad network adapter.
latency_in_millis
int64_t
latency_in_millis
()
const
Amount of time the ad network spent loading an ad.
~AdapterResponseInfo
~
AdapterResponseInfo
()
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\u003eAdapterResponseInfo\u003c/code\u003e stores response information for individual ad networks within a \u003ccode\u003eResponseInfo\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eIt provides details about the ad result, including errors and contextual information.\u003c/p\u003e\n"],["\u003cp\u003eIncludes the adapter class name, load latency, and a string representation for logging.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access information like ad result, adapter class name and load latency using its public functions.\u003c/p\u003e\n"]]],[],null,["# firebase::gma::AdapterResponseInfo Class Reference\n\nfirebase::gma::AdapterResponseInfo\n==================================\n\n\n`#include \u003ctypes.h\u003e`\n\nResponse information for an individual ad network contained within a [ResponseInfo](/admob/cpp/reference/class/firebase/gma/response-info#classfirebase_1_1gma_1_1_response_info) object.\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [~AdapterResponseInfo](#classfirebase_1_1gma_1_1_adapter_response_info_1a00de265543c2c7879b8ec0b5496675d8)`()` Destructor. ||\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ToString](#classfirebase_1_1gma_1_1_adapter_response_info_1ad20743e8bc720a9628f9628692ed3baa)`() const ` | `const std::string &` A log friendly string version of this object. |\n| [ad_result](#classfirebase_1_1gma_1_1_adapter_response_info_1a80a5d5c6cd932044b9c64773909fca5b)`() const ` | [AdResult](/admob/cpp/reference/class/firebase/gma/ad-result#classfirebase_1_1gma_1_1_ad_result) Information about the result including whether an error occurred, and any contextual information about that error. |\n| [adapter_class_name](#classfirebase_1_1gma_1_1_adapter_response_info_1afbdb71d41855a1da87beb02777077298)`() const ` | `const std::string &` Returns a string representation of a class name that identifies the ad network adapter. |\n| [latency_in_millis](#classfirebase_1_1gma_1_1_adapter_response_info_1a68bb709492801402712672fb79d5a885)`() const ` | `int64_t` Amount of time the ad network spent loading an ad. |\n\nPublic functions\n----------------\n\n### ToString\n\n```c++\nconst std::string & ToString() const \n``` \nA log friendly string version of this object. \n\n### ad_result\n\n```c++\nAdResult ad_result() const \n``` \nInformation about the result including whether an error occurred, and any contextual information about that error.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Returns** | the error that occurred while rendering the ad. If no error occurred then the [AdResult](/admob/cpp/reference/class/firebase/gma/ad-result#classfirebase_1_1gma_1_1_ad_result)'s successful method will return true. |\n\n### adapter_class_name\n\n```c++\nconst std::string & adapter_class_name() const \n``` \nReturns a string representation of a class name that identifies the ad network adapter. \n\n### latency_in_millis\n\n```c++\nint64_t latency_in_millis() const \n``` \nAmount of time the ad network spent loading an ad.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|---------------------------------------------------------------------------------------------------------------------|\n| **Returns** | number of milliseconds the network spent loading an ad. This value is 0 if the network did not make a load attempt. |\n\n### \\~AdapterResponseInfo\n\n```c++\n ~AdapterResponseInfo()\n``` \nDestructor."]]