SFTP Integration Guide
Rokt Ads SFTP integration enables advertisers to securely send conversion and audience data to Rokt in batch using customer identifiers and attributes. This integration allows Rokt to close the loop between ad exposure and downstream outcomes, enabling better optimization and performance for our advertisers.
Prerequisites
Before you begin, ensure you have:
- Access to an SFTP client (e.g., FileZilla, WinSCP, or command-line
sftp) - A Keybase account for secure credential exchange
- Your Rokt Account Manager's contact information
1. Create CSV files
Prepare CSV files following these guidelines.
File format requirements
- Files must adhere to RFC 4180 CSV format standards.
- Supported file formats:
- Plain CSV (
.csv) - ZIP archive containing one or more CSV files (
.zip) - Gzip-compressed CSV (
.csv.gz) - PGP-encrypted files with
.gpgextension (e.g.,.csv.gpgor.csv.gz.gpg). Contact your Rokt Account Manager for Rokt's public key.
- Plain CSV (
- File size: 5 MB – 2 GB (optimal). Split larger datasets into multiple files for parallel processing.
- Maximum 50 columns per file.
- Maximum row size: 80 KB.
- All column names must be unique.
- Do not use subfolders when uploading.
File naming
Use the following naming convention based on your data type:
| Data Type | File Name Pattern | Example |
|---|---|---|
| Audience data | <name>-eventless.csv | premium_users-eventless.csv |
| Event/conversion data | <name>-custom_event.csv | purchases-custom_event.csv |
注意
Avoid dashes (-) and dots (.) in the <name> portion of your file name. The dash before eventless or custom_event is required.
Data requirements
Each row must include at least one valid user.
注記
Rows missing valid identity values will fail processing. Ensure at least one identity column contains a value for every row.
Root-level fields
| Column Name | Example Value | Notes |
|---|---|---|
environment | development | Environment identifier (e.g., development, production). |
ip | 8.8.8.8 | User's IP address. |