Send your event data from RudderStack to The Trade Desk.
5 minute read
The Trade Desk is a leading digital advertising technology platform for efficient campaign management. It offers comprehensive tools to target audiences across diverse channels like video, mobile, and display.
Specify how you want to route events from your source to The Trade Desk Real Time Conversions.
RudderStack supports sending event data to The Trade Desk Real Time Conversions via the following connection modes:
Connection Mode
Web
Mobile
Server
Device Mode
-
-
-
Cloud Mode
Supported
Supported
Supported
Event mapping
Click Set-up mapping to map your RudderStack events/properties to specific The Trade Desk Real Time Conversions events/properties. RudderStack also provides the JSON mapper to set these mappings.
Use Event tab to map the respective events:
Use Custom properties tab to map the custom properties (td1 to td10) by entering the property path from where RudderStack maps it to the corresponding The Trade Desk Real Time Conversions’ custom property:
Track
The track call lets you capture user events along with the properties associated with them.
A sample track call is shown below:
rudderanalytics.track("Product Added",{product_id:"622c6f5d5cf86a4c77358033",sku:"8472-998-0112",category:"Games",name:"Cones of Dunshire",brand:"Wyatt Games",variant:"expansion pack",price:49.99,quantity:5,coupon:"PREORDER15",position:1,url:"https://www.website.com/product/path",image_url:"https://www.website.com/product/path.webp",})
RudderStack maps the advertising ID (adid) from context.device.advertisingId if the os information is provided in context.os.name.
RudderStack maps the type of advertising ID (adid_type) as:
AAID if os’s name is android
NAID if os’s name is windows
IDFA if os’s name is ios
Sample context object:
{"app":{"build":"1.0.0","name":"RudderLabs Android SDK","namespace":"com.rudderlabs.javascript","version":"1.0.5"},"device":{"adTrackingEnabled":true,"advertisingId":"test-advertisingId","id":"test-id","manufacturer":"Google","model":"AOSP on IA Emulator","name":"generic_x86_arm","type":"ios","attTrackingStatus":3},"locale":"en-GB","os":{"name":"ios","version":""}}
If the device information is absent, you can also pass the advertising ID (adid) in the context’s externalId object:
{"externalId":[{"type":"daid","id":"test-daid"}]}
value mapping
For Product Added, Product Viewed, and Product Added to Wishlist events, RudderStack maps price*quantity to The Trade Desk Real Time Conversions’ value field.
For Order Completed, and Checkout Started events, RudderStack maps revenue/value to The Trade Desk Real Time Conversions’ value field.
items mapping
For Order Completed, Checkout Started, and Cart Viewed event events, RudderStack maps the individual products inside the products array to The Trade Desk Real Time Conversions’ item array.
For single product events, that is, Product Added, Product Viewed, and Product Added to Wishlist, RudderStack maps the root-level properties to single item in the items array of The Trade Desk Real Time Conversions:
RudderStack property
The Trade Desk Real Time Conversions property
product_id/sku Required
item_code
name
name
quantity
qty
price
price
category_id
cat
privacy_settings mapping
RudderStack maps the following privacy settings (privacy_settings) from the integration object:
RudderStack
The Trade Desk Real Time Conversions
Notes
privacy_typeRequired
privacy_type
Allowed values are: GDPR/CCPA/GPP
is_applicableRequired
is_applicable
Boolean property indicating if the value specified in the privacy_type property is applicable.
consent_stringRequired
consent_string
User’s consent when the privacy regulations are in effect.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.