Event

data class Event(val id: String, val eventType: EventType, val adData: MutableMap<String, String>?, val adMetaData: AdMetaData?)

Event data class that is returned to developer when an Ad is observed/triggered

Constructors

Link copied to clipboard
constructor(id: String, eventType: EventType, adData: MutableMap<String, String>?, adMetaData: AdMetaData?)

Create empty Event

Properties

Link copied to clipboard

Additional information about the Ad from the ad response

Link copied to clipboard

Ad metadata from the ad response and renderer

Link copied to clipboard

Type of event

Link copied to clipboard
val id: String

the contentID or the learningTag of the Ad the event got triggered from