VideoInterstitialAdUnit

@available(*, deprecated, message: "This class is deprecated. Please, use InterstitialAdUnit with video adFormat.")
public class VideoInterstitialAdUnit : AdUnit

A deprecated class representing a video interstitial ad unit. This class is used to configure and manage video interstitial ads. It inherits from AdUnit and provides specific settings for video ads including interstitial ad configuration and placement.

  • The video parameters for this ad unit. This property allows you to get or set the video parameters for the ad unit’s configuration.

    Declaration

    Swift

    public var parameters: VideoParameters { get set }
  • Initializes a new instance of VideoInterstitialAdUnit with the specified configuration ID. The ad unit is configured as an interstitial ad with full screen placement and video parameters set for interstitial ads.

    Declaration

    Swift

    public init(configId: String)

    Parameters

    configId

    The configuration ID for the ad unit.

  • Convenience initializer to create a video interstitial ad unit with specified minimum width and height percentages.

    Declaration

    Swift

    public convenience init(configId: String, minWidthPerc: Int, minHeightPerc: Int)

    Parameters

    configId

    The configuration ID for the ad unit.

    minWidthPerc

    The minimum width percentage of the ad unit.

    minHeightPerc

    The minimum height percentage of the ad unit.