in facebook_business/adobjects/serverside/event.py [0:0]
def __init__(self, event_name = None, event_time = None, event_source_url = None,
opt_out = None, event_id = None, user_data = None, custom_data = None,
data_processing_options = None, data_processing_options_country = None,
data_processing_options_state = None, action_source = None):
# type: (str, int, str, bool, str, UserData, CustomData, list[str], int, int, ActionSource) -> None
"""Conversions API Event"""
self._event_name = None
self._event_time = None
self._event_source_url = None
self._opt_out = None
self._event_id = None
self._user_data = None
self._custom_data = None
self._data_processing_options = None
self._data_processing_options_country = None
self._data_processing_options_state = None
self._action_source = None
self.event_name = event_name
self.event_time = event_time
if event_source_url is not None:
self.event_source_url = event_source_url
if opt_out is not None:
self.opt_out = opt_out
if event_id is not None:
self.event_id = event_id
if user_data is not None:
self.user_data = user_data
if custom_data is not None:
self.custom_data = custom_data
if data_processing_options is not None:
self.data_processing_options = data_processing_options
if data_processing_options_country is not None:
self.data_processing_options_country = data_processing_options_country
if data_processing_options_state is not None:
self.data_processing_options_state = data_processing_options_state
if action_source is not None:
self.action_source = action_source