In this article
A guide intended for publishers and marketers who want to upload audience segments into Permutive. This is typically user segment membership data that is non-endemic to Permutive, such as CDP subscriptions, event sign-ups, data providers, or other identifiable users.
The data import can be a one-off data dump or a periodic import.
Audience Imports consist of three main components: overarching definition of the import, definition of the taxonomy, and the actual user data files.
Currently, there are only two sources of user data that are supported: LiveRamp and Google Cloud Storage (GCS). The following document outlines the steps for GCS Import. Please follow this article for LiveRamp Imports.
Step 1: Create Import
Note: If the Imports tool is not enabled for your workspace, please reach out to your customer support team.
- Navigate to the Permutive Dashboard
- On the left-hand menu, you will see Imports, under Audiences
- On the Imports page, Click the 'Create New Import' button
- Follow all steps and create your new Import
Import Name: Use a name that differentiates the user segments from other groups of segments.
- For example, this can be a data partner or platform's name, where the data is being sent from like the CDPName_Demographics or Bombora_US.
- Upload Access Accounts: These accounts will upload data into the GCS file path. Ensure the right Google account types have been given access to upload. This is critical for step 3, methods for uploading data files.
- Read Access Accounts: This is not mandatory. These accounts will be able to read the data files in the GCS file path. Ensure the right Google account types have been given access to upload.
Data Provider Lifetime (days): Each import lifetime will default to 60 days. Lifetime is set to all segments in the import.
- To change this after creating the import please reach out to Permutive Support.
- Import Name: Use a name that differentiates the user segments from other groups of segments.
Here is a quick video on creating a new import!
Step 2: Set Taxonomy
Tip: Each Import will have it's own taxonomy. The taxonomy matches segment names to the segment IDs in the data files, which does not contain names - just ids. This is a privacy measure to ensure the segment ids are only understood in the permutive platform, not externally. The segments are legible when creating custom cohorts in the Permutive Dashboard.
- Navigate to Imports and click the specific import you would like to update
- Click 'Download Taxonomy' to download the template for the taxonomy (if no taxonomy is set) or the latest taxonomy.
Note: Every upload to the taxonomy is a full update, so the upload must contain the definition as you want it set. There are no incremental updates
- Update the taxonomy on your desktop and save it as a .csv file
- Navigate back to the Dashboard, select 'Upload Taxonomy'
- Select your file, review the changes, and update.
Note: There is a Taxonomy API available, which can set, create and delete segments. This can be found here.
Step 3: Uploading Data Files
Note: When setting up the import (Step 1), certain account types were given upload access. We will outline the typical processes for the two methods of data file uploads below, after the file requirements.
The file must be a tab-separated file. For efficiency, data files should be uploaded in compressed format. Please gzip and compress your files prior to uploading. Post compression, file names should end with a .gz extension.
Each row in your file should describe a list of segments for a specific user. The row must be in the following format:
For example, an import of four segments against a user ID would appear as a single row in the data file, with a comma-separated list of segments IDs:
Please see the Data File Format tab in the section below, for more details
1. Manual file upload
Access: Upload access has been given to Google Workspace group email addresses or user google email account access to the import. The account has to be recognized as associated with an active Google Account or Google Apps account. Using group email accounts allows you to manage user access, meaning if you want to add/remove users you do not need to reach out to us.
Suggested method: You can upload files via the Google Cloud Platform Console or command-line tool.
https://console.cloud.google.com/storage/browser/<insert file path>*
*This can be found on the information tab of the Import. Be sure to copy text after gs://
2. Programmatic file upload
Access: Upload access has been given to a service account within your GCP project, which will be used to perform uploads to Permutive.
To ensure seamless data ingestion, we impose some system limits for each file upload. If you think you will need to exceed these limits, please let us know.
|User IDs per file||10,000,000|
|Daily Data Volume||40 GB|
Creating Cohorts with Audience Import Segments
Once our support team has confirmed the cohorts are available:
1. Navigate to the 'Audience' > 'Custom Cohorts' tab in the Permutive dashboard
2. Select '+ Add Cohort'
4. Set up any first-party rules
5. Choose '+OR/+AND' and then 'Second Party' (This is a legacy name, we will be changing it shortly.)
6. Search for and select the relevant second-party cohort
7. Save the cohort
Article is closed for comments.