MediationConfiguration

public final class MediationConfiguration


Contains a mediation configuration set by the publisher in the AdMob or Ad Manager UI.

Summary

Constants

static final @NonNull String

The field in the serverParameters bundle that contains the parameter for custom events.

Public constructors

MediationConfiguration(
    @NonNull AdFormat format,
    @NonNull Bundle serverParameters
)

Public methods

boolean
equals(Object other)
final @NonNull AdFormat

The ad format associated with the configuration.

final @NonNull Bundle

The settings set by the publisher in the UI.

Constants

CUSTOM_EVENT_SERVER_PARAMETER_FIELD

public static final @NonNull String CUSTOM_EVENT_SERVER_PARAMETER_FIELD

The field in the serverParameters bundle that contains the parameter for custom events.

Public constructors

MediationConfiguration

public MediationConfiguration(
    @NonNull AdFormat format,
    @NonNull Bundle serverParameters
)

Public methods

equals

public boolean equals(Object other)

getFormat

public final @NonNull AdFormat getFormat()

The ad format associated with the configuration.

getServerParameters

public final @NonNull Bundle getServerParameters()

The settings set by the publisher in the UI.