AdapterResponseInfo

class AdapterResponseInfo


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

Summary

Public functions

String!

Gets the ad source ID associated with this adapter response.

String!

Gets the ad source instance ID associated with this adapter response.

String!

Gets the ad source instance name associated with this adapter response.

String!

Gets the ad source name associated with this adapter response.

String!

Gets a class name that identifies the ad network adapter.

Bundle!

Gets a bundle containing adapter credentials specified in the AdMob or Ad Manager UI.

Long

Gets the amount of time the ad network adapter spent loading an ad.

String!

Returns a log friendly string version of this object.

Public properties

AdError?

Public functions

getAdSourceId

fun getAdSourceId(): String!

Gets the ad source ID associated with this adapter response.

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

getAdSourceInstanceId

fun getAdSourceInstanceId(): String!

Gets the ad source instance ID associated with this adapter response.

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

getAdSourceInstanceName

fun getAdSourceInstanceName(): String!

Gets the ad source instance name associated with this adapter response.

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

getAdSourceName

fun getAdSourceName(): String!

Gets the ad source name associated with this adapter response.

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

getAdapterClassName

fun getAdapterClassName(): String!

Gets a class name that identifies the ad network adapter.

getCredentials

fun getCredentials(): Bundle!

Gets a bundle containing adapter credentials specified in the AdMob or Ad Manager UI.

getLatencyMillis

fun getLatencyMillis(): Long

Gets the amount of time the ad network adapter spent loading an ad. Returns {code 0} if the adapter was not attempted.

toString

fun toString(): String!

Returns a log friendly string version of this object.

Public properties

adError

val adErrorAdError?