Topsort Analytics
Toggle table of contents
release
Target filter
release
Switch theme
Search in API
Skip to content
Topsort Analytics
Topsort Analytics
/
com.topsort.analytics.model
/
Impression
/
Factory
Factory
object
Factory
(
source
)
Members
Functions
build
Organic
Link copied to clipboard
@
JvmOverloads
fun
buildOrganic
(
entity
:
Entity
,
placement
:
Placement
,
occurredAt
:
String
,
opaqueUserId
:
String
,
id
:
String
,
additionalAttribution
:
Entity
?
=
null
,
deviceType
:
Device
?
=
null
,
channel
:
Channel
?
=
null
,
page
:
Page
?
=
null
)
:
Impression
build
Promoted
Link copied to clipboard
@
JvmOverloads
fun
buildPromoted
(
resolvedBidId
:
String
,
placement
:
Placement
,
occurredAt
:
String
,
opaqueUserId
:
String
,
id
:
String
,
additionalAttribution
:
Entity
?
=
null
,
deviceType
:
Device
?
=
null
,
channel
:
Channel
?
=
null
,
page
:
Page
?
=
null
)
:
Impression
from
Json
Array
Link copied to clipboard
fun
fromJsonArray
(
array
:
JSONArray
)
:
List
<
Impression
>
from
Json
Object
Link copied to clipboard
fun
fromJsonObject
(
json
:
JSONObject
)
:
Impression