Interface Attribution
public interface Attribution
Methods
getAdsetId
@Nullable
String getAdsetId()
Get the adset id the user was attributed to, if any.
Returns
The adset id the user was attributed to.
getCampaign
@NonNull
Attribution.Campaign getCampaign()
Get the campaign to which this user was attributed to.
Returns
The campaign the user was attributed to.
getChannel
@NonNull
Attribution.Channel getChannel()
Get the id, name, and incent flag of the channel the user was attributed to.
Returns
The channel the user was attributed to.
getCreatedAt
@NonNull
Date getCreatedAt()
Get the date the attribution was created at.
Returns
The date of the attribution.
getJusttrackUserId
@Deprecated
@NonNull String getJusttrackUserId()
Deprecated.
Retrieves the justtrack user id. It allows you to uniquely identify a user at least until the app is uninstalled.
Returns
A future which resolves to the justtrack user id.
getPartner
@NonNull
Attribution.Partner getPartner()
Get the id and name of the partner the user was attributed to.
Returns
The partner the user was attributed to.
getRedownload
boolean getRedownload()
Check whether the user have previously download the application or not.
Returns
Whether the user have previously download the application or not.
getSourceBundleId
@Nullable
String getSourceBundleId()
Get the source bundle id the user was attributed to, if any.
Returns
The source bundle id the user was attributed to.
getSourceId
@Nullable
String getSourceId()
Get the source id the user was attributed to, if any.
Returns
The source id the user was attributed to.
getSourcePlacement
@Nullable
String getSourcePlacement()
Get the source placement the user was attributed to, if any.
Returns
The source placement the user was attributed to.
getType
@NonNull
String getType()
Get the type of the attribution.
Returns
The type of the attribution.
getUserType
@NonNull
String getUserType()
Get the type of the current install. Can be "acquisition" or "retargeting".
Returns
The type of the current install.