public class AttributionData extends Object
| Constructor and Description |
|---|
AttributionData()
Default constructor
|
AttributionData(String scope,
Long visitTime,
String adId,
String adsetId,
String campaignId,
Float attributionShare,
AttributionModelEnum attributionModel,
Integer attributionWindow,
Float attributionValue,
String attributionSource,
String touchpointType,
Integer touchpointTs,
AttributionMethodEnum attributionMethod,
DeclineReasonEnum declineReason,
String auditingToken,
String linkageKey,
AttributionSetting attributionSetting)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
AttributionData |
adId(String adId)
Set adId
|
AttributionData |
adsetId(String adsetId)
Set adsetId
|
AttributionData |
attributionMethod(AttributionMethodEnum attributionMethod)
Set attributionMethod
|
AttributionData |
attributionModel(AttributionModelEnum attributionModel)
Set attributionModel
|
AttributionData |
attributionSetting(AttributionSetting attributionSetting)
Set attributionSetting
|
AttributionData |
attributionShare(Float attributionShare)
Set attributionShare
|
AttributionData |
attributionSource(String attributionSource)
Set attributionSource
|
AttributionData |
attributionValue(Float attributionValue)
Set attributionValue
|
AttributionData |
attributionWindow(Integer attributionWindow)
Set attributionWindow
|
AttributionData |
auditingToken(String auditingToken)
Set auditingToken
|
AttributionData |
campaignId(String campaignId)
Set campaignId
|
AttributionData |
declineReason(DeclineReasonEnum declineReason)
Set declineReason
|
boolean |
equals(Object o) |
String |
getAdId()
Get adId
|
String |
getAdsetId()
Get adsetId
|
AttributionMethodEnum |
getAttributionMethod()
Get attributionMethod
|
AttributionModelEnum |
getAttributionModel()
Get attributionModel
|
AttributionSetting |
getAttributionSetting()
Get attributionSetting
|
Float |
getAttributionShare()
Get attributionShare
|
String |
getAttributionSource()
Get attributionSource
|
Float |
getAttributionValue()
Get attributionValue
|
Integer |
getAttributionWindow()
Get attributionWindow
|
String |
getAuditingToken()
Get auditingToken
|
String |
getCampaignId()
Get campaignId
|
DeclineReasonEnum |
getDeclineReason()
Get declineReason
|
String |
getLinkageKey()
Get linkageKey
|
String |
getScope()
Get scope
|
Integer |
getTouchpointTs()
Get touchpointTs
|
String |
getTouchpointType()
Get touchpointType
|
Long |
getVisitTime()
Get visitTime
|
int |
hashCode() |
AttributionData |
linkageKey(String linkageKey)
Set linkageKey
|
AttributionData |
scope(String scope)
Set scope
|
void |
setAdId(String adId)
Set adId
|
void |
setAdsetId(String adsetId)
Set adsetId
|
void |
setAttributionMethod(AttributionMethodEnum attributionMethod)
Set attributionMethod
|
void |
setAttributionModel(AttributionModelEnum attributionModel)
Set attributionModel
|
void |
setAttributionSetting(AttributionSetting attributionSetting)
Set attributionSetting
|
void |
setAttributionShare(Float attributionShare)
Set attributionShare
|
void |
setAttributionSource(String attributionSource)
Set attributionSource
|
void |
setAttributionValue(Float attributionValue)
Set attributionValue
|
void |
setAttributionWindow(Integer attributionWindow)
Set attributionWindow
|
void |
setAuditingToken(String auditingToken)
Set auditingToken
|
void |
setCampaignId(String campaignId)
Set campaignId
|
void |
setDeclineReason(DeclineReasonEnum declineReason)
Set declineReason
|
void |
setLinkageKey(String linkageKey)
Set linkageKey
|
void |
setScope(String scope)
Set scope
|
void |
setTouchpointTs(Integer touchpointTs)
Set touchpointTs
|
void |
setTouchpointType(String touchpointType)
Set touchpointType
|
void |
setVisitTime(Long visitTime)
Set visitTime
|
String |
toString() |
AttributionData |
touchpointTs(Integer touchpointTs)
Set touchpointTs
|
AttributionData |
touchpointType(String touchpointType)
Set touchpointType
|
AttributionData |
visitTime(Long visitTime)
Set visitTime
|
public AttributionData()
public AttributionData(String scope, Long visitTime, String adId, String adsetId, String campaignId, Float attributionShare, AttributionModelEnum attributionModel, Integer attributionWindow, Float attributionValue, String attributionSource, String touchpointType, Integer touchpointTs, AttributionMethodEnum attributionMethod, DeclineReasonEnum declineReason, String auditingToken, String linkageKey, AttributionSetting attributionSetting)
scope - Touchpoint typevisitTime - Time that the campaign_id or fbc was first receivedadId - Meta-provided ad id from URL/deeplinkadsetId - Meta-provided adset id from URL/deeplinkcampaignId - Meta-provided campaign id from URL/deeplinkattributionShare - [0-1] weight of credit assigned to the visitattributionModel - Attribution model used to attribute the eventattributionWindow - Attribution window in daysattributionValue - The share of value generated by this click-conversion pair that is attributed to Meta.attributionSource - The attribution source to differentiate the source of the data, e.g. whether this is from AMM or Custom Attribution or any other sources.touchpointType - The engagement type that caused the original credited conversion.touchpointTs - The time when the touchpoint event occurred with the ad that the install was credited to.attributionMethod - The attribution method used to attribute the event.declineReason - The decline reason for the attribution.auditingToken - The auditing token for the attribution.linkageKey - The linkage key for the attribution.attributionSetting - The attribution setting with inactivity and reattribution window configuration.public AttributionData scope(String scope)
scope - Touchpoint typepublic String getScope()
public void setScope(String scope)
scope - Touchpoint typepublic AttributionData visitTime(Long visitTime)
visitTime - Time that the campaign_id or fbc was first receivedpublic Long getVisitTime()
public void setVisitTime(Long visitTime)
visitTime - Time that the campaign_id or fbc was first receivedpublic AttributionData adId(String adId)
adId - Meta-provided ad id from URL/deeplinkpublic String getAdId()
public void setAdId(String adId)
adId - Meta-provided ad id from URL/deeplinkpublic AttributionData adsetId(String adsetId)
adsetId - Meta-provided adset id from URL/deeplinkpublic String getAdsetId()
public void setAdsetId(String adsetId)
adsetId - Meta-provided adset id from URL/deeplinkpublic AttributionData campaignId(String campaignId)
campaignId - Meta-provided campaign id from URL/deeplinkpublic String getCampaignId()
public void setCampaignId(String campaignId)
campaignId - Meta-provided campaign id from URL/deeplinkpublic AttributionData attributionShare(Float attributionShare)
attributionShare - [0-1] weight of credit assigned to the visitpublic Float getAttributionShare()
public void setAttributionShare(Float attributionShare)
attributionShare - [0-1] weight of credit assigned to the visitpublic AttributionData attributionModel(AttributionModelEnum attributionModel)
attributionModel - Attribution model used to attribute the event.public AttributionModelEnum getAttributionModel()
public void setAttributionModel(AttributionModelEnum attributionModel)
attributionModel - Attribution model used to attribute the event.public AttributionData attributionWindow(Integer attributionWindow)
attributionWindow - Attribution window in days.public Integer getAttributionWindow()
public void setAttributionWindow(Integer attributionWindow)
attributionWindow - Attribution window in days.public AttributionData attributionValue(Float attributionValue)
attributionValue - The share of value generated by this click-conversion pair that is attributed to Meta.public Float getAttributionValue()
public void setAttributionValue(Float attributionValue)
attributionValue - The share of value generated by this click-conversion pair that is attributed to Meta.public AttributionData attributionSource(String attributionSource)
attributionSource - The attribution source to differentiate the source of the data, e.g. whether this is from AMM or Custom Attribution or any other sources.public String getAttributionSource()
public void setAttributionSource(String attributionSource)
attributionSource - The attribution source to differentiate the source of the data, e.g. whether this is from AMM or Custom Attribution or any other sources.public AttributionData touchpointType(String touchpointType)
touchpointType - The engagement type that caused the original credited conversion.public String getTouchpointType()
public void setTouchpointType(String touchpointType)
touchpointType - The engagement type that caused the original credited conversion.public AttributionData touchpointTs(Integer touchpointTs)
touchpointTs - The time when the touchpoint event occurred with the ad that the install was credited to.public Integer getTouchpointTs()
public void setTouchpointTs(Integer touchpointTs)
touchpointTs - The time when the touchpoint event occurred with the ad that the install was credited to.public AttributionData attributionMethod(AttributionMethodEnum attributionMethod)
attributionMethod - The attribution method used to attribute the event.public AttributionMethodEnum getAttributionMethod()
public void setAttributionMethod(AttributionMethodEnum attributionMethod)
attributionMethod - The attribution method used to attribute the event.public AttributionData declineReason(DeclineReasonEnum declineReason)
declineReason - The decline reason for the attribution.public DeclineReasonEnum getDeclineReason()
public void setDeclineReason(DeclineReasonEnum declineReason)
declineReason - The decline reason for the attribution.public AttributionData auditingToken(String auditingToken)
auditingToken - The auditing token for the attribution.public String getAuditingToken()
public void setAuditingToken(String auditingToken)
auditingToken - The auditing token for the attribution.public AttributionData linkageKey(String linkageKey)
linkageKey - The linkage key for the attribution.public String getLinkageKey()
public void setLinkageKey(String linkageKey)
linkageKey - The linkage key for the attribution.public AttributionData attributionSetting(AttributionSetting attributionSetting)
attributionSetting - The attribution setting with inactivity and reattribution window configuration.public AttributionSetting getAttributionSetting()
public void setAttributionSetting(AttributionSetting attributionSetting)
attributionSetting - The attribution setting with inactivity and reattribution window configuration.Copyright © 2025. All rights reserved.