Knowledge Base

Setting Up a Campaign with Custom Audiences

With LiveIntent's Custom Audience (formerly branded as LiveAudiences) solution, you can onboard your audience data from a CRM or other data warehouse to create segments that you can activate across the LiveIntent exchange.

Using a secure email hash, LiveIntent can match your customer email segments to 290MM readers across 2,500+ premium publishers.


Required campaign elements for Custom Audience 

To get started, you need: 

  1. The customer list, which can be provided in a variety of formats:
    • A list of hashed emails from your CRM or CDP in MD5, SHA1, or SHA256 format.
    • A list of DMP cookies.
    • A list of mobile ad ids to represent your mobile app customers.
    • A list of DSP cookies. We can easily accept cookies from MediaMath, Trade Desk, Adobe, and AppNexus.
  2. Standard IAB image assets (You can find the full list of what ad formats LiveIntent accepts here).
  3. Your campaign budget
  4. Your campaign flight dates (when the campaign will begin and end)
  5. A landing page URL


Preparing your data from CRM file

1. Create your segments

We can target multiple segments for your campaign. Simply separate this information into the segments you want to reach.

Segment Examples: Non-openers, non-clickers, inactive subscribers and recent purchasers

2. Format
You'll need to first format the email addresses. Remove any extra characters and whitespace, and make sure the email addresses are all in lowercase.

Correct Format:

Incorrect Formats: or <>

3. Hash your email list  
You can use any number of tools, such as AWK and PHP (see below), to hash your list. You can also ask your ESP to provide you your customer segments as hashes or use the HashIt app For privacy and data security reasons, LiveIntent employees cannot accept raw email lists from our customers. Likewise, we cannot hash raw email addresses for clients. 
4. Save the hashed file
Save the file(s) as .txt or .csv with a newline separator between each email or hash.
5. Deliver
In Campaign Manager, navigate to the "Audiences" tab and select "Upload Audience File". Fill out the required fields and add your file to the upload field. When you're done, select 'Save and Exit'.
That’s it! When you send your files to LiveIntent, please provide three, unhashed email addresses that should be within your CRM file. This will help us double check that your data was formatted correctly.
Sample Hashing Commands
Awk and PHP are two tools for parsing your properly segmented and formatted email file into MD5 hashes: 
Awk Solution
Works on: most UNIX-based machines (Mac/Linux)
Example input file name: emails.csv
Example output file name: md5.csv 
Linux computer: 
cat emails.csv | awk ‘{command=”printf %b “$1” | md5sum”; 
command | getline $1; close(command); print $0}’ | cut -f 1 
-d “ “ > md5.csv 
Mac computer: 
cat emails.csv | awk ‘{command=”printf %b “$1” | md5”; 
command | getline $1; close(command); print $0}’ | cut -f 1 
-d “ “ > md5.csv
PHP Solution 
Works on: device with PHP installed (all Macs come with PHP) PHP script for parsing a file and outputing MD5 hashes for each line in the file:
if ($argc < 2 || !is_readable($argv[1])) {
die(‘Invalid file name specified’);
$fp = fopen($argv[1], ‘r’); 
while ($line = fgets($fp)) {
echo md5(trim($line)) . “\n”;
Assuming you have saved it as md5.php, you would simply run it with the following command:
php md5.php emails.csv > md5.csv

Sending your data from a DMP or DSP

LiveIntent has direct integrations with major DMPs and can also accommodate ad hoc requests for data transfers from DSPs. Please visit How to Activate Your Audience Files and reach out to your LiveIntent account manager with any questions.

Was this article helpful?
0 out of 1 found this helpful
Powered by Zendesk