+
    TŎi	I                     \    ^ RI t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RIH	t	  ! R R]
4      tR# )    N)AttributionModel)AttributionMethod)DeclineReason)AttributionSettingc                   ,  a  ] tR t^t o / RRbRRbRRbRRbRRbRR	bR
RbRRbRR	bRRbRRbRRbRRbRRbRRbRRbRRbtRDR lt]R 4       t]P                  R 4       t]R 4       t	]	P                  R 4       t	]R 4       t
]
P                  R  4       t
]R! 4       t]P                  R" 4       t]R# 4       t]P                  R$ 4       t]R% 4       t]P                  R& 4       t]R' 4       t]P                  R( 4       t]R) 4       t]P                  R* 4       t]R+ 4       t]P                  R, 4       t]R- 4       t]P                  R. 4       t]R/ 4       t]P                  R0 4       t]R1 4       t]P                  R2 4       t]R3 4       t]P                  R4 4       t]R5 4       t]P                  R6 4       t]R7 4       t]P                  R8 4       t]R9 4       t]P                  R: 4       t]R; 4       t]P                  R< 4       tR= tR> tR? tR@ tRA tRB tRCtV t R# )EAttributionDatascopestr
visit_timeintad_idadset_idcampaign_idattribution_sharefloatattribution_modelr   attr_windowattribution_valueattribution_sourcetouchpoint_typetouchpoint_tsattribution_methodr   decline_reasonr   auditing_tokenlinkage_keyattribution_settingr   Nc                P   RV n         RV n        RV n        RV n        RV n        RV n        RV n        RV n        RV n        RV n	        RV n
        RV n        RV n        RV n        RV n        RV n        RV n        Ve   Wn        Ve   W n        Ve   W0n        Ve   W@n        Ve   WPn        Ve   W`n        Ve   Wpn        Ve   Wn        V	e   Wn        V
e   Wn        Ve   Wn        Ve   Wn        Ve   Wn        Ve   Wn        Ve   Wn        Ve   VV n         Ve
   VV n!        R# R# )z Conversions API Attribution DataN)"_scope_visit_time_ad_id	_adset_id_campaign_id_attribution_share_attribution_model_attr_window_attribution_value_attribution_source_touchpoint_type_touchpoint_ts_attribution_method_decline_reason_auditing_token_linkage_key_attribution_settingr	   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   )selfr	   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   s   &&&&&&&&&&&&&&&&&&چ/Users/ahmad/.openclaw/workspace/scripts/.venv/lib/python3.14/site-packages/facebook_business/adobjects/serverside/attribution_data.py__init__AttributionData.__init__2   sZ     "&"& "&#'  $"#' ## $(!J!(OJ$M"*(%6"(%6""*(%6")&8#&#2 $!.)&8#%"0%"0"*D*':D$ +    c                    V P                   # )zkGets the scope of Attribution Data.

Touchpoint type.

:return: The scope of Attribution Data.
:rtype: str
r   r/   s   &r0   r	   AttributionData.scopej        {{r3   c                    Wn         R# )zoSets the scope of Attribution Data.

Touchpoint type.

:param scope: The scope of Attribution Data.
:type: str
Nr5   )r/   r	   s   &&r0   r	   r7   u   	     r3   c                    V P                   # )zGets the visit_time of Attribution Data.

A Unix timestamp in seconds indicating time that the campaign_id or fbc was first received.

:return: The visit_time of Attribution Data.
:rtype: int
)r   r6   s   &r0   r   AttributionData.visit_time   s     r3   c                T    \        V\        4      '       g   \        R4      hWn        R# )zSets the visit_time of Attribution Data.

A Unix timestamp in seconds indicating time that the campaign_id or fbc was first received.

:param visit_time: The visit_time of Attribution Data.
:type: int
z)AttributionData.visit_time must be an intN)
isinstancer   	TypeErrorr   )r/   r   s   &&r0   r   r<      s#     *c**GHH%r3   c                    V P                   # )zGets the ad_id of Attribution Data.

Meta-provided ad id from URL/deeplink.

:return: The ad_id of Attribution Data.
:rtype: str
r    r6   s   &r0   r   AttributionData.ad_id   r8   r3   c                    Wn         R# )zSets the ad_id of Attribution Data.

Meta-provided ad id from URL/deeplink.

:param ad_id: The ad_id of Attribution Data.
:type: str
NrA   )r/   r   s   &&r0   r   rB      r:   r3   c                    V P                   # )zGets the adset_id of Attribution Data.

Meta-provided adset id from URL/deeplink.

:return: The adset_id of Attribution Data.
:rtype: str
r!   r6   s   &r0   r   AttributionData.adset_id   s     ~~r3   c                    Wn         R# )zSets the adset_id of Attribution Data.

Meta-provided adset id from URL/deeplink.

:param adset_id: The adset_id of Attribution Data.
:type: str
NrE   )r/   r   s   &&r0   r   rF      s	     "r3   c                    V P                   # )zGets the campaign_id of Attribution Data.

Meta-provided campaign id from URL/deeplink.

:return: The campaign_id of Attribution Data.
:rtype: str
r"   r6   s   &r0   r   AttributionData.campaign_id           r3   c                    Wn         R# )zSets the campaign_id of Attribution Data.

Meta-provided campaign id from URL/deeplink.

:param campaign_id: The campaign_id of Attribution Data.
:type: str
NrI   )r/   r   s   &&r0   r   rJ      
     (r3   c                    V P                   # )zGets the attribution_share of Attribution Data.

[0-1] weight of credit assigned to the visit.

:return: The attribution_share of Attribution Data.
:rtype: float
r#   r6   s   &r0   r   !AttributionData.attribution_share        &&&r3   c                    Wn         R# )zSets the attribution_share of Attribution Data.

[0-1] weight of credit assigned to the visit.

:param attribution_share: The attribution_share of Attribution Data.
:type: float
NrO   )r/   r   s   &&r0   r   rP      
     #4r3   c                    V P                   # )zGets the attribution_model of Attribution Data.

Attribution model used to attribute the event.

:return: The attribution_model of Attribution Data.
:rtype: AttributionModel
r$   r6   s   &r0   r   !AttributionData.attribution_model   rQ   r3   c                    Wn         R# )zSets the attribution_model of Attribution Data.

Attribution model used to attribute the event.

:param attribution_model: The attribution_model of Attribution Data.
:type: AttributionModel
NrU   )r/   r   s   &&r0   r   rV      rS   r3   c                    V P                   # )zGets the attr_window of Attribution Data.

Attribution window in days.

:return: The attr_window of Attribution Data.
:rtype: int
r%   r6   s   &r0   r   AttributionData.attr_window  rK   r3   c                    Wn         R# )zSets the attr_window of Attribution Data.

Attribution window in days.

:param attr_window: The attr_window of Attribution Data.
:type: int
NrY   )r/   r   s   &&r0   r   rZ     rM   r3   c                    V P                   # )zGets the attribution_value of Attribution Data.

The share of value generated by this click-conversion pair that is attributed to Meta.

:return: The attribution_value of Attribution Data.
:rtype: float
r&   r6   s   &r0   r   !AttributionData.attribution_value  rQ   r3   c                    Wn         R# )zSets the attribution_value of Attribution Data.

The share of value generated by this click-conversion pair that is attributed to Meta.

:param attribution_value: The attribution_value of Attribution Data.
:type: float
Nr]   )r/   r   s   &&r0   r   r^   (  rS   r3   c                    V P                   # )a   Gets the attribution_source of Attribution Data.

The attribution source To differentiate the source of the data, e.g. whether this is from AMM or Custom Attribution or any other sources.

:return: The attribution_source of Attribution Data.
:rtype: float
r'   r6   s   &r0   r   "AttributionData.attribution_source3       '''r3   c                    Wn         R# )a  Sets the attribution_source of Attribution Data.

The attribution source To differentiate the source of the data, e.g. whether this is from AMM or Custom Attribution or any other sources.

:param attribution_source: The attribution_source of Attribution Data.
:type: float
Nra   )r/   r   s   &&r0   r   rb   >  s
     $6 r3   c                    V P                   # )zGets the touchpoint_type of Attribution Data.

The engagement type that caused the original credited conversion.

:return: The touchpoint_type of Attribution Data.
:rtype: float
r(   r6   s   &r0   r   AttributionData.touchpoint_typeI  s     $$$r3   c                    Wn         R# )zSets the touchpoint_type of Attribution Data.

The engagement type that caused the original credited conversion.

:param touchpoint_type: The touchpoint_type of Attribution Data.
:type: float
Nrf   )r/   r   s   &&r0   r   rg   T  s
     !0r3   c                    V P                   # )zGets the touchpoint_ts of Attribution Data.

The time when the touchpoint event occurred with the ad that the install was credited to.

:return: The touchpoint_ts of Attribution Data.
:rtype: float
r)   r6   s   &r0   r   AttributionData.touchpoint_ts_  s     """r3   c                    Wn         R# )zSets the touchpoint_ts of Attribution Data.

The time when the touchpoint event occurred with the ad that the install was credited to.

:param touchpoint_ts: The touchpoint_ts of Attribution Data.
:type: float
Nrj   )r/   r   s   &&r0   r   rk   j  s
     ,r3   c                    V P                   # )zGets the attribution_method of Attribution Data.

The attribution method used to attribute the event.

:return: The attribution_method of Attribution Data.
:rtype: AttributionMethod
)r*   r6   s   &r0   r   "AttributionData.attribution_methodu  rc   r3   c                \    Ve"   \        V\        4      '       g   \        R4      hWn        R# )zSets the attribution_method of Attribution Data.

The attribution method used to attribute the event.

:param attribution_method: The attribution_method of Attribution Data.
:type: AttributionMethod
Nz>AttributionData.attribution_method must be a AttributionMethod)r>   r   r?   r*   )r/   r   s   &&r0   r   rn     s*     )*=OQb2c2c\]]#5 r3   c                    V P                   # )zGets the decline_reason of Attribution Data.

The decline reason for the attribution.

:return: The decline_reason of Attribution Data.
:rtype: DeclineReason
)r+   r6   s   &r0   r   AttributionData.decline_reason       ###r3   c                \    Ve"   \        V\        4      '       g   \        R4      hWn        R# )zSets the decline_reason of Attribution Data.

The decline reason for the attribution.

:param decline_reason: The decline_reason of Attribution Data.
:type: DeclineReason
Nz6AttributionData.decline_reason must be a DeclineReason)r>   r   r?   r+   )r/   r   s   &&r0   r   rq     s(     %j.W.WTUU-r3   c                    V P                   # )zGets the auditing_token of Attribution Data.

The auditing token for the attribution.

:return: The auditing_token of Attribution Data.
:rtype: str
r,   r6   s   &r0   r   AttributionData.auditing_token  rr   r3   c                    Wn         R# )zSets the auditing_token of Attribution Data.

The auditing token for the attribution.

:param auditing_token: The auditing_token of Attribution Data.
:type: str
Nru   )r/   r   s   &&r0   r   rv     s
      .r3   c                    V P                   # )zGets the linkage_key of Attribution Data.

The linkage key for the attribution.

:return: The linkage_key of Attribution Data.
:rtype: str
r-   r6   s   &r0   r   AttributionData.linkage_key  rK   r3   c                    Wn         R# )zSets the linkage_key of Attribution Data.

The linkage key for the attribution.

:param linkage_key: The linkage_key of Attribution Data.
:type: str
Nry   )r/   r   s   &&r0   r   rz     rM   r3   c                    V P                   # )zGets the attribution_setting of Attribution Data.

Attribution settings including inactivity and reattribution windows.

:return: The attribution_setting of Attribution Data.
:rtype: AttributionSetting
)r.   r6   s   &r0   r   #AttributionData.attribution_setting  s     (((r3   c                \    Ve"   \        V\        4      '       g   \        R4      hWn        R# )zSets the attribution_setting of Attribution Data.

Attribution settings including inactivity and reattribution windows.

:param attribution_setting: The attribution_setting of Attribution Data.
:type: AttributionSetting
NzAAttributionData.attribution_setting must be an AttributionSetting)r>   r   r?   r.   )r/   r   s   &&r0   r   r}     s*     *:>QSe3f3f_``$7!r3   c                f   / R V P                   bRV P                  bRV P                  bRV P                  bRV P                  bRV P
                  bRV P                  bRV P                  bRV P                  bR	V P                  bR
V P                  bRV P                  bRV P                  bRV P                  bRV P                  bRV P                  bRV P                   '       d   V P                   P#                  4       MRbpVP%                  4        UUu/ uF  w  r#Vf   K  W#bK  	  pppV# u uppi )r	   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   N)r	   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   	normalizeitems)r/   normalized_payloadkvs   &   r0   r   AttributionData.normalize  s~   
TZZ
$//
 TZZ
 	

 4++
  !7!7
  !7!7
 4++
  !7!7
 !$"9"9
 t33
 T//
 !$"9"9
 d11
 d11
  4++!
" "4KcKcKc4#;#;#E#E#Gim#
& 0B/G/G/I[/ItqQdad/I[!! \s   D-"D-c                   / p\         P                  ! V P                  4       F  w  r#\        W4      p\	        V\
        4      '       d   \        \        R V4      4      W&   K@  \        VR4      '       d   VP                  4       W&   Kf  \	        V\        4      '       d)   \        \        R VP                  4       4      4      W&   K  WAV&   K  	  \        \        \        4      '       d   V P                  4        F	  w  rTWAV&   K  	  V# )z&Returns the model properties as a dictc                 J    \        V R 4      '       d   V P                  4       # T # )to_dicthasattrr   )xs   &r0   <lambda>)AttributionData.to_dict.<locals>.<lambda>  s    WQ	-B-BaiikIIr3   r   c                 x    \        V ^,          R4      '       d!   V ^ ,          V ^,          P                  4       3# T # )   r   r   )items   &r0   r   r     s9    tAw	22 #'q'47??+<!= "=8<"=r3   )six	iteritemsparam_typesgetattrr>   listmapr   r   dictr   
issubclassr   )r/   resultattr_valuekeys   &     r0   r   AttributionData.to_dict  s    }}T%5%56GDD'E%&&#CI%   	**$}}E4((#C=KKM%    %t! 7" ot,,"jjl
#s + r3   c                J    \         P                  ! V P                  4       4      # )z.Returns the string representation of the model)pprintpformatr   r6   s   &r0   to_strAttributionData.to_str  s    ~~dlln--r3   c                "    V P                  4       # )zFor `print` and `pprint`)r   r6   s   &r0   __repr__AttributionData.__repr__#  s    {{}r3   c                d    \        V\        4      '       g   R# V P                  VP                  8H  # )z&Returns true if both objects are equalF)r>   r   __dict__r/   others   &&r0   __eq__AttributionData.__eq__'  s%    %11}}..r3   c                    W8X  * # )z*Returns true if both objects are not equal r   s   &&r0   __ne__AttributionData.__ne__.  s      r3   )"r    r!   r%   r*   r$   r.   r#   r'   r&   r,   r"   r+   r-   r   r)   r(   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r	   r   r   r   )NNNNNNNNNNNNNNNNN)!__name__
__module____qualname____firstlineno__r   r1   propertyr	   setterr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   __static_attributes____classdictcell__)__classdict__s   @r0   r   r      s    e 	 	E	
 	u 	W 	/ 	u 	W 	e 	5 	 	1 	/ 	%  	u!" 	3#K(6;p   \\      & &   \\    __" " ! ! ( ( ' ' 4 4 ' ' 4 4 ! ! ( ( ' ' 4 4 ( ( 6 6 % % 0 0 # # , , ( ( 6 6 $ $ . . $ $ . . ! ! ( ( ) ) 8  8".6./! !r3   r   )r   r   8facebook_business.adobjects.serverside.attribution_modelr   9facebook_business.adobjects.serverside.attribution_methodr   5facebook_business.adobjects.serverside.decline_reasonr   :facebook_business.adobjects.serverside.attribution_settingr   objectr   r   r3   r0   <module>r      s'   *  
 U W O YS!f S!r3   