load

abstract fun load(bidResponseJson: String, listener: AdLoad.Listener?)

Loads the ad with the specified bidResponseJson and listener. If the ad is currently being displayed, the underlying ad object will be destroyed before loading a new one.

Parameters

bidResponseJson

The ORTB auction response containing information such as ad markup "adm" (VAST, MRAID, HTML, etc.), extensions, etc.

listener

The Listener instance that contains information about the ad load events