loadAd

open fun loadAd(@Nullable securedTransactionToken: String)

Loads an interstitial ad. This call is asynchronous. Note: if this SASInterstitialManager already is in a loadAd() call that has not yet finished, any subsequent loadAd call will fail with exception SASPendingRequestException. The only way to cancel a pending loadAd call is to call the reset method.

Parameters

securedTransactionToken

the secured transaction token passed in the ad call.


open fun loadAd()

Loads an interstitial ad. This call is asynchronous. Note: if this SASInterstitialManager already is in a loadAd() call that has not yet finished, any subsequent loadAd call will fail with exception SASPendingRequestException. The only way to cancel a pending loadAd call is to call the reset method.


open fun loadAd(@Nullable bidderAdapter: SASBidderAdapter, @Nullable securedTransactionToken: String)

Loads and display an ad in this SASAdView using a bidder adapter. This call is asynchronous. Note: if this SASAdView already is in a loadAd() call that has not yet finished, any subsequent loadAd call will fail with exception SASPendingRequestException. The only way to cancel a pending loadAd call is to call the reset method.

Parameters

bidderAdapter

the bidder adapter to pass to the ad call

securedTransactionToken

the secured transaction token passed in the ad call.


open fun loadAd(@NonNull bidderAdapter: SASBidderAdapter)

Loads and display an ad in this SASAdView using a bidder adapter. This call is asynchronous. Note: if this SASAdView already is in a loadAd() call that has not yet finished, any subsequent loadAd call will fail with exception SASPendingRequestException. The only way to cancel a pending loadAd call is to call the reset method.

Parameters

bidderAdapter

the bidder adapter to pass to the ad call