OMIDImpressionType
Objective-C
enum OMIDImpressionType : NSUInteger {}
Swift
enum OMIDImpressionType : UInt, @unchecked Sendable
The criterion for an ad session’s OMID impression event. Declaring an impression type makes it easier to understand discrepancies between measurers of the ad session, since many metrics depend on impressions.
-
ImpressionType will be set by JavaScript session script. Integrations must also pass
OMIDJavaScriptOwnerforimpressionOwner.Declaration
Objective-C
OMIDImpressionTypeDefinedByJavaScript = 1Swift
case definedByJavaScript = 1 -
The integration is not declaring the criteria for the OMID impression.
Declaration
Objective-C
OMIDImpressionTypeUnspecified = 2Swift
case unspecified = 2 -
The integration is using count-on-download criteria for the OMID impression.
Declaration
Objective-C
OMIDImpressionTypeLoaded = 3Swift
case loaded = 3 -
The integration is using begin-to-render criteria for the OMID impression.
Declaration
Objective-C
OMIDImpressionTypeBeginToRender = 4Swift
case beginToRender = 4 -
The integration is using one-pixel criteria (when the creative has at least 1 visible pixel on screen) for the OMID impression.
Declaration
Objective-C
OMIDImpressionTypeOnePixel = 5Swift
case onePixel = 5 -
The integration is using viewable criteria (1 second for display, 2 seconds while playing for video, and at least 50% of the creative is visible) for the OMID impression.
Declaration
Objective-C
OMIDImpressionTypeViewable = 6Swift
case viewable = 6 -
The integration is using audible criteria (2 continuous second of media playback with non-zero volume) for the OMID impression.
Declaration
Objective-C
OMIDImpressionTypeAudible = 7Swift
case audible = 7 -
The integration’s criteria uses none of the above criteria for the OMID impression.
Declaration
Objective-C
OMIDImpressionTypeOther = 8Swift
case other = 8
OMIDImpressionType Enumeration Reference