MediationInterstitialAdUnit

@objcMembers
public class MediationInterstitialAdUnit : MediationBaseInterstitialAdUnit

This class is responsible for making bid request and providing the winning bid and targeting keywords to mediating SDKs. This class is a part of Mediation API.

Public Properties

  • The ad format for the ad unit.

    Declaration

    Swift

    public var adFormats: Set<AdFormat> { get set }
  • Additional sizes for the ad unit.

    Declaration

    Swift

    public var additionalSizes: [CGSize]? { get set }
  • The area for the skip button in the video ad.

    Declaration

    Swift

    public var skipButtonArea: Double { get set }
  • The position of the skip button in the video ad.

    Declaration

    Swift

    public var skipButtonPosition: Position { get set }
  • The delay before the skip button appears in the video ad.

    Declaration

    Swift

    public var skipDelay: Double { get set }

Public Methods

  • Convenience initializer for the mediation interstitial ad unit.

    Declaration

    Swift

    public override convenience init(configId: String, mediationDelegate: PrebidMediationDelegate)

    Parameters

    configId

    The unique identifier for the ad unit configuration.

    mediationDelegate

    The delegate for handling mediation.

  • Initializes a new mediation interstitial ad unit with the specified configuration ID, minimum size percentage, and mediation delegate.

    Declaration

    Swift

    public init(configId: String, minSizePercentage: CGSize?, mediationDelegate: PrebidMediationDelegate)

    Parameters

    configId

    The unique identifier for the ad unit configuration.

    minSizePercentage

    The minimum size percentage for the ad.

    mediationDelegate

    The delegate for handling mediation.

Computed Properties

  • The configuration ID for the ad unit.

    Declaration

    Swift

    public override var configId: String { get }