firebase:: gma:: AdapterResponseInfo
#include <types.h>
Response information for an individual ad network contained within a ResponseInfo object.
Summary
Constructors and Destructors |
|
---|---|
~AdapterResponseInfo()
Destructor.
|
Public functions |
|
---|---|
ToString() const
|
const std::string &
A log friendly string version of this object.
|
ad_result() const
|
Information about the result including whether an error occurred, and any contextual information about that error.
|
adapter_class_name() const
|
const std::string &
Returns a string representation of a class name that identifies the ad network adapter.
|
latency_in_millis() const
|
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.
Details | |
---|---|
Returns |
the error that occurred while rendering the ad. If no error occurred then the AdResult's successful method will return true.
|
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.
Details | |
---|---|
Returns |
number of milliseconds the network spent loading an ad. This value is 0 if the network did not make a load attempt.
|
~AdapterResponseInfo
~AdapterResponseInfo()
Destructor.