configure

open fun configure(@NonNull ad: Ad, @Nullable listener: AdView.Listener)

Configure and start loading the ad.

Parameters

ad

The ad object received from AdManager.

listener

The listener that informs when an ad is ready for display. Can be null.


open fun configure(@NonNull slotAdFlight: SlotAdFlight, @Nullable listener: AdView.Listener)

Configure and start loading the ad.

Parameters

slotAdFlight

The ad flight object received from AdManager.

listener

The listener that informs when an ad is ready for display. Can be null.