Workflows · To Tasks · to_facebook_offline_conversions

Purpose

Upload data to Facebook offline conversions.

Limitation

Only supports database as a source in the extract part of the configuration.

Configuration

Example usage

load:
    dataset_id: 12345678901234
    mapping: 
        match_key_id: MATCH_KEY_ID
        match_key_name: MATCH_KEY_NAME
        event_name: EVENT_NAME
        event_time: EVENT_TIME
        audience_code: AUDIENCE_CODES
        brand: BRAND

Properties

propertytypemandatorydescription
conn_idstringnoConnection string as handed to you by the Onesecondbefore team. Default is `facebook`.
dataset_idintegeryesID for offline event set.
mappingobjectyesContains the mappings from the dataset to the service. See below for mapping options.

Mappings

mappingtype (in dataset)mandatorydescription
match_key_nameenumerator (list of match keys)yesContains the name of the match key
match_key_idarray of keysyesContains the match key id's. Add as an array, even if it concerns a single id.
event_nameenumerator(the offline conversion event, e.g. Purchase)yesEvent name of the conversion.
event_timetimestampyesContains the time of the event.
content_idsstringyesContent ids.
order_idstringyesUnique order id.
[custom data items]stringyesWill be added as custom data items.

Details

itemdescription
APIFacebook Marketing API for offline conversions
To typeData upload to Facebook.