Skip to main content
Before delivering audience data to a connector, you need to structure your data in datasets. This guide covers three common strategies for organizing your data, with recommendations for when to use each approach.

Prerequisites

Before you begin:
  • You have data with deliverable identifiers (hashed email, hashed phone, or mobile ad IDs)
  • Your identifiers are properly formatted and hashed (see Hashing PII for Upload)
  • You understand which identifiers your destination requires (see Data Activation Overview)

Strategy 1: One dataset per audience

Create a separate dataset for each audience you want to deliver. The dataset name and description correspond directly to the audience.

Dataset structure

Example data:

When to use this strategy

If your audience creation happens in external systems (CRM, CDP, marketing automation), then export each audience as a separate file for upload.
If you have automated pipelines that create datasets via the SDK, creating a new dataset per audience is straightforward.
If audiences don’t change often, managing them as separate datasets keeps things simple.

Advantages

  • Simplicity: Each dataset maps directly to one audience
  • Clear ownership: Easy to track which dataset powers which audience
  • Selective updates: Update only the audiences that have changed

Considerations

  • Requires creating a new dataset for each new audience
  • Can become difficult to manage with hundreds of audiences
  • Duplicated records across datasets if users belong to multiple audiences

Strategy 2: Master dataset with audience identifiers

Maintain a single dataset containing all audience members, with columns that identify which audience each record belongs to.

Dataset structure

Example data:

Delivering specific audiences

Use NQL to filter for a specific audience when delivering:

When to use this strategy

Append new rows to a single dataset instead of managing uploads across many datasets.
Adding a new audience is as simple as appending rows with a new audience_id.

Advantages

  • Centralized management: One dataset to maintain
  • Easy audience additions: New audiences are just new rows
  • Efficient updates: Append new data without managing multiple datasets

Considerations

  • Requires NQL filtering to extract specific audiences
  • Larger dataset size may affect query performance
  • Need to maintain unique audience IDs

Strategy 3: Raw data with dynamic audience creation

Upload a master dataset with all available customer attributes, then use NQL to define audiences dynamically based on any attribute combination.

Dataset structure

Example data:

Creating audiences with NQL

Define audiences on-the-fly using any attribute combination: High-income females:
Recent high-value customers:
Age-based segments:

When to use this strategy

Create any audience segment without re-uploading data or pre-defining audiences.
Send data to Narrative with minimal transformation and let the platform handle segmentation.
Quickly iterate on audience criteria without modifying source data.

Advantages

  • Maximum flexibility: Define any audience criteria without changing data
  • Minimal preprocessing: Upload raw data, segment later
  • Rapid iteration: Test new audience definitions instantly

Considerations

  • Requires familiarity with NQL for audience creation
  • Complex queries may take longer to execute on large datasets
  • Attribute data must be normalized consistently

Choosing a strategy

You can combine strategies. For example, use Strategy 3 for your core customer data while maintaining Strategy 1 datasets for specialized audiences from external sources.

Next steps

After structuring your data:
  1. Normalize your data: Map your fields to Rosetta Stone attributes so connectors recognize your identifiers
  2. Configure your connector: Install and configure the connector for your destination platform
  3. Deliver your audiences: Use the connector to push your data to the destination

Data Activation Overview

Understand how connectors deliver data to destinations

Datasets

Learn about dataset structure and management

Filtering & Transforming

NQL basics for filtering audience data

Managing Datasets

Create and manage datasets with the SDK