PrebidMediationDelegate

@objc
public protocol PrebidMediationDelegate

This protocol is dedicated to manage the work with Mediation SDKs.

  • Puts to ad object’s localExtra the ad object (winning bid or native ad) and configId and populates adObject’s keywords by targeting info @return YES on success and NO otherwise (when the passed ad has wrong type)

    Declaration

    Swift

    func setUpAdObject(with values: [String : Any]) -> Bool
  • Removes an bid info from ad object’s localExtra and prebid-specific keywords from ad object’s keywords

    Declaration

    Swift

    func cleanUpAdObject()
  • Returns ad view that was passed into PrebidMediationDelegate earlier. Returns nil if there was no view passed.

    Declaration

    Swift

    func getAdView() -> UIView?