Documentation / Product / Integrations / BlueKai

BlueKai: SFTP Export

Exporting user profiles and audience membership to BlueKai allows you to use behavioral data, content affinities, and insights from Lytics for better ad targeting. Export your audiences to SFTP to stage your files in a compressed, tab-separated value (TSV) format before importing into BlueKai.

Integration Details

This workflow uploads two files in the selected SFTP server: Offline file and Trigger file. In short, the Offline file contains all the exported data about the user, and the Trigger file contains meta information about the Offline file.

We follow BlueKai's documentation in creating the Offline file. Data is exported in TSV format with two columns and no header row. Each line in the Offline file represents a unique user. The first column contains the identifier for the user whereas the second column contains the user profile fields that are separated by a pipe "|". An example of an entry in exported file is given below:

some_unique_id       field1=value|field2=value|field3=value*

The Offline file follows the Partner_SiteID_YYYY-MM-DD.gz naming conventions. Lytics collects Partner name and Site ID during the authorization step.

The Trigger file contains the information about the exported Offline file such as file name, size in bytes and MD5 checksum. This file is used for verification purposes so that all the user data is transferred without any corruption. The Trigger file is created and uploaded only after the Offline file is uploaded. The Trigger file follows the Partner_SiteID_YYYY-MM-DD.gz.trigger naming convention.

Once the workflow is started, it will:

  1. Connect to the SFTP server.
  2. Navigate to the configured folder in the SFTP server.
  3. Create a compressed TSV file in the SFTP server.
  4. Scan the audience and process users into TSV lines with two columns.
  5. Write TSV lines to the file.
  6. Close the completed file.
  7. Create the Trigger file and disconnect from the SFTP server.
  8. Schedule the next run.
  9. BlueKai imports the file for processing. See BlueKai's documentation for more details on setting up BlueKai to import the file.

Fields

Fields that are exported for this integration are entirely defined by the Fields to Export step in the configuration.

Configuration

Follow these steps to set up and configure an export of BlueKai in the Lytics platform.

  1. Navigate to the Integrations page and select the BlueKai tile. blueKai-new

  2. Select Worklows from the menu on the left.

  3. Select SFTP Export from the list of workflows.
  4. From the Audiences input, select the audience(s) that contains the users to export.
  5. From the Identifier input, select the field that will be placed in the first column of the file. This field should be a unique identifier and be selected in the Fields to export. bluekai-sftp-p1

  6. Click on the Show Advanced Options tab to expand the advanced configuration.

  7. From the Audience membership input, select the audiences to include in the audience membership. If left blank, all audiences will be included.
  8. Select the Append Segment Name checkbox to add a field with the audience name.
  9. Select the Additional Segments checkbox to add a column containing all the audiences a user is a member of.
  10. From the Fields to Export input, select the user fields to export. aud-membershi-bluekai
  11. From the Custom Join input, enter a custom join character for fields that have multiple values. The default is "&". E.g. [email protected]&[email protected].
  12. Select the Continuous Export checkbox to export the audience repeatedly.
  13. From the File Export Frequency input, select how often a continuous export should create a new file.
  14. From the Time of Day input, select the time of day to start the export each day. This applies to daily, weekly, and monthly frequencies only.
  15. From the Timezone input, select the timezone for the time of day.
  16. Click the Start Export button to begin the workflow. bluekai-sftp-p4