Thanks a lot for your answer. It helped me to understand the difference and yes, it is most probably what we are looking for. So I try to set this field when I upload the data using the API.
click_conversion = client.get_type("ClickConversion")
external_attribution_data = client.get_type("ExternalAttributionData")
# get the conversion_action in resource format
click_conversion.conversion_action = conversion_action_dict[
conversion_action_name
]
click_conversion.conversion_value = float(conversion_action_value)
click_conversion.conversion_date_time = conversion_date_time
click_conversion.currency_code = "EUR"
click_conversion.external_attribution_data = external_attribution_data
And on the last line, I get this error:
Error on uploading conversion action Assignment not allowed to field "external_attribution_data" in protocol message object..
I guess I need to set it somewhere else, but where?
Getting closer, seems to be the last step :)
Looking forward to hearing from you,