The Trade Desk Conversions API Program for Offline Conversions
The Trade Desk Conversions API program enables LiveRamp customers who currently distribute data to The Trade Desk (TTD) to send conversion data to TTD. TTD performs attribution analysis on the impact of that advertiser’s TTD campaigns on conversions. This allows advertisers to understand how TTD campaigns drive offline conversions and to find additional data to better optimize ad spend or customer experience.
Note
See this one pager for a summary of this integration.
TTD must approve all program participants. Contact your LiveRamp or TTD rep to find out about getting approved for the TTD Conversions API program.
The Trade Desk Conversions API Program for Offline Conversions was formerly known as "the Trade Desk Conversions API Attribution Program".
Overview of Steps Involved
The following steps need to be performed for each campaign to enable the attribution analysis in TTD:
You contact LiveRamp to set up an additional LiveRamp audience in Connect for the purposes of uploading conversion data for that campaign.
At least two weeks before the start of your campaign, you upload a formatted sample conversion data file to the new audience that contains the transaction category and all of the custom fields that you plan to use.
You activate a TTD Conversions API destination account in the Connect UI.
You distribute the uploaded sample conversion data to the TTD destination account, which generates TTD’s required tracking tag.
Apply the tracking tag to your campaign in TTD.
You activate your campaign on TTD.
You send your formatted offline (in store) conversion data from the last 30 days to LiveRamp.
LiveRamp matches the offline identifiers to TDIDs and delivers matched data to TTD.
TTD creates a conversion report.
You view the conversion report in TTD.
See the appropriate sections below for more information on performing these steps.
Format the Conversion Data File
Before sending your conversion data to LiveRamp, make sure to strictly follow the guidelines listed below:
Note
If any guidelines listed here conflict with the guidelines in our general file formatting instructions, follow these guidelines.
If you're using multiple programs, you can often use one universal file for most or all of those programs. For more information and a universal file template, see "Using a Universal File for Multiple Conversions API Programs".
Caution
If an uploaded file does not meet these requirements, you will need to reformat the file until it is formatted correctly.
Headers must be included in the exact order as listed below and must match exactly.
This program uses our Activation workflow. Make sure to follow our recommended file limits for Activation workflow files (such as a maximum of 500,000,000 rows per file and a maximum uncompressed file size of 50 GB).
Fields must not have leading or trailing white space.
Your conversion data file must use one of our allowed delimiters (commas, tabs, or pipes), and be one of our allowed file types (.csv, .tsv, .psv, or .txt).
Include all of the required columns shown in bold below, including all PII columns (even if a particular PII column does not have values).
Unless values are required for a field, fields can be left blank if there is no data for the given row (do not include “N/A” or “null”).
The file must be rectangular. That is every row must have the same number of delimiters and columns of data.
Tip
To download an Excel file template that contains all possible columns and formatting instructions, click here.
After transferring your data into the file template, be sure to delete the row with the formatting instructions and save the file in one of our allowed file types (.csv, .tsv, .psv, or .txt) before uploading.
Once the file has been formatted correctly, upload the file to LiveRamp. See the “Upload the File” section below for more information.
Note
Once you set up the file format for an existing attribution program feed, try to keep the file format (such as the column headers or the column order) the same for all subsequent files. If you change the file format for an existing feed, create a support case before uploading the new file to ensure your existing attribution feeds are not impacted. For more information, see "Changing the Format of an Existing File".
List of All File Columns
See the table below for a list of columns and formatting instructions:
Field Name | Column Required? | Values Required? | Notes |
---|---|---|---|
first_name | Yes | Yes (if Name and Postal is used as an identifier) | |
last_name | Yes | Yes (if Name and Postal is used as an identifier) | |
address_1 | Yes | Yes (if Name and Postal is used as an identifier) | |
address_2 | Yes | No |
|
city | Yes | Yes (if Name and Postal is used as an identifier) | |
state | Yes | Yes (if Name and Postal is used as an identifier) |
|
zip | Yes | Yes (if Name and Postal is used as an identifier) |
|
email_1 | Yes | Yes (if email is used as an identifier) |
|
email_2 | Yes | No |
|
email_3 | Yes | No |
|
email_4 | Yes | No |
|
transaction_category | Yes | Yes |
|
transaction_timestamp | Yes | Yes |
|
transaction_amount | Yes | Yes |
|
phone_1 | Yes | Yes (if phone is used as an identifier) |
|
phone_2 | Yes | No |
|
TD10 | Yes | Yes |
|
Value | No | No |
|
ValueCurrency | No | No |
|
Country | Yes | Yes |
|
Region | Yes | Yes |
|
Metro | No | No |
|
City | No | No |
|
Postal Code | No | No |
|
TD1….. TD9 | No | No |
|
Header Row Example
first_name|last_name|address_1|address_2|city|state|zip|email_1|email_2|email_3|email_4|transaction_category|transaction_timestamp|transaction_amount|phone_1|phone_2|TD10|Country|Region|TD1|TD2
Conversion Data Examples
Alex|Chen|44 Main Street|#12|San Francisco|CA|94101|4371|alex@gmail.com|ac@ymail.com|||New Customer|2017- 02-07T13:25:00Z|99.99|555-123-4567|4152234123|USA|California|In-store|Bayfair Mall
Julian|Rogers|55 Mission Street||San Francisco|CA|94500|8435|julian@gmail.com||||Active Customer|2017- 03-07T15:15:00Z|127.18|555-999-4567|4152234124|USA|California|Outlet|Solano Mall
Send Conversion Data to LiveRamp
To set up the integration with TTD for each campaign, send LiveRamp a file that contains sample conversion data at least two weeks before the start of each campaign. The file must include the desired transaction category and all possible subcategories (contained in the custom fields (such as “TD1”, TD2”, etc.)) that you intend to use. This enables us to send TTD the required tracking tags that TTD will use to categorize your exposure data and associate each exposure to the correct transaction category and subcategory (if used).
Caution
Each campaign must use a single transaction category for all of the transactions in that campaign.
Once your campaign has started, send conversion data to LiveRamp at your preferred cadence (daily, weekly, monthly, etc.). We highly suggest automated weekly delivery as it gives LiveRamp the greatest ability to match
Caution
Most platforms require that at least 1,000 unique transaction events be uploaded over a 28-day period.
Each conversion data record must include at least one PII identifier (name and postal address, email, or phone) and the required conversion data:
Tip
Include as many identifiers per record as possible for the highest match rates.
Files must also contain the following required fields (all of these fields must be distributed to the TTD):
Transaction category
Transaction timestamp
Transaction amount
Country
Region
Transaction ID (the “TD10” field)
Make sure to also follow these additional guidelines:
Avoid sending duplicate transactions (transactions already sent to LiveRamp). If you send weekly or monthly files, only send transactions that occurred since the previous file was sent.
Do not include conversions with a conversion date in the future.
Conversion data should be uploaded within 30 days of the conversion.
Caution
When you upload your files, be sure to upload them to the appropriate audience for that campaign.
After uploading, email your LiveRamp technical account specialist to confirm that you have uploaded conversion data.
Note
For future uploads, you do not have to email LiveRamp to confirm that you have uploaded data assuming headers have not changed or additional columns have not been added.
Once the file is uploaded, information on file processing status can be viewed in LiveRamp Connect.
Tip
Most customers automate this process to send files on a regular cadence.
Email your LiveRamp technical account specialist if you have any questions.
Distribute Conversion Data to Your TTD Destination Account
Once you’ve uploaded your sample conversion data to the appropriate audience and and the fields are available to distribute in Connect, follow the instructions in “Distribute Data to a Destination” to send your data to the TTD:
Make sure to use the correct TTD Conversions API destination account for the campaign.
Use the Audience dropdown to filter the list by the audience for the campaign.
Distribute all required conversion fields and any optional fields that you want to be included in the attribution reports. Make sure to distribute all of these required fields:
Transaction category
Transaction timestamp
Transaction amount
Country
Region
Transaction ID (the “TD10” field)
Note
When the sample conversion data are distributed, tracking tags for all transaction categories and subcategories are generated and sent to TTD so TTD can properly attribute exposure and conversion data once your campaign starts.
After TTD has ingested the conversion data, you can view the attribution reports in the TTD UI.
FAQs
LiveRamp can receive conversion data files for the TTD Conversions API program on a daily, weekly, or monthly basis, but we highly suggest automated weekly delivery as it gives LiveRamp the greatest ability to match.
Include all traceable transactions in your delivery.
Avoid sending duplicate transactions (transactions already sent to LiveRamp). If you send daily files, only include transactions that occurred on that day. If you send weekly or monthly files, only send transactions that occurred since the previous file was sent.
Do not include transactions with a transaction date in the future.
No. Because these are “full refresh” uploads, each file replaces the data in the previously uploaded file. For a given audience/distribution, one file containing all relevant fields should be uploaded.
It usually takes 1-3 days to get the data to TTD and then about 2 days for TTD to ingest the data.
When creating the Conversions API destination account, you can set an end date that will turn off the distribution to TTD. It is up to your discretion if you’d like to continue sending data after media ends to capture additional conversions.