XML 61 R47.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Capitalized Software Development Costs - Additional Information (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Capitalized Computer Software Net [Line Items] |  |  |
Software not yet placed into service, included in other assets, non-current | $ 10,587 | $ 4,636 |
Capitalized Software Development |  |  |
Capitalized Computer Software Net [Line Items] |  |  |
Software development costs | 3,500 | 2,400 | $ 1,800
Amortization expenses | 1,900 | $ 1,400 | $ 900
Estimated amortization in 2018 | 1,900 |  |
Estimated amortization in 2019 | 800 |  |
Software not yet placed into service, included in other assets, non-current | $ 1,700 |  |

X
- Definition Capitalized computer software amortization expense next twelve months. + References No definition available. + Details
Name: | ttd_CapitalizedComputerSoftwareAmortizationExpenseNextTwelveMonths
Namespace Prefix: | ttd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Capitalized computer software amortization expense year two. + References No definition available. + Details
Name: | ttd_CapitalizedComputerSoftwareAmortizationExpenseYearTwo
Namespace Prefix: | ttd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Capitalized computer software net. + References No definition available. + Details
Name: | ttd_CapitalizedComputerSoftwareNetLineItems
Namespace Prefix: | ttd_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Additions made to capitalized computer software costs during the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275 + Details
Name: | us-gaap_CapitalizedComputerSoftwareAdditions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of expense for amortization of capitalized computer software costs. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 985 -SubTopic 20 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6501960&loc=d3e128487-111756 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 985 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b)(1) -URI http://asc.fasb.org/extlink&oid=6501960&loc=d3e128462-111756 + Details
Name: | us-gaap_CapitalizedComputerSoftwareAmortization1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of noncurrent assets classified as other. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_OtherAssetsNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_SoftwareDevelopmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |