Partner Adapter
interface PartnerAdapter
Functions
Link copied to clipboard
abstract suspend fun fetchBidderInformation(context: <Error class: unknown class>, request: PartnerAdPreBidRequest): Result<Map<String, String>>
Get a bid token if network bidding is supported.
Link copied to clipboard
Discard unnecessary partner ad objects and release resources. This is required to destroy any Views from a specific PartnerAd, especially for banners.
Link copied to clipboard
abstract suspend fun load(context: <Error class: unknown class>, request: PartnerAdLoadRequest, partnerAdListener: PartnerAdListener): Result<PartnerAd>
Attempt to load a partner ad.
Link copied to clipboard
abstract fun setConsents(context: <Error class: unknown class>, consents: Map<<Error class: unknown class>, <Error class: unknown class>>, modifiedKeys: Set<<Error class: unknown class>>)
Notifies the partner of the current consents. Also notifies which ones changed. A key present in the modifiedKeys but not in the consents map means the consent was removed.
Link copied to clipboard
Notify the partner if the current user is underage (subject to COPPA or equivalent).