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.
- Implementation Type: Server-side.
- Implementation Technique: File based transfer.
- Frequency: Batch with backfill, frequency can be configured.
- Resulting data: User profiles and audience membership.
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:
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 job is started, it will:
- Connect to the SFTP server.
- Navigate to the configured folder in the SFTP server.
- Create a compressed TSV file in the SFTP server.
- Scan the audience and process users into TSV lines with two columns.
- Write TSV lines to the file.
- Close the completed file.
- Create the Trigger file and disconnect from the SFTP server.
- Schedule the next run.
- BlueKai imports the file for processing. See BlueKai's documentation for more details on setting up BlueKai to import the file.
Fields that are exported for this integration are entirely defined by the Fields to Export step in the configuration.
Follow these steps to set up and configure an export job for BlueKai in the Lytics platform. If you are new to creating jobs in Lytics, see the Jobs Dashboard documentation for more information.
- Select BlueKai from the list of providers.
- Select the Export Audiences job type from the list.
- Select the Authorization you would like to use or create a new one.
- Enter a Label to identify this job you are creating in Lytics.
- (Optional) Enter a Description for further context on your job.
- From the Audiences input, select the audience(s) that contains the users to export.
(optional) 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.
(optional) From the Audience membership input, select the audiences to include in the audience membership. If left blank, all audiences will be included.
- (optional) Select the Append Segment Name checkbox to add a field with the audience name.
- (optional) Select the Additional Segments checkbox to add a column containing all the audiences a user is a member of.
(optional) From the Fields to Export input, select the user fields to export.
- (optional) Select the Continuous Export checkbox to export the audience repeatedly.
- (optional) From the File Export Frequency input, select how often a continuous export should create a new file.
- (optional) 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.
- (optional) From the Timezone input, select the timezone for the time of day.
- Click Start Export.