You can send segment taxonomy and user profile data from Treasure AI to Equativ by exporting CSV files to the Google Cloud Storage (GCS) buckets provided by Equativ. This integration uses the Google Cloud Storage Export V2 connector and Equativ's batch file synchronization service.
Equativ ingests the files automatically once they land in the assigned bucket, so you can drive segment definitions and profile membership from your Treasure AI parent segments and Audience Studio activations.
For the upstream Equativ specification, see Sync Segments and Profiles - Batch File.
- Basic knowledge of Treasure AI, including TD Toolbelt.
- An Equativ account with batch file synchronization enabled.
- The GCS service account credentials (JSON key) and target bucket name supplied by your Equativ representative.
- A query or Audience Studio segment whose result set produces the columns required by Equativ.
Equativ provisions different buckets for taxonomy versus profile uploads, and per environment (sandbox/production) and region (US, EU, APAC). Confirm the exact bucket name with Equativ before configuring the connection. Examples:
- Taxonomy:
taxonomy_importer_audience_prod,taxonomy_importer_audience_sandbox - Profile:
profile_importer_audience_us_prod,profile_importer_audience_eu_prod,profile_importer_audience_apac_prod
If your security policy requires IP whitelisting, you must add Treasure Data's IP addresses to your allowlist to ensure a successful connection.
Please find the complete list of static IP addresses, organized by region, at the following document
Equativ requires CSV files with the following characteristics:
| Property | Value |
|---|---|
| Format | CSV |
| Delimiter | Pipe character (|) |
| Encoding | UTF-8 |
| Case sensitivity | Column values are case sensitive |
| Header row | Optional. If included, headers must match Equativ column names exactly (for example, UserID, SegmentToAdd). |
| File type detection | Determined by the destination bucket. Upload taxonomy files to the taxonomy bucket and profile files to the profile bucket for your region. |
Use the taxonomy file to register or update segment definitions in Equativ.
| Column | Required | Type | Description |
|---|---|---|---|
SegmentId | Yes | string (≤200 chars) | Unique segment identifier in your taxonomy. |
Name | Yes | string (≤200 chars) | Human-readable segment name. |
IsActive | Yes | boolean | 1 to enable the segment, 0 to disable. Default 1. |
IsSelectable | Yes | boolean | 1 if the segment is selectable in Equativ UI. Default 1. |
Price | Yes | float | CPM price applied to the segment. Default 0. |
TTL | Yes | integer (minutes) | Segment time-to-live in minutes. Default 43200 (30 days). |
ParentSegmentId | No | string | Parent segment for hierarchical taxonomies. |
Description | No | string (≤255 chars) | Optional segment description. |
Use the profile file to add, remove, or replace segment memberships for individual users.
| Column | Required | Description |
|---|---|---|
UserID | Yes | User identifier. Equativ supports cookie ID, mobile advertising ID (MAID), publisher provided ID, alternative IDs, IP address, or postal code. |
SegmentToAdd | Conditional | Comma-separated list of SegmentId values to add for this user. Example: 123,456. |
SegmentToRemove | Conditional | Comma-separated list of SegmentId values to remove for this user. |
SegmentToSet | Conditional | Comma-separated list of SegmentId values that replaces the user's current memberships. |
Equativ retains profile records for 14 days. This 14-day profile record retention is separate from the per-segment TTL column in the taxonomy file. Schedule your profile exports to run more frequently than this retention period to keep memberships fresh.
- Open Treasure Console.
- Navigate to Integrations Hub > Catalog.
- Search for and select Google Cloud Storage V2.
- Select Create Authentication.
- Select JSON Keyfile as the authentication method and paste the service account JSON key supplied by Equativ.
- Type a name for your connection (for example,
equativ-batch-file). - Select Continue.
For full GCS authentication options including Workload Identity Federation, see the Google Cloud Storage Export V2 Integration documentation.
Your query must produce the exact columns and value formatting expected by Equativ. Use a pipe (|) delimiter and emit comma-separated lists where required.
SELECT
segment_id AS "SegmentId",
segment_name AS "Name",
CAST(is_active AS INTEGER) AS "IsActive",
CAST(is_selectable AS INTEGER) AS "IsSelectable",
CAST(price AS DOUBLE) AS "Price",
CAST(ttl_minutes AS INTEGER) AS "TTL",
parent_segment_id AS "ParentSegmentId",
description AS "Description"
FROM equativ_taxonomyThe example below converts arrays of segment IDs into the comma-separated format that Equativ expects.
SELECT
user_id AS "UserID",
ARRAY_JOIN(segments_to_add, ',') AS "SegmentToAdd",
ARRAY_JOIN(segments_to_remove, ',') AS "SegmentToRemove",
ARRAY_JOIN(segments_to_set, ',') AS "SegmentToSet"
FROM equativ_profile_updates
WHERE TD_INTERVAL(time, '-1d/now')When you configure the export, set Delimiter to | so that comma-separated segment lists inside SegmentToAdd and similar columns are not split across columns.
You can export the result of either a Data Workbench query or an Audience Studio activation.
- Complete the steps in Creating a Destination Integration.
- Navigate to Data Workbench > Queries and open the query that produces the Equativ-formatted result set.
- Run the query to validate the output.
- Select Export Results and select the Equativ Google Cloud Storage authentication you created.
- Configure the integration parameters as described below.
- Select Done and run the query.
You can also send segment data to the target platform by creating an activation in the Audience Studio.
- Navigate to Audience Studio.
- Select a parent segment.
- Open the target segment, right-mouse click, and then select Create Activation.
- In the Details panel, enter an Activation name and configure the activation according to the previous section on Configuration Parameters.
- Customize the activation output in the Output Mapping panel.

- Attribute Columns
- Select Export All Columns to export all columns without making any changes.
- Select + Add Columns to add specific columns for the export. The Output Column Name pre-populates with the same Source column name. You can update the Output Column Name. Continue to select + Add Columnsto add new columns for your activation output.
- String Builder
- + Add string to create strings for export. Select from the following values:
- String: Choose any value; use text to create a custom value.
- Timestamp: The date and time of the export.
- Segment Id: The segment ID number.
- Segment Name: The segment name.
- Audience Id: The parent segment number.
- + Add string to create strings for export. Select from the following values:
- Set a Schedule.

- Select the values to define your schedule and optionally include email notifications.
- Select Create.
If you need to create an activation for a batch journey, review Creating a Batch Journey Activation.
When you configure the activation, point it at the Equativ GCS authentication and use the same integration parameters described in the next section.
| Parameter | Required | Recommended Value | Description |
|---|---|---|---|
| Bucket | Yes | The bucket supplied by Equativ for your file type, environment, and region. | For example taxonomy_importer_audience_prod for taxonomy uploads or profile_importer_audience_us_prod for US production profile uploads. |
| File Path | Yes | <customer_folder>/taxonomy_${session_unixtime}.csv or <customer_folder>/profile_${session_unixtime}.csv | Object path including the filename. Replace <customer_folder> with the folder name assigned to you by Equativ. Use a unique filename per run (for example, the session timestamp) so that each batch is processed independently. |
| Format | Yes | csv | Equativ requires CSV. |
| Delimiter | Yes | | | Pipe character, as required by Equativ. |
| Header line? | Yes | true | Equativ accepts files with or without a header. Including a header makes operational debugging easier. |
| End-of-line character | No | LF | Either LF or CRLF is accepted. |
| Encoders / Compression | No | none | Equativ does not require compression for batch ingestion. |
For the full list of GCS V2 export parameters, see Integration Parameters for Google Cloud Storage.
Equativ processes files as soon as they appear in the bucket. To keep taxonomy and profile data current:
- Schedule the taxonomy export whenever the segment definition changes (typically daily or on demand).
- Schedule the profile export at a cadence shorter than the 14-day profile record retention period. A daily incremental export is a common pattern.
You can schedule the export by:
- Setting a Schedule on the Audience Studio activation, or
- Using a Treasure Workflow
td>task that drives the scheduled query.
- Confirm the file appears in the Equativ-managed bucket at the expected
File Path. - Open the file and verify:
- Pipe-delimited columns.
- UTF-8 encoding.
- Comma-separated
SegmentToAdd/SegmentToRemove/SegmentToSetvalues.
- Check Equativ's ingestion report or platform UI to confirm that the segment taxonomy or profile updates were applied.
If Equativ rejects the file, review the file against the File Format Overview section and confirm that you uploaded to the correct bucket for the file type, environment, and region.