JWAdCompanion
@interface JWAdCompanion : NSObject
JWAdCompanion is provided to expose the ad companion properties when available.
-
URL to link to when clicking the companion. Only available if the type is static.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *clickUrl; -
The dimensions of the companion in pixels.
Declaration
Objective-C
@property (nonatomic, readonly) CGSize dimensions; -
The URL to the static/iframe resource, or the raw HTML content.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull resource; -
The type of the creative: static, IFrame, or HTML.
Declaration
Objective-C
@property (nonatomic, readonly) JWAdCompanionType type; -
An array of included creativeview event tracking pixels
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<NSString *> *creativeView; -
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
JWAdCompanion Class Reference