MediationBannerAdConfiguration

@ParametersAreNonnullByDefault
public class MediationBannerAdConfiguration extends MediationAdConfiguration


Data used to render mediation banner ads.

Summary

Public fields

final AdSize

Public methods

AdSize

Returns the ad size associated with the banner ad request.

Inherited Constants

From com.google.android.gms.ads.mediation.MediationAdConfiguration
static final int

As returned by taggedForChildDirectedTreatment, indicates that the app should not be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).

static final int

As returned by taggedForChildDirectedTreatment, indicates that the app should be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).

static final int

As returned by taggedForChildDirectedTreatment, indicates that the publisher has not specified whether the app should be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).

Inherited fields

From com.google.android.gms.ads.mediation.MediationAdConfiguration
final String

The encrypted data from the third party server containing information the third party SDK needs to render an ad.

final Context

The context passed by this publisher for this specific request.

final @Nullable String
final Bundle

Additional parameters passed in by the publisher for this specific request.

final Bundle

Additional parameters defined by the publisher on the mediation server side.

final String

A base64-encoded watermark PNG file that identifies the source of the ad.

Inherited methods

From com.google.android.gms.ads.mediation.MediationAdConfiguration
String

The encrypted data from the third party server containing information the third party SDK needs to render an ad.

Context

The context passed by this publisher for this specific request.

@Nullable String

Returns the maximum ad content rating for this request.

Bundle

Additional parameters passed in by the publisher for this specific request.

Bundle

Parameters defined by the publisher in the AdMob or Google Ad Manager UI.

String

Returns a base64-encoded watermark PNG file that identifies the source of the ad.

boolean

Returns true if the publisher is asking for test ads.

int

Returns whether the publisher indicated that the app is to be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA) - http://business.ftc.gov/privacy-and-security/childrens-privacy.

int

Returns whether the publisher indicated that the ad request should receive treatment for users in the European Economic Area (EEA) under the age of consent, if defined by the .

Public fields

adSize

public final AdSize adSize

Public methods

getAdSize

public AdSize getAdSize()

Returns the ad size associated with the banner ad request.