AdInfo
@objc(YMAAdInfo)
@objcMembers
public class AdInfo : NSObject
A class with information data for ad.
-
The AdUnit ID is a unique identifier in the R-M-XXXXXX-Y format, which is assigned in the Partner interface.
Declaration
Swift
public var adUnitId: String { get }
-
Any string in the ad (set in the Partner interface).
Warning
This property is only used for working with ADFOX.Declaration
Swift
public var data: String? { get }
-
Size of downloaded ad.
Declaration
Swift
public private(set) lazy var adSize: AdSize? { get set }
-
Undocumented
Declaration
Swift
@objc(initWithAdUnitId:adSize:) public convenience init(adUnitId: String, adSize: AdSize?)