RtbSignalData

data class RtbSignalData


Data passed into the adapter for signal generation.

Summary

Public constructors

RtbSignalData(
    context: Context,
    configurations: List<MediationConfiguration>,
    networkExtras: Bundle,
    adSize: AdSize?
)

Public functions

MediationConfiguration?

This function is deprecated. Use [RtbSignalData.configurations] instead.

Public properties

AdSize?

The ad size associated with a banner ad request, or null if this signal data is not for a banner ad request.

List<MediationConfiguration>

The configurations defined by the publisher in the AdMob or Ad Manager UI.

Context

The context of the application.

Bundle

The extra parameters set by the publisher on a per-request basis for a specific ad network adapter.

Public constructors

RtbSignalData

RtbSignalData(
    context: Context,
    configurations: List<MediationConfiguration>,
    networkExtras: Bundle,
    adSize: AdSize?
)

Public functions

getConfiguration

fun getConfiguration(): MediationConfiguration?

Gets the configuration defined by the publisher in the AdMob or Ad Manager UI.

Public properties

adSize

val adSize: AdSize?

The ad size associated with a banner ad request, or null if this signal data is not for a banner ad request. Check MediationConfiguration.format to determine the ad format being requested.

configurations

val configurations: List<MediationConfiguration>

The configurations defined by the publisher in the AdMob or Ad Manager UI.

context

val context: Context

The context of the application.

networkExtras

val networkExtras: Bundle

The extra parameters set by the publisher on a per-request basis for a specific ad network adapter.