onAdCached

abstract fun onAdCached(placementName: String, loadId: String, winningBidInfo: Map<String, String>, error: ChartboostMediationAdException?)

Called when an ad is cached or fails to cache.

Parameters

placementName

Indicates which placement cached the ad.

loadId

A unique identifier for this load request.

winningBidInfo

Map of winning bid information such as price.

error

null if the cache was successful, an error if it failed to cache.