Partner Adapter
interface PartnerAdapter
Properties
Functions
Link copied to clipboard
abstract suspend fun fetchBidderInformation(context: Context, request: PreBidRequest): 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: Context, request: PartnerAdLoadRequest, partnerAdListener: PartnerAdListener): Result<PartnerAd>
Attempt to load a partner ad.
Link copied to clipboard
abstract fun setCcpaConsent(context: Context, hasGrantedCcpaConsent: Boolean, privacyString: String)
Notify the partner of CCPA consent. https://github.com/InteractiveAdvertisingBureau/USPrivacy/blob/master/CCPA/US%20Privacy%20String.md for more details regarding the CCPA privacy string.
Link copied to clipboard
Notify the partner whether GDPR applies and if so, whether the user has consented.
Link copied to clipboard
Notify the partner if the current user is subject to COPPA.