XML 29 R17.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Basis of Presentation and Summary of Significant Accounting Policies (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2018
Revenue From Contract With Customer [Abstract] |
Schedule of Gross Billings Based on Billing of Clients Affiliates | Gross Billings, based on the billing address of the clients or client affiliates, were as follows (in thousands):
|  | Three Months Ended |  |  | Nine Months Ended |
|  | September 30, |  |  | September 30, |
|  | 2018 |  |  | 2017 |  |  | 2018 |  |  | 2017 |
US |  | $ | 479,489 |  |  | $ | 337,134 |  |  | $ | 1,282,178 |  |  | $ | 843,557 |
International |  |  | 89,255 |  |  |  | 59,370 |  |  |  | 242,519 |  |  |  | 146,286 |
Total |  | $ | 568,744 |  |  | $ | 396,504 |  |  | $ | 1,524,697 |  |  | $ | 989,843 |

X
- Definition Schedule of gross billings based on billing of clients affiliates. + References No definition available. + Details
Name: | ttd_ScheduleOfGrossBillingsBasedOnBillingOfClientsAffiliatesTableTextBox
Namespace Prefix: | ttd_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_RevenueFromContractWithCustomerAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration