XML 51 R40.htm IDEA: XBRL DOCUMENT
v3.20.2

Geographic Information - Property and Equipment, Net and Operating Lease Assets, Presented by Principal Geographic Area (Detail) - USD ($) $ in Thousands | Jun. 30, 2020 | Dec. 31, 2019
--- | --- | ---
Revenues From External Customers And Long Lived Assets [Line Items] |  |
Property and equipment, net and operating lease assets | $ 299,989 | $ 237,461
U.S. |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |
Property and equipment, net and operating lease assets | 200,290 | 157,245
International |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |
Property and equipment, net and operating lease assets | $ 99,699 | $ 80,216

X
- Definition Property and equipment, net and operating lease assets. + References No definition available. + Details
Name: | ttd_PropertyAndEquipmentNetAndOperatingLeaseAssets
Namespace Prefix: | ttd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_StatementGeographicalAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=us-gaap_NonUsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |