The Trade Desk First-Party Advertiser Data
Datafly Signal uploads first-party CRM and audience data to The Trade Desk server-to-server for identity resolution, audience building, and enhanced campaign targeting via UID2.
Prerequisites
Before configuring The Trade Desk First-Party Data in Signal, you need a Trade Desk account with access to the First-Party Data API and a secret key generated for authentication.
Create a Trade Desk Account
- If you don’t already have one, contact The Trade Desk to set up an advertiser account.
- Once provisioned, log in to the Trade Desk platform at desk.thetradedesk.com.
- Complete any onboarding steps required by your Trade Desk representative.
Get Your Advertiser ID
- In the Trade Desk platform, click on your account name in the top-right corner.
- Navigate to Advertiser Settings (or Advertiser Preferences).
- Note your Advertiser ID — a short alphanumeric string (e.g.
abcde12).
Your Advertiser ID is also visible in the URL when viewing your advertiser settings. It is the same ID used across all Trade Desk integrations.
Generate a Secret Key for First-Party Data API
- In the Trade Desk platform, navigate to Data > First-Party Data.
- Click API Access or Generate Secret Key.
- Copy the Secret Key immediately — it will only be shown once.
- Ensure your account has permissions for the First-Party Data API (contact your Trade Desk representative if this section is not visible).
Store the secret key securely. If you lose it, you will need to generate a new one. The secret key is used to authenticate all First-Party Data API requests.
Configure in Signal
Now that you have your Advertiser ID and secret key, configure the integration in Signal.
Configuration Fields
| Field | Required | Description |
|---|---|---|
advertiser_id | Yes | Your Trade Desk Advertiser ID. Found in the Trade Desk platform under Advertiser Settings. |
secret_key | Yes | Secret key for authenticating first-party data uploads. Generated in the Trade Desk platform under Data > First-Party Data. |
Management UI Setup
- Go to Integrations > Add Integration > The Trade Desk First-Party Advertiser Data.
- Enter your
advertiser_idandsecret_key. - Select consent categories (typically
advertising). - Click Save.
Management API Setup
curl -X POST http://localhost:8084/v1/admin/integrations \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"source_id": "src_abc123",
"vendor": "the_trade_desk_firstparty",
"name": "TTD First-Party Data Production",
"enabled": true,
"config": {
"advertiser_id": "abcde12",
"secret_key": "sk_ttd_abc123..."
},
"consent_categories": ["advertising"]
}'Event Mapping
| Datafly Event | Trade Desk Action | Notes |
|---|---|---|
_df.identify() with traits | First-party data upload | Email, phone, and other PII are hashed and uploaded for identity resolution. |
Order Completed | Audience segment enrichment | Purchase data is associated with the user’s UID2 identity. |
Product Viewed | Interest signal | Product interest data for audience building. |
| Custom events | Custom audience attributes | Event properties can be mapped to custom audience attributes. |
Identity Resolution via UID2
The Trade Desk uses UID2 (Unified ID 2.0) for identity resolution. When you send user data via _df.identify(), Signal hashes and uploads the data to The Trade Desk’s First-Party Data API, which resolves it to UID2 tokens for audience targeting.
_df.identify("user-123", {
email: "[email protected]",
phone: "+44 7700 900123"
});All PII hashing is performed server-side by the Delivery Worker before the data leaves your infrastructure. Raw PII is never sent to The Trade Desk.
Testing Your Integration
Step 1: Send a Test Identity Event
- Call
_df.identify()with a test user’s email or phone number. - Check the Signal event debugger in the Management UI to confirm the event was captured and delivered.
Step 2: Verify in The Trade Desk
- In the Trade Desk platform, go to Data > First-Party Data.
- Check that data segments are being populated.
- It may take up to 24 hours for first-party data to appear in audience segments.
Step 3: Build an Audience
- Navigate to Audiences in the Trade Desk platform.
- Create a new audience segment using your first-party data.
- Verify that the audience size reflects the data uploaded via Signal.
Troubleshooting
| Problem | Solution |
|---|---|
| Data not appearing in The Trade Desk | Verify the advertiser_id and secret_key are correct. Check that the secret key has not been rotated. |
| Authentication errors | Regenerate the secret key in the Trade Desk platform under Data > First-Party Data and update Signal. |
| Audience segments empty | First-party data may take up to 24 hours to process. Ensure you are sending identity data via _df.identify(). |
Permission denied error | Ensure your account has First-Party Data API access. Contact your Trade Desk representative. |
| Low match rate | Send both email and phone number for higher UID2 match rates. Ensure data is normalised (lowercase, trimmed). |
Visit The Trade Desk First-Party Data documentation for full API documentation and credential setup instructions.