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 (readonly, copy, nonatomic, nullable) NSString *clickUrl; -
The dimensions of the companion in pixels.
Declaration
Objective-C
@property (readonly, nonatomic) CGSize dimensions; -
The URL to the static/iframe resource, or the raw HTML content.
Declaration
Objective-C
@property (readonly, copy, nonatomic) NSString *_Nonnull resource; -
The type of the creative: static, IFrame, or HTML.
Declaration
Objective-C
@property (readonly, nonatomic) JWAdCompanionType type; -
An array of included creativeview event tracking pixels
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSArray<NSString *> *creativeView; -
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
JWAdCompanion Class Reference