Manage your datasets
Create a dataset in your Bunker, by type and by source, and follow its updates.
Your goal
Bring a piece of your own data into your Bunker as a dataset, ready to be shared in a Clean Room, and keep it up to date.
Before you start
Check which dataset types and sources are available to you, and agree with your partner on the matching keys you will use. Once a dataset exists, see Share your datasets to make it available in a Clean Room.
Create a Segment dataset
Only available if you use the CDP module.
Head to the Datasets feature
Click Add Datasets
Hover Segment and select From your datamart
Search for one or multiple segments by typing their first letters
Click Validate source(s)
Update the default dataset name and expiration date if needed
Click Create dataset
A dataset created this way is automatically refreshed at regular intervals (usually every night).
Best for a one-time or occasional import, or for a partner without access to the Core CDP module.
Head to the Datasets feature
Click Add Datasets
Hover Segment and select From a file
Drag and drop a CSV file to preview its content
For each property: select whether it is a matching key, pick its type (used to generate standard dashboards), and update the default dataset name and expiration date if needed. Identifiers of your own environment, such as an account ID or a device ID, are under Private identifier - see Where each kind of identifier appears
Click Create dataset
The file holds a single column: the identifier of each user to put in the segment. For example, with hashed emails:
email_hash
6b3a55e0261b0304143f805a24924d0c1c44524821305f31d9277843b8a10f4e
e3b98a4da31a127d4bde6e43033f66ba274cab0eb7eb1c70ec41402bf6273dd8To update, click Import a new file with a CSV in the same format (same attributes), choosing Full update (replaces all previously imported data) or Incremental update (adds to existing data). The file must meet the file requirements.
Create a Segment catalog dataset
Only available if you use the CDP module.
Head to the Datasets feature
Click Add Datasets
Hover Segment catalog and select From your datamart
Search for one or multiple segments by typing their first letters
Click Validate source(s)
Update the default dataset name and expiration date if needed
Click Create dataset
A dataset created this way is automatically refreshed at regular intervals (usually every night).
A data provider, including one that does not use the CDP, can bring a whole catalog of segments into its Bunker in batch, from files, rather than segment by segment. The catalog can then be matched against a partner's segment and used to enrich user profiles.
Upload the segment taxonomy
Upload the segment taxonomy file. It is optional when you create the dataset: you can upload or update it later from the dataset settings. Each upload replaces the previous taxonomy entirely, so upload a new one whenever segments are added to or removed from the catalog.
Import the memberships
Import the membership files in Incremental mode: each row adds, updates or deletes a membership through the operation column. To start again from an empty dataset, contact your Account Manager: an authorized person resets the dataset, then you import your membership files again.
You can run the imports yourself, with a document import whose Destination type is Collaborative dataset rather than Datamart: its identifier type comes from the dataset's matching key type. Or agree the delivery of your files and the import cadence with your Account Manager, and the mediarithmics team runs them.
The segment taxonomy file
The segment taxonomy maps each segment's technical name, the one used in the membership files, to the name shown in the interface. It is a comma-separated CSV file with a header row and one row per segment.
segment_technical_name
Yes
The segment's unique identifier, used to reference it in the membership files.
name
Yes
The label shown in the interface.
description
No
A short description of the segment.
path
No
The segment's category and subcategories.
expiration_in_minutes
No
How long, in minutes, a user stays in the segment by default. 0, a negative value or an empty value means no expiration.
The membership file
A membership file says which identifiers belong to which segments. It is a CSV file with a header row and one row per identifier and segment. Every identifier is of the dataset's matching key type, so the file carries no identifier type of its own.
identifier_value
Yes
The identifier, of the dataset's matching key type.
segment_technical_name
Yes
The segment the identifier belongs to, as declared in the segment taxonomy.
expiration_ts
Yes, can be empty
A timestamp at which the membership expires, overriding the taxonomy's default for this row. A timestamp at or before 1970-01-01 is ignored, like an empty value.
expiration_duration
Yes, can be empty
A duration, in minutes, after which the membership expires, overriding the taxonomy's default for this row. 0 or a negative value is ignored, like an empty value.
operation
Yes
UPDATE to add or update the membership, DELETE to remove it.
Every membership file carries the expiration_ts and expiration_duration columns, but a row can leave them empty to keep the taxonomy's default. Fill in at most one of them on a row: setting both is an error.
A row's expiration only overrides the taxonomy's default when it holds a real value. For a segment and a row:
Taxonomy expiration_in_minutes
Row expiration_duration
The membership
0 or empty
0 or empty
Never expires
0 or empty
60
Expires after 60 minutes
1440
60
Expires after 60 minutes: the row wins
1440
0
Expires after 1,440 minutes: the taxonomy's value applies
Rows are skipped, rather than imported, when:
a mandatory value is missing,
operationis invalid, or a value is in the wrong format;segment_technical_nameis not in the segment taxonomy. Add the segment to the taxonomy, upload it again, then re-run the import.
Create a User profile dataset
A User profile dataset is created from a file. Best for a one-time or occasional import, or for a partner without access to the Core CDP module.
Head to the Datasets feature
Click Add Datasets
Hover User profile and select From a file
Drag and drop a CSV file to preview its content
For each property: select whether it is a matching key, pick its type (used to generate standard dashboards), and update the default dataset name and expiration date if needed. Identifiers of your own environment, such as an account ID or a device ID, are under Private identifier - see Where each kind of identifier appears
Click Create dataset
The file holds one column per property. For example, a hashed email with profile attributes:
To update, click Import a new file with a CSV in the same format (same attributes), choosing Full update (replaces all previously imported data) or Incremental update (adds to existing data). The file must meet the file requirements.
File requirements
Files you upload with From a file, to create or update a Segment or User profile dataset, must meet these requirements:
Format
CSV, comma delimiter only
Encoding
UTF-8
Minimum number of records
10
Maximum file size (file import)
500 MB
Enclose text values in quotation marks (") so that a value containing a comma is not read as two properties: the comma is the delimiter. Write dates in YYYY-MM-DD format.
To import a file larger than 500 MB, split it into several files smaller than 500 MB with the same columns and headers, import the first with Full update, then import the rest with Incremental update in sequence.
Import a file from cloud storage
In the managed version only, a dataset can be fed automatically from a file in your preferred cloud storage - useful for datasets with periodic updates. Contact your Account Manager to check whether your provider is supported. Once set up, an update runs automatically according to the refresh schedule you configured.
Manage and monitor a dataset
Click a dataset's name on the Datasets listing to see:
Metadata - name, creation date, creator, expiration date, number of records or users, number of Clean Rooms it is shared in, and last updated date.
Overview - every property in the dataset, its definition (matching key, type), a sample (except for identifiers), and its fill rate.
Usage - where it is shared, for what purposes, and whether it is being matched with a partner's dataset.
Update history - visibility into updates that occurred on the dataset.
Dataset and update status
Synchronization pending
Available within an hour of creation if the underlying segment was already calculated; otherwise typically by 9:00 AM CET the day after the segment is computed
Update in progress
An update is running and will be active shortly
Active
The last update completed successfully; the dataset can be shared
Active (last update in error)
The dataset can still be shared and used for matching, using the last successful update
Error
No active update exists; the dataset cannot be used
In progress
An update is running
Completed
The update finished - records with a malformed attribute or a missing matching key may not have been preserved
Error
The update failed; check the information tooltip for the cause
Troubleshooting
Why is my dataset not created? A formatting error can get your file misread or rejected. Check that:
every column has a header in the first row, following the header rules in File requirements;
commas are used consistently as the delimiter;
every row has the same number of columns;
commas and quotes inside text values are handled, for example by enclosing the value in quotation marks;
values have no leading or trailing spaces;
critical columns have no empty values;
each column keeps a single data type;
dates use the
YYYY-MM-DDformat.
For a correctly formatted file, see the examples in Create a Segment dataset and Create a User profile dataset.
Boundaries
A dataset's definition (its properties) cannot be changed once created. Update its content by importing a new file, or create a new dataset if the definition itself changed.
When a dataset reaches its expiration date, it is automatically archived: you can no longer share it into a Clean Room, but existing matching reports that used it remain accessible.
Related pages
Last updated
Was this helpful?