Use an access token that has access to the offline event sets. To obtain an access token, follow the instructions listed here in the Facebook for Developers Offline Conversions API for creating an App. Select 'Direct Implementation' for your app type.
Follow the remainder of Facebook's instructions for creating a System User and token. Ensure you have selected ads_management for the scope.
When syncing events, Hightouch treats any records added to your source as new events and sends them to Facebook when your sync runs.
To ensure syncs send each event, use a hash function for the event model's primary key . The hash should combine all columns, including member ID, timestamp, etc. See the event sync documentation for more information.
Hightouch allows you to pass data to the default properties and the custom event properties of a Facebook offline event. Hightouch expects the event_time to be a standard ISO 8601 format. Hightouch will automatically convert this to the Unix time that Facebook expects.
The Facebook Offline API accepts strings and arrays of strings for match_keys. For example, you can use column values like "jane@example.com" or ["jane@example.com", "john@example.com"] for match_keys.email. The API rejects comma-separated strings, for example, "jane@example.com, john@example.com". Ensure the mapped field is in the correct format.