Using a Universal File for Multiple Conversions API Programs
With LiveRamp’s Partner Conversions API programs, you can often use one universal file for most or all of your conversions programs.
Note
Our Conversions API programs were formerly known as "attribution programs".
There are some situations where we recommend creating separate files or a completely new file. This to ensure that there are no disruptions to your existing conversions feeds.
See the sections below for more information on using a universal file for your conversion data files.
Situations That Require Additional Files
If you’re working with any of the conversions programs listed below, you might need to create additional files or use a different file template:
Note
When you’re sending multiple files, make sure to name each file distinctly so that it’s easier for us to send the data to the correct program(s).
The Trade Desk: If you have multiple values for the transaction category field, then you will need to create a separate file for each value. This is to ensure that LiveRamp does not remove any event data.
Facebook or Meta Conversions API Program for Offline Conversions:
If you’re sending RampIDs, AbiliTec IDs, MAIDs, or CIDs, you need to send those in a separate file that does not include the PII columns. For Facebook, you can download the non-PII identifier template for that data by clicking here. For Meta, you can download the non-PII identifier template for that data by clicking here.
If you’re sending PII to the Facebook or Meta Conversions API Program for Offline Conversions and other programs, you can use the regular universal file template which does not include the “maid” or “lr_id” columns.
Meta Conversions API for Offline Conversions: You will need to include only plaintext email addresses and/or plaintext phone numbers in the email and phone columns in the file.
Google Store Sales, Snapchat or TikTok: These programs use our Passthrough Activation integration to pass through SHA256-hashed PII, so you will need to include plaintext email addresses and/or plaintext phone numbers in the "email_1" and "phone_1" columns in the file so that we can hash those values. If desired, you can also include hashed email addresses and/or phone numbers in the other email or phone columns but they will not be utilized by these programs.
Snapchat: If you are sending online conversion data, you will need to create a separate file for that online data, as the other conversions programs only allow offline conversion data.
File Format for the Universal File
See the sections below for information on formatting guidelines, information on using our universal file template, and a table that lists all possible columns you might include in your universal file.
Formatting Guidelines for the Universal File
Before sending your universal file 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.
Caution
If an uploaded file does not meet these requirements, you will need to reformat the file until it is formatted correctly.
Make sure to include all required columns with the exact column headers as shown.
Make sure to keep the columns up to and including the phone number columns in the exact order as shown. After those columns, the remaining columns can be in any order.
Provide the recommended values when possible. If you do not have values for a required field, include the column but with no values (do not include “N/A” or “null”).
Provide plaintext (raw) PII when possible as this is required for the programs that use a Passthrough Activation integration . For more information, see the "Situations That Require Additional Files" section above.
Provide your best email and phone for the user that you are trying to measure in columns “email_1” and “phone_1” (try to keep each column as close to a 100% fill rate as possible).
Not all programs utilize every column in the universal file. See the table in the "List of All Universal File Columns" section below to understand which programs utilize which fields so that you know which columns you can leave out.
If you're sending data on EMEA and/or UK consumers to Google Store Sales, you must also include the "ad_user_data" and "ad_personalization" columns listed in the "List of All Universal File Columns" section below. For all other regions, these columns are optional. For more info on Google's consent policy, see this Google article.
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).
The file must be rectangular. That is every row must have the same number of delimiters and columns of data.
Using the Universal File Template
To make things easier for you, we've created a universal file template that you can use.
Note
If you’re sending non-PII based data (such as data tied to RampIDs, AbiliTec IDs, MAIDs, or CIDs) to the Facebook Offline Conversions API Attribution Program, click here to download a sample template for that data.
If you’re sending non-PII based data (such as data tied to RampIDs, AbiliTec IDs, MAIDs, or CIDs) to the Meta Conversions API for Offline Conversions Attribution Program, click here to download a sample template for that data.
Make sure you've reviewed the information in the "Situations That Require Additional Files" section above to see if you need to create more than one file or use a different template.
The template contains formatting instructions in the second row of the file, along with info on whether a column is required and whether values are required, depending on which conversions programs you're using. You can also refer to the information in the "List of All Universal File Columns" section below.
Download the file template by clicking here.
If desired, you can remove any non-required columns that aren't utilized by one of your conversions programs, but you can also leave those columns in the file and not populate them with values.
Transfer your data into the template.
After transferring your data into the file template, delete the second row with the formatting instructions.
Save the file in one of our allowed file types (.csv, .tsv, .psv, or .txt).
Upload the file to LiveRamp.
List of All Universal File Columns
The table below lists all possible columns you might include in your universal file, along with the following information:
The columns that are always required
The columns that are required in certain situations, such as the types of identifiers you're sending or the conversions programs you're using
Whether values are required for each column
Formatting instructions for column values
Which columns are utilized by which conversions programs, when applicable
Column Name | Column Required? | Values Required? | Notes | Programs That Utilize This Field |
---|---|---|---|---|
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 |
| |
order_id | Yes | Yes |
| |
item_number | No | Yes (if this column is included in the file) |
|
|
quantity | Yes | Yes (if this column is included in the file) |
|
|
product_id | No | Yes (if this column is included in the file) |
|
|
store_id | No | Yes (if this column is included in the file) |
|
|
Country | Yes (for TTD only) | Yes (if this column is included in the file) |
|
|
Region | Yes (for TTD only) | Yes (if this column is included in the file) |
|
|
Metro | No | No |
|
|
City | No | No |
|
|
product_name | No | No |
|
|
promo_code | No | No |
|
|
product_category | No | No |
|
|
product_subcategory | No | No |
|
|
product_variant | No | No |
|
|
product_brand | No | No |
|
|
source_type | Yes (for Snapchat only and only if sending online data) | Yes (if this column is included in the file) | Use one of the following source types:
|
|
is_new_customer | No | No |
|
|
product_price | No | No |
|
|
GTIN | No | No |
|
|
department | No | No |
|
|
brand | No | No |
|
|
custom_field | No | No |
|
|
data_processing_options | Yes (for Meta Conversions API or FBOC only) | Yes |
|
|
data_processing_options_state | Yes (for Meta Conversions API or FBOC only) | No |
|
|
data_processing_options_country | Yes (for Meta Conversions API or FBOC only) | No |
|
|
ad_user_data | Yes (for UK and EMEA data) | No |
|
|
ad_personalization | Yes (for UK and EMEA data) | No |
|
|