JWAdImpressionEvent

@protocol JWAdImpressionEvent <JWAdDetailEvent>

JWAdImpressionEvent provides ad impression information of an ad.

  • An ad’s position (pre, mid, post).

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite) NSString *_Nonnull adPosition;
  • AdSystem referenced inside of the VAST XML.

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite, nullable) NSString *adSystem;
  • AdTitle referenced inside of the VAST XML.

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite, nullable) NSString *adTitle;
  • GoogleIMA and Freewheel-only: AdId referenced inside of the VAST XML.

    Note

    Google IMA and Freewheel only. Not yet supported in VAST.

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite, nullable) NSString *adId;
  • GoogleIMA only: creativeId referenced inside of the VAST XML.

    Note

    Google IMA only

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite, nullable) NSString *creativeAdId;
  • GoogleIMA only: creativeId referenced inside of the VAST XML.

    Note

    Google IMA only

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite, nullable) NSString *creativeId;
  • VAST-only: An array of the AdSystems specified in any utilized ad wrappers; index denotes level of wrapper.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite, nullable)
        NSArray *wrapper;
  • The URL which will be opened if the ad is clicked.

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite) NSString *_Nonnull clickThroughUrl;
  • The currently playing media item.

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite) NSString *_Nonnull mediaFile;
  • VAST-only: The version of VAST referenced in the VAST XML.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) CGFloat vastVersion;
  • Wether the ad is linear or nonlinear.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) JWAdType linear;
  • Details of the VMAP schedule’s adBreak that is currently playing. Available only for VMAP schedules on Vast.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite, nullable)
        NSDictionary *vmapInfo;