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)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
AttributionData |
adId(String adId)
Set adId
|
AttributionData |
adsetId(String adsetId)
Set adsetId
|
AttributionData |
attributionModel(AttributionModelEnum attributionModel)
Set attributionModel
|
AttributionData |
attributionShare(Float attributionShare)
Set attributionShare
|
AttributionData |
attributionWindow(Integer attributionWindow)
Set attributionWindow
|
AttributionData |
campaignId(String campaignId)
Set campaignId
|
boolean |
equals(Object o) |
String |
getAdId()
Get adId
|
String |
getAdsetId()
Get adsetId
|
AttributionModelEnum |
getAttributionModel()
Get attributionModel
|
Float |
getAttributionShare()
Get attributionShare
|
Integer |
getAttributionWindow()
Get attributionWindow
|
String |
getCampaignId()
Get campaignId
|
String |
getScope()
Get scope
|
Long |
getVisitTime()
Get visitTime
|
int |
hashCode() |
AttributionData |
scope(String scope)
Set scope
|
void |
setAdId(String adId)
Set adId
|
void |
setAdsetId(String adsetId)
Set adsetId
|
void |
setAttributionModel(AttributionModelEnum attributionModel)
Set attributionModel
|
void |
setAttributionShare(Float attributionShare)
Set attributionShare
|
void |
setAttributionWindow(Integer attributionWindow)
Set attributionWindow
|
void |
setCampaignId(String campaignId)
Set campaignId
|
void |
setScope(String scope)
Set scope
|
void |
setVisitTime(Long visitTime)
Set visitTime
|
String |
toString() |
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)
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 eventpublic 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.Copyright © 2024. All rights reserved.