File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files between a client and server on a computer network. FTP is built on a client-server model architecture and uses separate control and data connections between the client and the server. With this integration, you will be able to sync offline data with your server through an FTP/SFTP connection.
FTP server access details for reading files:
Let’s go through the process required to set-up Files FTP for Offline events..
The First step is to select the File data type. This helps in Datahash in understanding what type of integration the user wants to do. Currently we support offline events, custom audience and leads data type integration across multiple advertising destinations.
Overview – To Implement Offline events, the client needs to upload event data with the fields as mentioned in the file downloaded during the setup (Step 2) in a CSV using the below specified format. This file works for all three platforms i.e., Facebook, Google and Snap
Note on Encryption – All the Customer Data Fields that says ‘Hashed’ needs to be encrypted using the ‘SHA256’ format
Mandatory Fields:
Taghash Fields | Required/Optional | Format |
Event Data | ||
event_time | Required | UNIX timestamp |
event_name | Required | String |
currency | Required for purchase events | Three-letter ISO currency code |
value | Required for purchase events | Double |
transaction_id | Required for purchase events | String |
User Data | ||
Email_hashed | Required | Trim leading and trailing white space and convert all characters to lowercase |
Phone_hashed | Required | Number up to fifteen digits in length starting without 0 and removing any non-numeric characters such as whitespace, parentheses, ‘+’, or ‘-‘ from phone numbers |