InterstitialRenderingAdUnit

@objcMembers
public class InterstitialRenderingAdUnit : BaseInterstitialAdUnit

Represents an interstitial ad unit. Built for rendering type of integration.

  • The area of the skip button in the video controls, specified as a percentage of the screen width.

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    public var skipButtonPosition: Position { get set }
  • The delay before the skip button appears, in seconds.

    Declaration

    Swift

    @objc
    public var skipDelay: Double { get set }
  • Initializes a new interstitial rendering ad unit with the specified configuration ID.

    Declaration

    Swift

    @objc
    public init(configID: String)

    Parameters

    configID

    The unique identifier for the ad unit configuration.

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

    Declaration

    Swift

    @objc
    public init(configID: String, minSizePercentage: CGSize)

    Parameters

    configID

    The unique identifier for the ad unit configuration.

    minSizePercentage

    The minimum size percentage of the ad.

  • Initializes a new interstitial rendering ad unit with the specified configuration ID, minimum size percentage, and event handler.

    Declaration

    Swift

    @objc
    public init(configID: String, minSizePercentage: CGSize, eventHandler: AnyObject)

    Parameters

    configID

    The unique identifier for the ad unit configuration.

    minSizePercentage

    The minimum size percentage of the ad.

    eventHandler

    The event handler to manage ad events.

Protected overrides