@@ -69,6 +69,9 @@ public class AttributionData {
6969 @ SerializedName ("linkage_key" )
7070 private String linkageKey = null ;
7171
72+ @ SerializedName ("touchpoint_id" )
73+ private String touchpointId = null ;
74+
7275 @ SerializedName ("attribution_setting" )
7376 private AttributionSetting attributionSetting = null ;
7477
@@ -97,12 +100,13 @@ public AttributionData() {
97100 * @param declineReason The decline reason for the attribution.
98101 * @param auditingToken The auditing token for the attribution.
99102 * @param linkageKey The linkage key for the attribution.
103+ * @param touchpointId Unique identifier for touchpoint events shared by Meta with advertisers.
100104 * @param attributionSetting The attribution setting with inactivity and reattribution window configuration.
101105 */
102- public AttributionData (String scope , Long visitTime , String adId , String adsetId , String campaignId ,
106+ public AttributionData (String scope , Long visitTime , String adId , String adsetId , String campaignId ,
103107 Float attributionShare , AttributionModelEnum attributionModel , Integer attributionWindow , Float attributionValue ,
104108 String attributionSource , String touchpointType , Integer touchpointTs , AttributionMethodEnum attributionMethod ,
105- DeclineReasonEnum declineReason , String auditingToken , String linkageKey , AttributionSetting attributionSetting ) {
109+ DeclineReasonEnum declineReason , String auditingToken , String linkageKey , String touchpointId , AttributionSetting attributionSetting ) {
106110 this .scope = scope ;
107111 this .visitTime = visitTime ;
108112 this .adId = adId ;
@@ -119,6 +123,7 @@ public AttributionData(String scope, Long visitTime, String adId, String adsetId
119123 this .declineReason = declineReason ;
120124 this .auditingToken = auditingToken ;
121125 this .linkageKey = linkageKey ;
126+ this .touchpointId = touchpointId ;
122127 this .attributionSetting = attributionSetting ;
123128 }
124129
@@ -586,9 +591,38 @@ public void setLinkageKey(String linkageKey) {
586591 this .linkageKey = linkageKey ;
587592 }
588593
594+ /**
595+ * Set touchpointId
596+ *
597+ * @param touchpointId Unique identifier for touchpoint events shared by Meta with advertisers.
598+ * @return AttributionData
599+ */
600+ public AttributionData touchpointId (String touchpointId ) {
601+ this .touchpointId = touchpointId ;
602+ return this ;
603+ }
604+
605+ /**
606+ * Get touchpointId
607+ *
608+ * @return touchpointId
609+ */
610+ public String getTouchpointId () {
611+ return touchpointId ;
612+ }
613+
614+ /**
615+ * Set touchpointId
616+ *
617+ * @param touchpointId Unique identifier for touchpoint events shared by Meta with advertisers.
618+ */
619+ public void setTouchpointId (String touchpointId ) {
620+ this .touchpointId = touchpointId ;
621+ }
622+
589623 /**
590624 * Set attributionSetting
591- *
625+ *
592626 * @param attributionSetting The attribution setting with inactivity and reattribution window configuration.
593627 * @return AttributionData
594628 */
@@ -638,12 +672,13 @@ public boolean equals(Object o) {
638672 && Objects .equals (this .declineReason , attributionData .declineReason )
639673 && Objects .equals (this .auditingToken , attributionData .auditingToken )
640674 && Objects .equals (this .linkageKey , attributionData .linkageKey )
675+ && Objects .equals (this .touchpointId , attributionData .touchpointId )
641676 && Objects .equals (this .attributionSetting , attributionData .attributionSetting );
642677 }
643678
644679 @ Override
645680 public int hashCode () {
646- return Objects .hash (scope , visitTime , adId , adsetId , campaignId , attributionShare , attributionModel , attributionWindow , attributionValue , attributionSource , touchpointType , touchpointTs , attributionMethod , declineReason , auditingToken , linkageKey , attributionSetting );
681+ return Objects .hash (scope , visitTime , adId , adsetId , campaignId , attributionShare , attributionModel , attributionWindow , attributionValue , attributionSource , touchpointType , touchpointTs , attributionMethod , declineReason , auditingToken , linkageKey , touchpointId , attributionSetting );
647682 }
648683
649684 @ Override
@@ -666,6 +701,7 @@ public String toString() {
666701 sb .append (" declineReason: " ).append (toIndentedString (declineReason )).append ("\n " );
667702 sb .append (" auditingToken: " ).append (toIndentedString (auditingToken )).append ("\n " );
668703 sb .append (" linkageKey: " ).append (toIndentedString (linkageKey )).append ("\n " );
704+ sb .append (" touchpointId: " ).append (toIndentedString (touchpointId )).append ("\n " );
669705 sb .append (" attributionSetting: " ).append (toIndentedString (attributionSetting )).append ("\n " );
670706 sb .append ("}" );
671707 return sb .toString ();
0 commit comments