OMIDCreativeType
Objective-C
enum OMIDCreativeType : NSUInteger {}
Swift
enum OMIDCreativeType : UInt, @unchecked Sendable
List of supported creative types.
-
Creative type will be set by JavaScript session script. Integrations must also pass
OMIDJavaScriptOwner
forimpressionOwner
.Declaration
Objective-C
OMIDCreativeTypeDefinedByJavaScript = 1
Swift
case definedByJavaScript = 1
-
Rendered in webview, verification code can be inside creative or in metadata.
Declaration
Objective-C
OMIDCreativeTypeHtmlDisplay = 2
Swift
case htmlDisplay = 2
-
Rendered by native, verification code provided in metadata only.
Declaration
Objective-C
OMIDCreativeTypeNativeDisplay = 3
Swift
case nativeDisplay = 3
-
Rendered instream or as standalone video, verification code provided in metadata.
Declaration
Objective-C
OMIDCreativeTypeVideo = 4
Swift
case video = 4
-
Similar to video but only contains audio media.
Declaration
Objective-C
OMIDCreativeTypeAudio = 5
Swift
case audio = 5