MediationBaseInterstitialAdUnit
@objcMembers
public class MediationBaseInterstitialAdUnit : NSObject
Base class for interstitial ads in Mediation API.
-
Parameters for configuring banner ads.
Declaration
Swift
public var bannerParameters: BannerParameters { get }
-
Parameters for configuring video ads.
Declaration
Swift
public var videoParameters: VideoParameters { get }
-
The position of the ad on the screen.
Declaration
Swift
public var adPosition: AdPosition { get set }
-
Indicates whether the video ad is muted.
Declaration
Swift
public var isMuted: Bool { get set }
-
Indicates whether the sound button is visible in the video ad.
Declaration
Swift
public var isSoundButtonVisible: Bool { get set }
-
The area for the close button in the video ad.
Declaration
Swift
public var closeButtonArea: Double { get set }
-
The position of the close button in the video ad.
Declaration
Swift
public var closeButtonPosition: Position { get set }
-
The configuration ID for the ad unit.
Declaration
Swift
public var configId: String { get }
-
Makes bid request and setups mediation parameters.
Declaration
Swift
public func fetchDemand(completion: ((ResultCode) -> Void)?)
Parameters
completion
A closure called with the result code indicating the outcome of the demand fetch.
-
Sets the impression-level OpenRTB configuration string for the ad unit.
Declaration
Swift
public func setImpORTBConfig(_ ortbConfig: String?)
Parameters
ortbObject
The impression-level OpenRTB configuration string to set. Can be
nil
to clear the configuration. -
Returns the impression-level OpenRTB configuration string.
Declaration
Swift
public func getImpORTBConfig() -> String?