XML 20 R6.htm IDEA: XBRL DOCUMENT
v3.8.0.1

CONSOLIDATED STATEMENT OF CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (Parenthetical) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2016 USD ($) Class
Number of classes of common stock | Class | 2
Common Stock |
Underwriters' commissions and offering costs | $ | $ 10,366

X
- Definition The number of classes of common stock of the entity. + References No definition available. + Details
Name: | ttd_CommonStockNumberOfClasses
Namespace Prefix: | ttd_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition The aggregate amount of direct costs associated with issuing stock, plus underwriters' commissions and discounts. + References No definition available. + Details
Name: | ttd_SaleOfStockIssuanceCostsAndUnderwritersCommissionsAndDiscounts
Namespace Prefix: | ttd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |