InterstitialAdUnit
public class InterstitialAdUnit : AdUnit, BannerBasedAdUnitProtocol, VideoBasedAdUnitProtocol
Represents an interstitial ad unit built for original type of integration.
-
The deprecated banner parameters for this ad unit.
Declaration
Swift
@available(*, deprecated, message: "This property is deprecated. Please, use bannerParameters instead.") public var parameters: BannerParameters { get set }
-
The banner parameters for this ad unit.
Declaration
Swift
public var bannerParameters: BannerParameters { get set }
-
The video parameters for this ad unit.
Declaration
Swift
public var videoParameters: VideoParameters { get set }
-
The ad formats for the ad unit.
Declaration
Swift
public var adFormats: Set<AdFormat> { get set }
-
Initializes a new interstitial ad unit with a unique configuration identifier.
Declaration
Swift
public init(configId: String)
Parameters
configId
The unique identifier for the ad unit configuration.
-
Initializes a new interstitial ad unit with a minimum width and height percentage.
Declaration
Swift
public convenience init(configId: String, minWidthPerc: Int, minHeightPerc: Int)
Parameters
configId
The unique identifier for the ad unit configuration.
minWidthPerc
The minimum width percentage of the ad.
minHeightPerc
The minimum height percentage of the ad.