firebase::gma::ResponseInfo

#include <types.h>

Information about an ad response.

Summary

Constructors and Destructors

ResponseInfo()
Constructor creates an uninitialized ResponseInfo.

Public functions

ToString() const
const std::string &
Gets a log friendly string version of this object.
adapter_responses() const
const std::vector< AdapterResponseInfo > &
Gets the AdapterResponseInfo objects for the ad response.
mediation_adapter_class_name() const
const std::string &
A class name that identifies the ad network that returned the ad.
response_id() const
const std::string &
Gets the response ID string for the loaded ad.

Public functions

ResponseInfo

 ResponseInfo()

Constructor creates an uninitialized ResponseInfo.

ToString

const std::string & ToString() const 

Gets a log friendly string version of this object.

adapter_responses

const std::vector< AdapterResponseInfo > & adapter_responses() const 

Gets the AdapterResponseInfo objects for the ad response.

Details
Returns
a vector of AdapterResponseInfo objects containing metadata for each adapter included in the ad response.

mediation_adapter_class_name

const std::string & mediation_adapter_class_name() const 

A class name that identifies the ad network that returned the ad.

Returns an empty string if the ad failed to load.

response_id

const std::string & response_id() const 

Gets the response ID string for the loaded ad.

Returns an empty string if the ad fails to load.