meson-wrap-mopub / ai.meson.wrap / MesonMoPubBanner

MesonMoPubBanner

class MesonMoPubBanner : TPBidFetch<MoPubView>

This is a plugin file specific for publishers having MoPub as a primary integration and Banner as an adType

Constructors

<init>

MesonMoPubBanner(adUnitId: String, adSize: AdSize)

Create MesonMoPubBanner object with the above two parameters

Functions

destroy

fun destroy(): Unit

Call to kill the MesonMoPubBanner object. Following will be done upon calling this method

fetchBid

fun fetchBid(pubObj: MoPubView, bidFetchListener: MesonAdFetchListener<MoPubView>): Unit

Fetch ad - fetches the bid and sets the response on the given pubObj and notifies the completion on bidFetchListener