ORTB
OMID chapter navigation

Enumeration registry

registry

The listings on this page are generated by scripts/gen-omid-spec.mjs from official IAB Tech Lab sources, with descriptions in the original English; see the page footer for the collection baseline.

On this page

Role & scope

A machine-readable registry of every Open Measurement Interface Definition (OMID) enumeration constant: event types, impression criteria, creative types, access modes, player states, obstruction reasons and more, with verbatim official descriptions and deprecation flags (e.g. AccessMode.DOMAIN removed in 1.5.4, AdEventType.VIDEO superseded by MEDIA).

Enums
26
Values
129
Spec version
OMID 1.6
Current baseline
2026-09-22

Event & error types

AdEventTypejs · 22

List of all OMID ad event types.

ConstantLiteral valueOfficial description
IMPRESSIONimpressionThe OMID provider has recorded an impression for this ad. For video ads, this corresponds to the VAST <Impression> and should be fired simultaneously with that event. Constant has value 'impression'.
LOADEDloadedThe OM integration has loaded the display, video, or audio ad creative's assets. For video and audio ads, it has buffered the creative’s media to the extent that it is ready to play the media. Corresponds to the VAST 'loaded' event. Constant has value 'loaded'.
GEOMETRY_CHANGEgeometryChangeThe geometry state has changed. Specifically, this event is fired every time the ad container state changes such that any field of the viewport or ad view would change value from the previous report. Provides full geometry data of the registered ad view including obstructions along with any detected reason codes. All size and location units reported in the event data are in independent pixels, and all coordinates are relative to the screen coordinates. Constant has value 'geometryChange'.
SESSION_STARTsessionStartThis event fires as soon as the OMID provider has initialized and has the necessary data to fill in the 'context' and 'verificationParameters' of the event data. It does not imply that the ad has rendered or the video has started playing; it only marks the initialization of the of the ad session. This is always the first event fired for a session. Constant has value 'sessionStart'.
SESSION_ERRORsessionErrorThis event is fired following a playback, rendering, or other ad-related error, which may be session terminal or recoverable. In the case of non-recoverable errors, this event does not replace 'sessionFinish', which still must be fired following the 'sessionError' event. Constant has value 'sessionError'.
SESSION_FINISHsessionFinishThis event is fired when the ad session has terminated and indicates that verification resources should start clean up and handle end-of-session reporting. This is the always the last event sent for a session. Constant has value 'sessionFinish'.
MEDIAmediaConvenient shorthand that registers for all media events: 'loaded', 'start', 'firstQuartile', 'midpoint', 'thirdQuartile', 'complete', 'pause', 'resume', 'bufferStart', 'bufferFinish', 'skipped', 'volumeChange', 'playerStateChange', and 'adUserInteraction'. OM SDK never sends events with this type. Constant has value 'media'.
VIDEOdeprecatedvideoRegisters for the same events as 'media'. Superseded by value 'media'; OM SDK continues to support this value for backwards compatibility. OM SDK never sends events with this type. Constant has value 'video'.
STARTstartMedia-only event. The player began playback of the video ad creative. Corresponds to the VAST 'start' event. Constant has value 'start'.
FIRST_QUARTILEfirstQuartileMedia-only event. The creative played continuously for at least 25% of the total duration. Corresponds to the VAST 'firstQuartile' event. Constant has value 'firstQuartile'.
MIDPOINTmidpointMedia-only event. The creative played continuously for at least 50% of the total duration. Corresponds to the VAST midpoint event. Constant has value 'midpoint'.
THIRD_QUARTILEthirdQuartileMedia-only event. The creative played continuously for at least 75% of the total duration. Corresponds to the VAST 'thirdQuartile' event. Constant has value 'thirdQuartile'.
COMPLETEcompleteMedia-only event. The creative played to the end for 100% of the total duration. Corresponds to the VAST 'complete' event. Constant has value 'complete'.
PAUSEpauseMedia-only event. Playback was stopped in a way from which it may later be resumed, due to user interaction. Corresponds to the VAST 'pause' event. Constant has value 'pause'.
RESUMEresumeMedia-only event. Playback resumed following a user-originated pause. Corresponds to the VAST 'resume' event. Constant has value 'resume'.
BUFFER_STARTbufferStartMedia-only event. Playback was stopped in a way from which it may later be resumed, due to a cause other than user interaction (generally buffering from insufficient available video data). Constant has value 'bufferStart'.
BUFFER_FINISHbufferFinishMedia-only event. Playback has resumed following a non-user-originated pause. Constant has value 'bufferFinish'.
SKIPPEDskippedMedia-only event. The user activated a control which caused ad playback to terminate. Corresponds to the VAST 'skip' event. Constant has value 'skipped'.
VOLUME_CHANGEvolumeChangeMedia-only event. The player and/or device volume has changed. Constant has value 'volumeChange'.
PLAYER_STATE_CHANGEplayerStateChangeMedia-only event. The player has changed playback states, generally to resize. This includes moving from non-fullscreen to fullscreen state. The assumption is that at start time the video is in the normal state. If playback begins when the player is in a minimized or fullscreen state, then this event is fired immediately following start in order to reflect the current state. Constant has value 'playerStateChange'.
AD_USER_INTERACTIONadUserInteractionThe user has interacted with the ad outside of any standard playback controls (e.g. clicked the ad to load an ad landing page). NOTE: If this interaction causes playback to pause, then this event should be followed by a separate 'pause' event. Constant has value 'adUserInteraction'.
STATE_CHANGEdeprecatedstateChangeNot part of OMID API, and OM SDK never sends events with this type. This constant will be removed in a future release of OM SDK.

MediaEventTypejs · 14

Enum for ad events type representing media events.

ConstantLiteral valueOfficial description
LOADEDloaded
STARTstart
FIRST_QUARTILEfirstQuartile
MIDPOINTmidpoint
THIRD_QUARTILEthirdQuartile
COMPLETEcomplete
PAUSEpause
RESUMEresume
BUFFER_STARTbufferStart
BUFFER_FINISHbufferFinish
SKIPPEDskipped
VOLUME_CHANGEvolumeChange
PLAYER_STATE_CHANGEplayerStateChange
AD_USER_INTERACTIONadUserInteraction

ErrorTypejs · ios · iOS OMIDErrorType · 3

The types of error notifications in 'sessionError' events.

ConstantLiteral valueOfficial description
GENERICgenericThe integration is publishing a generic error to verification scripts. Used as a catch-all for non-media issues. Constant has value 'generic'.
VIDEOdeprecatedvideoThe integration is publishing a video error to verification scripts. Used for video-related rendering or loading errors. This type of error has been superseded by 'media'. Constant has value 'video'.
MEDIAmediaThe integration is publishing a media error to verification scripts. Used for media-related rendering or loading errors. Constant has value 'media'.

InteractionTypejs · ios · iOS OMIDInteractionType · 2

The types of user interactions with ads in a media player.

ConstantLiteral valueOfficial description
CLICKclickThe user clicked to load the ad's landing page. Constant has value 'click'.
INVITATION_ACCEPTinvitationAcceptThe user engaged with ad content to load a separate experience. Constant has value 'invitationAccept'.

Session, ownership & access mode

AdSessionTypejs · 3

Enum for Ad Session Type. Possible values include; "native" or "html" or "javascript".

ConstantLiteral valueOfficial description
NATIVEnative
HTMLhtml
JAVASCRIPTjavascript

SessionOwnerjs · ios · iOS OMIDOwner · 2

Enum describing who owns a session (starts and finishes it).

ConstantLiteral valueOfficial description
JAVASCRIPTjavascript
NATIVEnative

EventOwnerjs · ios · iOS OMIDOwner · 3

Enum describing who owns an event type.

ConstantLiteral valueOfficial description
NATIVEnative
JAVASCRIPTjavascript
NONEnone

AccessModejs · 3

Enum for sandboxing mode. FULL implies both that verification code has access to the creative element and that OMSDK will provide a reference to that creative element via video/slotElement in the context.

ConstantLiteral valueOfficial description
FULLfull
DOMAINdeprecateddomain
LIMITEDlimited

Environmentjs · 2

Enum for Environment OM SDK JS is running in.

ConstantLiteral valueOfficial description
APPapp
WEBweb

CommunicationTypejs · 3

ConstantLiteral valueOfficial description
NONENONE
DIRECTDIRECT
POST_MESSAGEPOST_MESSAGE

MessageMethodjs · 1

Values for the `method` of a particular message sent to or from the OM SDK service. The "method" identifies the purpose of the message and determines how its arguments will be interpreted. TODO(OMSDK-930): Include all methods used for client-service communication.

ConstantLiteral valueOfficial description
IDENTIFY_SERVICE_WINDOWidentifyServiceWindow

OmidImplementerjs · 1

Identifier of party providing OMID.

ConstantLiteral valueOfficial description
OMSDKomsdk

Creative, impression criteria & playback state

CreativeTypejs · ios · iOS OMIDCreativeType · 5

The type of ad creative being measured in the ad session.

ConstantLiteral valueOfficial description
DEFINED_BY_JAVASCRIPTdefinedByJavaScriptCreative type needs to be set by JavaScript session script. Constant has value 'definedByJavaScript'.
HTML_DISPLAYhtmlDisplayCreatives measured using display methodology that are trafficked as HTML. Rendered in webview. Verification scripts can wrap creative or be in resources. Constant has value 'htmlDisplay'.
NATIVE_DISPLAYnativeDisplayCreatives measured using display methodology that are trafficked as JSON or other format for structured data. Rendered by native code. Verification scripts can be in resources only. Constant has value 'nativeDisplay'.
VIDEOvideoCreatives measured using video methodology. Rendered in many kinds of placements (such as instream, outstream, banner, in-feed, etc.). Verification scripts can be in resources only. Constant has value 'video'.
AUDIOaudioCreatives measured using audio methodology. OMID does not provide any visibility data. Verification scripts can be in resources only. Constant has value 'audio'.

ImpressionTypejs · ios · iOS OMIDImpressionType · 8

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.

ConstantLiteral valueOfficial description
DEFINED_BY_JAVASCRIPTdefinedByJavaScriptImpression type needs to be set by JavaScript session script. Constant has value 'definedByJavaScript'.
UNSPECIFIEDunspecifiedThe integration is not declaring the criteria for the OMID impression. This is the default impression type for OMID 1.2 and for integrations that don't set an impression type in an ad session. Constant has value 'unspecified'.
LOADEDloadedThe integration is using count-on-download criteria for the OMID impression. Constant has value 'loaded'.
BEGIN_TO_RENDERbeginToRenderThe integration is uing begin-to-render criteria for the OMID impression. Constant has value 'beginToRender'.
ONE_PIXELonePixelThe integration is using one-pixel criteria for the OMID impression. Constant has value 'onePixel'.
VIEWABLEviewableThe integration is using viewable criteria (1 second for display, 2 seconds for video) for the OMID impression. Constant has value 'viewable'.
AUDIBLEaudibleThe integration is using audible criteria (2 seconds of playback with non-zero volume) for the OMID impression. Constant has value 'audible'.
OTHERotherThe integration's criteria uses none the above for the OMID impression. Constant has value 'other'.

MediaTypejs · 2

Type of ad media.

ConstantLiteral valueOfficial description
DISPLAYdisplay
VIDEOvideo

VideoPositionjs · ios · android · iOS OMIDPosition · Android Position · 4

The positions of ads relative to media content.

ConstantLiteral valueOfficial description
PREROLLprerollThe ad plays preceding media content. Constant has value 'preroll'.
MIDROLLmidrollThe ad plays in the middle of media content, or between two separate content media. Constant has value 'midroll'.
POSTROLLpostrollThe ad plays following media content. Constant has value 'postroll'.
STANDALONEstandaloneThe ad plays independently of any media content. Constant has value 'standalone'.

VideoPlayerStatejs · ios · android · iOS OMIDPlayerState · Android PlayerState · 5

The playback states of the ad media player.

ConstantLiteral valueOfficial description
MINIMIZEDminimizedThe player is collapsed in such a way that the video is hidden. The video may or may not still be progressing in this state, and sound may be audible. This refers specifically to the video player state on the page, and not the state of the browser window. Constant has value 'minimized'.
COLLAPSEDcollapsedThe player has been reduced from its original size. The video is still potentially visible. Constant has value 'collapsed'.
NORMALnormalThe player's default playback size. Constant has value 'normal'.
EXPANDEDexpandedThe player has expanded from its original size. Constant has value 'expanded'.
FULLSCREENfullscreenThe player has entered fullscreen mode. Constant has value 'fullscreen'.

SupportedFeaturesjs · 2

Enum for features supported by OM SDK JS.

ConstantLiteral valueOfficial description
CONTAINERclid
VIDEOvlid

Geometry, obstructions & view markup

Reasonjs · 11

Enum for reasons for viewability calculation results.

ConstantLiteral valueOfficial description
NOT_FOUNDnotFound
HIDDENhidden
BACKGROUNDEDbackgrounded
PICTURE_IN_PICTUREpictureInPicture
DEVICE_LOCKEDdeviceLocked
VIEWPORTviewport
OBSTRUCTEDobstructed
CLIPPEDclipped
UNMEASURABLEunmeasurable
NO_WINDOW_FOCUSnoWindowFocus
NO_OUTPUT_DEVICEnoOutputDevice

NativeViewKeysjs · 18

ConstantLiteral valueOfficial description
Xx
LEFTleft
Yy
TOPtop
WIDTHwidth
HEIGHTheight
AD_SESSION_IDadSessionId
IS_FRIENDLY_OBSTRUCTION_FORisFriendlyObstructionFor
CLIPS_TO_BOUNDSclipsToBounds
CHILD_VIEWSchildViews
END_XendX
END_YendY
OBSTRUCTIONSobstructions
OBSTRUCTION_CLASSobstructionClass
OBSTRUCTION_PURPOSEobstructionPurpose
OBSTRUCTION_REASONobstructionReason
PIXELSpixels
HAS_WINDOW_FOCUShasWindowFocus

MeasurementStateChangeSourcejs · 2

Enum for state change sources.

ConstantLiteral valueOfficial description
CONTAINERcontainer
CREATIVEcreative

ElementMarkupjs · 1

Mark-up for DOM elements.

ConstantLiteral valueOfficial description
OMID_ELEMENT_CLASS_NAMEomid-element

OMIDFriendlyObstructionTypeios · iOS OMIDFriendlyObstructionType · 4

List of allowed friendly obstruction purposes.

ConstantLiteral valueOfficial description
OMIDFriendlyObstructionMediaControlsThe friendly obstruction relates to interacting with a video (such as play/pause buttons).
OMIDFriendlyObstructionCloseAdThe friendly obstruction relates to closing an ad (such as a close button).
OMIDFriendlyObstructionNotVisibleThe friendly obstruction is not visibly obstructing the ad but may seem so due to technical limitations.
OMIDFriendlyObstructionOtherThe friendly obstruction is obstructing for any purpose not already described.

App & device state

AppStatejs · 2

Enum for state of the native app.

ConstantLiteral valueOfficial description
BACKGROUNDEDbackgrounded
FOREGROUNDEDforegrounded

DeviceLockStatejs · 2

Enum for device lock state of the native device.

ConstantLiteral valueOfficial description
LOCKEDlocked
UNLOCKEDunlocked

DeviceCategoryjs · 4

Enum for category of device OM SDK is running on.

ConstantLiteral valueOfficial description
CTVctv
DESKTOPdesktop
MOBILEmobile
OTHERother

Deprecated and superseded values

Content is taken from official IAB Tech Lab sources (the OM SDK JS repository, the three platforms' official API docs, the OpenRTB support advisory and the VAST specification); spec data is kept in the original English and site-written prose is bilingual. See data/omid-spec/PROVENANCE.json for provenance.