JWAdCompanion
@objc
public class JWAdCompanion : NSObject
An interface to expose information on an ad companion.
-
URL to go to when the ad is clicked.
Declaration
Swift
@objc public let clickUrl: URL?
-
The dimensions of the companion.
Declaration
Swift
@objc public let size: CGSize
-
The URL to the static/iframe resource, or the raw HTML content.
Declaration
Swift
@objc public let resource: URL?
-
The type of creative
Declaration
Swift
@objc public let type: JWAdCompanionType
-
An array of included creativeview event tracking pixels.
Note
If you are calling this from Swift, use thecreativeView
property instead.Declaration
Swift
@objc public var creativeViewArray: NSArray? { get }
-
An array of included creativeview event tracking pixels.
Declaration
Swift
public var creativeView: [String]?