Commanders Act X
Platform XDocumentationWelcome to Success
  • Welcome !
  • Platform updates
    • Announcements
    • Documentation updates
    • Release notes
  • Getting started
    • How the platform works
      • Glossary
        • Condensed platform concepts
    • Platform interface
      • Prod and Testing environments
      • Productivity tools
        • Commander's AI
    • Integrating your data
      • GTM Tutorial
      • OneTag Tutorial
      • Migration guides to the Platform X
        • Migrate from SSv1 to SSv2
          • Send data to serverside v2
            • Purchase event example (ssv1 to ssv2)
        • Migrate from old mobile sdk
  • Features
    • Sources
      • Sources Overview
      • Sources Catalog
        • Web
          • Web container
            • User guides for browser-side platform
              • Container
                • Hosting
                • Creation and modification
                • Generation
                • Testing
                • Deployment and roll back
                • Deletion
                • Statistics
                • Modification history
                • Javascript block
                • Branches
                • Plugin Commanders Act Assistant
              • Tags
                • Add tags
                • Configure tags
                • Rules
                  • Basic actions
                  • Triggers
                  • Perimeters & constraints
              • Data layer and data types
                • External variables
                • Internal variables
                • Event variables
                • Data storage
              • Deduplication
                • Setup guide
                • Setup example
                • Deduplication reports
              • TagPerformance
                • Setup guide
                • Report analysis
                • Troubleshooting
            • Setup guides for developers
              • Web container setup
              • Datalayer setup
              • Browser-side events setup
              • AMP
              • Angular
              • AngularJS
              • React
              • SPA implementation guide
              • VueJS
              • IOT & TV Apps
            • Best Practices
              • FAQ
              • Common Container Strategies
              • Common Trigger Strategies
              • Performance Optimization
              • tC.* attributes and methods
              • APIs
                • Onsite API
              • TMS & Consent banners IDs
          • Javascript SDK
            • Next.js serverside rendering
          • Pixel Tracking API
          • Google Tag Manager (GTM)
          • Shopify
        • Mobile APP
          • Android
          • iOS
          • Flutter
          • React native
        • Advertising
          • Bing Ads (cost import)
          • Facebook Ads (cost import)
          • Criteo (cost import)
          • Realytics
        • Import CRM users
          • API users
          • Users file importer
        • Import conversions
          • API Conversions and Product catalog
          • Conversions files importer
        • Product catalog
          • Product catalog files importer (FTP)
        • Server
          • HTTP tracking API source
            • (deprecated) HTTP tracking API source 1.0
          • Node.JS
          • Python
          • PHP
      • Source Live Event Inspector
      • Source data quality
    • Destinations
      • Destinations overview
        • Automatic Audience replay
      • Destinations catalog
        • AbTasty
        • Actito
        • Adform
        • Adobe
          • Adobe Analytics
          • Adobe Campaign
        • AdRoll
        • Adition
        • Adventori
        • Affilae
        • Alphalyr Marketing Studio
        • Amazon
          • Amazon Ads Conversions API
          • Amazon S3
        • Attraqt
        • Awin
        • Batch Audience
        • Branch Events
        • Button
        • Campaign Analysis Legacy
        • Commission Junction
        • Criteo
          • Criteo - Events
          • Criteo (audiences)
          • Criteo (offline conversions)
        • Data Activation Legacy
        • Dataventure
        • Destination Logs Exporter (closed beta)
        • Dialog-Mail
        • Dynamic Yield
        • Easyence
        • Effinity
        • Eloqua
        • Emarsys
        • Email export
        • Equativ Audience
        • Experian
        • Facebook
          • Facebook Conversions API
            • Facebook CAPI through GTM
            • Performance tab (Event Match Quality)
          • Facebook Custom Audiences
          • Facebook Lead Ads
        • FTP
        • Gamned
        • Google
          • Google Analytics 4
            • Google Analytics 4 - Proxy Mode
          • Google BigQuery
          • Google Conversion Adjustments
          • Google Customer Match
          • Google Display & Video 360
          • Google Enhanced Conversions
          • Google Enhanced Conversions for Leads
          • Google Floodlight Mobile App Conversion
          • Google Search Ads 360 Enhanced Conversions
          • Google Store Sales Direct
        • IBM
        • Inxmail
        • IntelliAd
        • Jellyfish
        • Kameleoon
          • Kameleoon Audience
          • Kameleoon Events
        • Kelkoo
        • Kwanko
        • LinkedIn Conversions API
        • Liveramp
        • Magento
        • Marin Software
        • Mapp
        • Matomo
        • MediaMath
        • Microsoft Advertising Universal Event Tracking
        • Mindlytix
        • Moebel
        • Nextdoor Conversion API
        • OXID
        • Optimizely
        • Outbrain
        • Partnerize
        • Piano Analytics
          • Piano Analytics Collection API
          • Piano Analytics Enrichment API
        • Pinterest
        • Piwik PRO
        • Prediggo
        • Qlik
        • Quantcast
        • Quora Ads Conversion API
        • Rakuten
          • Rakuten Audience
          • Rakuten Events
        • Realytics
        • Reddit Conversions API
        • Responsys
        • RhythmOne
        • Rich Relevance
        • RTB House Audience
        • Salesforce
          • Salesforce Audience Studio
          • Salesforce Marketing Cloud
          • Salesforce Commerce Cloud
        • SAP Commerce Cloud
        • Selligent
        • Skai
        • Smart Adserver
        • SmartFocus
        • Snapchat Conversions API
        • Splio
        • Syte
        • Tableau Online
        • Taboola
          • Taboola Audience
          • Taboola Events
        • Target2sell
        • Temelio
        • Teradata
        • The Trade Desk
          • The Trade Desk Conversions API
          • The Trade Desk Audience
        • TikTok
          • TikTok Events API
          • TikTok Offline Events
        • TimeOne
        • Tradedoubler
        • TradeTracker
        • X (Twitter) Conversion API
        • Xandr
        • Webhook
        • Webtrends
        • ZBO Media
        • Zeta
      • Destination builder
        • Javascript destination builder
          • Tutorial - How to build a server destination with the JS sandbox
          • Serverside javascript helpers
      • Destination filters
      • Mapping and Properties transformation
      • Event delivery
      • Destination event inspector
      • Dry mode (lab)
    • Enrichments
      • Augmented User Attributes
        • Business case
      • Events enrichment
      • Storage Settings
    • Data Quality
      • Event Specification
      • Sources data quality
      • Data cleansing
        • Supported transformation functions - Data cleansing
          • Format a date
    • Identity resolution
      • Migrate from Fuse v1 to Fuse v2
    • Customers
      • Segment
        • Segment overlap
        • Segment stats
    • Explore
      • Campaign analysis
        • Attribution
        • Control Group (Closed Beta )
      • User analysis
        • Dashboards
      • Consent Analysis
    • Consent management
      • Responsability of actors
      • Setup Guides
        • Tag Manager
          • Commanders Act TMS
          • Google Tag Manager (GTM)
          • Google Tag Manager (GTM) - Consent Mode
          • Google Consent Mode in Commanders Act CMP
          • Adobe Launch
        • Websites (Hardcoded)
        • FR : Suppression des cookies lors du retrait du consentement
        • Mobile apps
          • iOS
            • ATT - App Tracking Transparency (iOS 14.5+)
          • Android
      • User Guides
        • Categories & Tags
          • Manage Categories
          • Manage Vendors
          • Assign Categories
        • Privacy Banners
          • Banner Templates
            • Accessibility Template
          • Manage Banner
          • Deploy Banner
          • Copy Banner
        • Consent Analysis
        • Exports
        • Settings
      • Extensions
        • Cookie Scanner
        • Piggybacking
        • Tag Firewall
      • Marketing Preferences Center (additional module)
      • Knowledge Base
        • Consent Object
        • Consent cookies exemption
          • Implementation guide for exempted consent statistics FR market
        • Consent Cookie
        • IAB TCF V2.2 Release details
          • IAB TCF v2.2 CMP requirements
          • IAB TCF v2.2 Migration guide Web
          • IAB TCF v2.2 Migration guide App
        • IAB TCF V2.2 Consent
        • IAB TCF V2.2 and Google FAQ
        • Google ACM requires IAB TCF
        • CCPA & Global Privacy control
      • Rest Data API
        • GET/PUT Consents / preferences
      • OnSite API
        • Getting Started
        • consent.get
        • consent.update
        • consent.revoke
        • consent.onUpdate
        • consent.onReady
        • consentBanner.show
        • consentBanner.hide
        • consentCenter.show
        • consentCenter.hide
      • Platform API
        • Get statistics
  • Use cases
    • Data activation
      • Engage new customers
        • Welcome banner for new customers
        • Real-time promotion for hesitant customers
        • Discount banner for installing the application
        • Personalized ads
        • Engage similar audience (lookalike)
      • Increase loyalty
        • Drive to favourite store
        • Increase Customer Lifetime Value with a loyalty program
        • Notification about order delay
      • Increase revenue
        • Abandoned cart
        • Products recommendations
        • Complementary product offer
      • Retain customers
        • Identify a churn risk with RFM segmentation
        • Identify customers’ preferred channel
        • Contact with the customer support
      • Advocacy
        • Incentive to share customers' experience and rating
        • Sponsorship Program
        • Social Media Hashtag
    • Website performance
    • Consent banners A/B testing
    • Customer analysis
    • Campaigns performance analysis
  • Developers
    • Tracking & Integrations
      • Tracking
        • About events
          • E-commerce/retail events
          • Web event specificity
          • Mobile App event specificity
        • Events reference
          • Common events
          • E-commerce events
          • Video events
          • Campaign Tracking events
        • Properties reference
          • Global properties
          • Video properties
          • Permanent properties
        • Data API
          • HTTP API
          • Segment API
          • User API
          • Product catalog and conversion API
      • Server IP Whitelisting
    • Config API
    • Changelogs
      • Measure.js changelog
      • Web container generator
    • Content Security Policy
  • CONFIGURE
    • Data Management
      • Events collection
      • Data retention duration
      • Data Governance
    • Administration
      • User management
      • Domain Management
        • WAF Proxy (CloudFlare,...)
        • A record
        • CNAME record
        • On-Premise Proxy
        • Cookie CAID
        • First party hosting
        • First-Party Tag Hosting
      • Single Sign-On
      • Two-factor authentication (2FA)
      • Copy Management
    • Cookies
      • Cookie 1st
      • Cookie sync partners
      • First domain tracking (Phoenix)
    • Disclaimer
Powered by GitBook
On this page
  • Key features
  • Destination setup
  • Configuration
  • Quick reference
  • Field mappings

Was this helpful?

Edit on GitHub
Export as PDF
  1. Features
  2. Destinations
  3. Destinations catalog
  4. The Trade Desk

The Trade Desk Conversions API

PreviousThe Trade DeskNextThe Trade Desk Audience

Last updated 4 months ago

Was this helpful?

is one of the largest independent demand-side platform (DSP) providing real-time ad pricing and placement for advertisers, ad agencies and brands. Using this destination, you can leverage to send events via server-side hits.

Key features

The Trade Desk destination provides the following key features:

  • Events structure: our model matches , meaning that your data is properly bridged to the expected fields in an optimized way.

  • Prebuilt mappings: data mapping for event-based destinations happens automatically, which simplifies user inputs.

  • Smart mapping: data mapping can be readjusted using your datalayer defined fields.

  • Event mapping: change standard mapping between your partners' events and yours or add new mappings.

  • Support for multi-item data: information included in the array is dispatched to The Trade Desk.

Destination setup

On user identifiers, you should pass either User/Device ID Type AND User/Device Identifier OR "Smart Mapping" fields like Device Mobile Identifier , The Trade Desk GUID , Encrypted UID2 token , Encrypted EUID token , RampID but not both.

Configuration

Settings
Description

TTD Conversion API URL

Required Your TTD Conversion API URL. Default: "https://insight.adsrvr.org/track/realtimeconversion".

Tracking Tag Type

Required Choose the type of tracking tag. This is either Event Tracking or URL Mapping (page views).

Merchant Id

Required for Event Tracking [1] The platform identifier of the merchant assigned by The Trade Desk to the merchant during the onboarding process.

Event Tracker Id

Required for Event Tracking [1]

The Trade Desk platform identifier of the event tracker.

Advertiser Id

Required for URL Mapping (page views) [1] The Trade Desk platform identifier for the advertiser on whose behalf the tracking call is made.

Universal Pixel Id

Required for URL Mapping (page views) [1] The Trade Desk platform identifier of the "Universal Pixel".

User/Device ID Type

The type of the advertising identifier, specified in the User/Device Identifier. Supported values: TDID, IDFA, AAID, DAID, NAID, IDL, EUID, or UID2.

User/Device Identifier

TTD TDID Cookie Name

The first party cookie in which you stored the TTD TDID cookie value. This is used when no value can be retrieved from the fieldUser/Device Identifier. Default value: "ttd_TDID".

Custom Event Properties

Map your custom event properties by setting their field names in The Trade Desk property name and adding the field name holding the values in Your value . E.g. if you input size in the The Trade Desk property name and items.0.product.size [2] in Your value , you will have a custom event property in The Trade Desk called size with a value based on the content of the field items.0.product.size .

Event Mapping

Quick reference

Commanders Act Events
The Trade Desk Events

add_to_cart

addtocart

add_to_wishlist

wishlistitem

begin_checkout

startcheckout

login

login

page_view

sitevisit

purchase

purchase

search

searchitem

view_cart

viewcart

view_item

viewitem

[Any Event]

[Any Event] [1]

Field mappings

Most properties can be remapped using our "Smart Mapping" feature. All The Trade Desk properties on the right column are set in the object data.0 .

The following The Trade Desk properties can be set if Device OS, in the "Smart Mapping", is present with supported values:

  • aaid

  • idfa

  • naid

Commanders Act Properties
The Trade Desk Properties

Merchant Id

merchant_id [*]

Event Tracker Id

tracker_id [*]

Advertiser Id

adv [*]

Universal Pixel Id

upixel_id [*]

User/Device ID Type

adid_type

User/Device Identifier

adid

event_name [1]

context.device.advertising_id

daid [2] aaid [3] idfa [4] naid [5]

partners.ttd.tduid

tdid [6]

partners.ttd.uid2_token

uid2_token [7]

partners.ttd.euid_token

euid_token [8]

partners.ttd.idl

idl [9]

user.country

country

user.state

region

user.metro

metro

user.city

city

user.zipcode

zip

context.device.ip

client_ip

context.page.url

referrer_url

id

order_id

value

value

currency

currency

partners.ttd.iattr

iattr [10]

partners.ttd.imp

imp [11]

partners.ttd.ivtc

ivtc [12]

partners.ttd.privacy_type

privacy_settings.0.privacy_type [13]

partners.ttd.is_applicable

privacy_settings.0.is_applicable [14]

partners.ttd.consent_string

privacy_settings.0.consent_string [15]

items.X.id

items.X.item_code

items.X.product.name

items.X.name

items.X.quantity

items.X.qty

items.X.product.price

items.X.price

items.X.product.category_id

items.X.cat

Custom Event Properties

[Custom Property Name] [16]

The unique advertising identifier for the event. This can be any of the identifiers as specified in the following (See adid property).

Change the between The Trade Desk's events and yours or add new mappings.

[1] Seefor more details. [2] Using "dots" (".") you can navigate deeper to the specific field you want to get the value of. See for more details on the standard field names by event. You can also freely set custom fields: there are no boundaries.

Using the you can change the between The Trade Desk's events and yours or add new mappings.

[1] See for more details.

See

[*] See for more details on mandatory properties. [1] See for more details. [2] The device advertising identifier for Android, iOS or Windows device. [3] The device advertising identifier for Android device. This is only set if Device OS "Smart Mapping" field is set with Android (case insensitive). [4] The device advertising identifier for iOS device. This is only set if Device OS "Smart Mapping" field is set with iOS (case insensitive). [5] The device advertising identifier for Windows device. This is only set if Device OS "Smart Mapping" field is set with Windows (case insensitive). [6] The Trade Desk 36-character GUID (including dashes) for this user. [7] The encrypted UID2 token, also known as an advertising token. This token is case-sensitive. Tokens are generated and managed using UID2 APIs. More details on the UID2 API/endpoints are available following this . [8] The encrypted EUID token, also known as an advertising token. This token is case-sensitive. More details on the Unified IDs are available following this . [9] The 49-character or 70-character RampID (previously known as IdentityLink). This must be a RampID from LiveRamp that is mapped specifically for The Trade Desk. More details about mapping a RampID are available following this . [10] A flag that indicates whether the event is attributed to The Trade Desk. If set to true (boolean), The Trade Desk attributes the event to the specified impression identifier (See data.0.imp ), bypasses The Trade Desk attribution models, and aligns attribution results with those delivered by the partner to advertisers. [11] A 36-character string (including dashes) that serves as the unique identifier for the impression to which the event is attributed. [12] A flag that indicates whether the event is a view-through conversion. [13] This can be one of the following:GDPR,CCPAorGPPdepending on the privacy regulation that applies. This is only included if is_applicable and consent_string are also set. More details are available by following this . [14] Indicates if the value specified in privacy_type is applicable. This either true (or 1 ) or false (or 0 ), boolean or integer type. This is only included if privacy_type and consent_string are also set. More details are available by following this . [15] The user's TCF consent string. This is only included if privacy_type and is_applicable are also set. More details are available by following this . [16] See Custom Event Properties in for more details on how you can bridge custom properties to The Trade Desk.

The Trade Desk
The Trade Desk Real-Time Conversion Events API
Events reference
The Trade Desk's events
item
Tracking Tag Type
Events reference
Event Mapping
standard mapping
Event Mapping
Configuration
Event Remapping
LINK
LINK
LINK
LINK
LINK
LINK
Configuration
LINK
standard mapping
Quick reference