Skip to content
Get Help

Enable The Trade Desk (New)

Overview ​

The Trade Desk is a self-service, cloud-based demand-side platform (DSP) for programmatic digital advertising. Connect The Trade Desk to Branch to attribute clicks and installs and configure Postbacks.

For more information about integrating ad partners in general, visit our Ad Partner Integration Guide.

Note: this guide is for new Branch

Please note that this guide is about integrating The Trade Desk in the new Branch experience. For information on The Trade Desk in legacy Branch, visit our legacy guide.

Partner capabilities ​

CapabilityDetails
Company typeDSP
Deep linkingSupported
AttributionClick-through attribution, View-through attribution (except web events)
Ad campaign typesAcquisition campaigns, Retargeting campaigns
Ad formatsContact The Trade Desk for details.
Click typesServer-side click
Supported platformsiOS, Android, Amazon, Windows, macOS, Unix, Apple TV, Android TV, Samsung TV, Amazon Fire TV, Tizen
Link wrappingSupported
Cost ingestion supportNot supported
Pricing modelsCPM

Before you begin ​

To set up the integration with The Trade Desk, you need:

  • Ad partner integrations enabled for your Branch account. Availability varies by Branch plan. See Branch pricing or contact your Branch representative.
  • A Branch account with access to Configuration > Ad Partners and admin permissions to enable and configure integrations.
  • The Trade Desk account with admin access. You'll need the following credentials, available from your account manager at The Trade Desk: Advertiser ID, iOS Event Tracker ID, Android Event Tracker ID, and Web Event Tracker ID.

Enable The Trade Desk ​

To begin, navigate to Configuration > Ad Partners > The Trade Desk.

Enter your Advertiser ID, iOS Event Tracker ID, Android Event Tracker ID, and Web Event Tracker ID, then select Enable The Trade Desk on The Trade Desk page. Contact your account manager at The Trade Desk if you need these values.

Configure attribution ​

To configure attribution windows, select the Attribution windows tab on The Trade Desk page.

To minimize discrepancies when comparing Branch and The Trade Desk reporting, match your Branch attribution windows to the settings in your account at The Trade Desk.

Attribution typeDefaultThe Trade Desk's recommendation
Click to start session1 day90 days
Click to install7 days30 days
Click to conversion event30 days90 days
Impression to start session1 day1 day
Impression to install1 day1 day
Impression to conversion event7 days1 day
Deep linking duration120 minutes—

For more information, follow Configure attribution in the general Ad Partner Integration Guide.

Configure postbacks ​

Enabling The Trade Desk automatically activates postbacks for INSTALL and PURCHASE. The default postback URL template is:

https://insight.adsrvr.org/track/upapp?provider=branch&adv=${ (ad_network.credentials.advertiser_id)! }&upid=<#if (user_data.os)! == "IOS">${ad_network.credentials.ios_event_tracker_id}<#elseif (user_data.os)! == "ANDROID">${ad_network.credentials.and_event_tracker_id}<#elseif (user_data.os)! == "WINDOWS">${ad_network.credentials.web_event_tracker_id}<#elseif (user_data.os)! == "MAC_OS">${ad_network.credentials.web_event_tracker_id}</#if>&ref=${ (name)! }&client_ip=${ (user_data.ip)! }&idfa=${ (user_data.idfa)! }&gps_adid=${ (user_data.aaid)! }&v=${ (event_data.revenue)! }&vf=${ (event_data.currency)! }&iattr=<#if (last_attributed_touch_data.$3p)! == (ad_network.machine_name)!>1<#else>0</#if>&ivtc=<#if (last_attributed_touch_type)! == 'IMPRESSION'>1<#else>0</#if>&imp=${ (last_attributed_touch_data.impression_id)! }

To add postbacks for additional events or to customize behavior, follow Configure postbacks in the general Ad Partner Integration Guide.

Create a Branch Ad Link to use in your campaigns in The Trade Desk. Branch uses the link to attribute clicks and deep link users into your app.

Follow Create Ad Links.

Verify your data ​

After your integration is connected and events are flowing, you can verify data is reaching Branch:

  • In Branch Liveview: confirm that events from your app appear in real time. This is the fastest way to confirm SDK events are firing.
  • In Branch Analysis dashboards: review attributed installs and events where Ad Partner Name = The Trade Desk.
  • In The Trade Desk: confirm that forwarded events are appearing in attribution reporting in The Trade Desk.

Data mappings ​

Campaign data ​

Branch populates the following fields from The Trade Desk campaign data.

Branch fieldPartner data
~advertising_partner_name"The Trade Desk" (static)