AdSourceResponseInfo

data class AdSourceResponseInfo


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

Summary

Public constructors

AdSourceResponseInfo(
    adapterClassName: String,
    latencyMillis: Long,
    adError: MediationAdError?,
    credentials: Bundle,
    name: String,
    id: String,
    instanceName: String,
    instanceId: String
)

Public properties

MediationAdError?

The error that occurred while loading the ad.

String

The class name that identifies the ad source adapter.

Bundle

Ad source adapter credentials specified in the AdMob or Ad Manager UI.

String

The ad source ID associated with this adapter response or "".

String

The ad source instance ID associated with this adapter response or "".

String

The ad source instance name associated with this adapter response or "".

Long

The amount of time the ad source adapter spent loading an ad.

String

The name associated with this ad source adapter response or "".

Public constructors

AdSourceResponseInfo

AdSourceResponseInfo(
    adapterClassName: String,
    latencyMillis: Long,
    adError: MediationAdError?,
    credentials: Bundle,
    name: String,
    id: String,
    instanceName: String,
    instanceId: String
)
Parameters
adapterClassName: String

The class name that identifies the ad source adapter.

latencyMillis: Long

The amount of time the ad source adapter spent loading an ad. 0 if the adapter was not invoked.

adError: MediationAdError?

The error that occurred while loading the ad. Returns 'null' if no error occurred or the ad source adapter was not invoked.

credentials: Bundle

Ad source adapter credentials specified in the AdMob or Ad Manager UI.

name: String

The name associated with this ad source adapter response or "".

id: String

The ad source ID associated with this adapter response or "".

instanceName: String

The ad source instance name associated with this adapter response or "".

instanceId: String

The ad source instance ID associated with this adapter response or "".

Public properties

adError

val adErrorMediationAdError?

The error that occurred while loading the ad. Returns 'null' if no error occurred or the ad source adapter was not invoked.

adapterClassName

val adapterClassNameString

The class name that identifies the ad source adapter.

credentials

val credentialsBundle

Ad source adapter credentials specified in the AdMob or Ad Manager UI.

id

val idString

The ad source ID associated with this adapter response or "".

instanceId

val instanceIdString

The ad source instance ID associated with this adapter response or "".

instanceName

val instanceNameString

The ad source instance name associated with this adapter response or "".

latencyMillis

val latencyMillisLong

The amount of time the ad source adapter spent loading an ad. 0 if the adapter was not invoked.

name

val nameString

The name associated with this ad source adapter response or "".