Skip to main content

Overview

The Trade Desk connector exports a dataset from the Decentriq platform directly into a first-party CRM data segment in your own Trade Desk seat, where you can target it in your campaigns.

The dataset is uploaded as SHA-256 hashed emails. The Trade Desk resolves these to UID2 or EUID on its side through its CRM Data Onboarding Service, so no additional identity resolution is needed.

Hashed emails are the only identifier type the connector supports. Phone numbers, mobile advertising IDs, UID2 or EUID values, Trade Desk IDs and other identifiers cannot be exported with it.

Prerequisites

  • Have the Trade Desk connector enabled for your organization on Decentriq. If it is not available, reach out to your customer success manager or email support@decentriq.com.
  • Have an existing Trade Desk seat with an advertiser enabled for first-party (CRM) data.
  • Have signed The Trade Desk's UID agreement.
    • Hashed emails are directly identifiable IDs, and The Trade Desk only accepts them from advertisers and partners who have signed this agreement. Contact your Trade Desk account manager to arrange it.
  • Have your advertiser secret key.
    • This is issued by your Trade Desk Technical Account Manager. Once issued, the decoded key is shown on your advertiser preferences page in The Trade Desk. It is encrypted in your browser so that only the enclave can read it, and the enclave uses it to sign each request to The Trade Desk. Decentriq never sees it.
  • Have your Advertiser ID to hand.

Preparing the dataset

The dataset must be a single-column file with no header row — one identifier per line and nothing else.

Each value must be the SHA-256 hash of a normalised (trimmed, lower-cased) email address, in the usual hexadecimal form, in upper or lower case. Decentriq converts it to the Base64 encoding The Trade Desk expects as part of the export, so no re-encoding is needed on your side. Values that are already Base64-encoded SHA-256 hashes are accepted as they are.

Blank lines are skipped. Every other line must be a valid hash: a single malformed line fails the whole export before anything is sent to The Trade Desk, so no partial audience is uploaded and no empty segment is created.

Note: The Trade Desk requires at least 1,500 unique members before a segment becomes targetable. Each export must contain at least that many unique hashed emails; one below the threshold fails without creating a segment. Duplicates count once, including the hexadecimal and Base64 forms of the same hash.

Step-by-step guide

  1. Follow the steps to select a dataset for export and choose The Trade Desk from the list of connectors.
  2. Input the requisite information:
    • Advertiser secret key: The decoded secret key from your advertiser preferences page in The Trade Desk.
    • Advertiser ID: The ID of the advertiser that will own the segment.
    • Segment name: The name the segment appears under in your seat. Exporting again under the same name refreshes that segment; a different name creates a new one. A segment keeps the region it was created with, so to change the region, export under a new name. If several segments in your seat share the name, the export fails rather than guessing which to update.
    • Region: Where the personal data originated (Europe, United States, or Asia-Pacific). Europe is required for EUID resolution.
    • Environment: Production, or Sandbox to validate an export against a Trade Desk sandbox seat first. A sandbox export needs a sandbox seat and the secret key for it.
    • Identifier type: Hashed email (SHA256).
    • Merge mode: Add to existing members keeps the members already in the segment; Replace all members discards them and keeps only this export.
    • Membership duration: How long a member stays in the segment, in days, up to 180. Leave empty to use The Trade Desk's 90-day default. A duration of 0 removes the exported members from the segment; see Refreshing and removing members before using it.
  3. After clicking the Export button, navigate to the Imports/Exports tab on the Datasets page to track the status of the export.
  4. Once completed, the data has been handed to The Trade Desk for ingestion.

    Note: The Trade Desk processes uploads asynchronously and the segment can take up to 24 hours to become targetable in your seat. The segment size The Trade Desk reports counts only members seen in bidding recently, so it is usually lower than the number of hashed emails exported.

Refreshing and removing members

Each export is a one-off upload: the segment is not refreshed automatically. The Trade Desk recommends a full re-sync at least every 30 days, so re-export to the same segment name on that cadence. Without a re-export, members expire when their membership duration lapses and the segment shrinks.

Re-export to the same segment name to refresh the audience. With Replace all members, the segment holds exactly the new export. With Add to existing members, members present in the new export have their membership renewed; members left out are not removed immediately — they keep their existing expiry and age out when their membership duration lapses.

With Add to existing members, set the membership duration to roughly twice your refresh cadence. Everyone still in the audience is renewed on each run, and anyone dropped expires within two cycles. Note that removal latency is bounded by that duration, so a 180-day membership means removals effectively never take effect.

To remove specific members straight away, export them with Add to existing members and a membership duration of 0, under exactly the same segment name. A name that matches no segment creates a new, empty one instead. The 1,500 unique member minimum applies to this export too, so to remove fewer members than that, re-export the audience without them using Replace all members.

danger

If a duration of 0 removes every member of a segment, The Trade Desk may delete the segment itself. To start over with a different audience, export it with Replace all members instead.

Troubleshooting

Open a failed export on the Imports/Exports tab to see why it stopped. The most common errors are:

  • "Input is not a single column of EmailHashedUnifiedId2 values": a line in the dataset has more than one column, is not a SHA-256 hash, is longer than 1 KB, or is not valid UTF-8. The message names the first such line. Fix the dataset and export again; nothing was sent to The Trade Desk.
  • "The Trade Desk requires at least 1500 unique members": the dataset has fewer unique hashed emails than the minimum. No segment was created.
  • "The Trade Desk rejected the request signature; check the advertiser secret key": the secret key does not match the advertiser, or belongs to the other environment. Copy the decoded key from your advertiser preferences page again, and check that Environment matches the seat it came from.
  • "The Trade Desk refused the request; check that the advertiser is enabled for first-party data and has signed the UID agreement": the key is valid, but The Trade Desk does not allow this advertiser to upload hashed emails. Ask your Trade Desk account manager to enable first-party data upload for the advertiser and to confirm the UID agreement is in place.
  • "The advertiser has N segments named …": several segments in your seat share the segment name. Rename or remove the duplicates in The Trade Desk, or export under a different name.
  • "The existing segment … was created for region …": the segment name belongs to a segment created for a different region. Export under a new segment name to create a segment for this region.
  • "The Trade Desk rate limited the request": Decentriq already waited and retried several times before failing. Export again later.