XML 47 R36.htm IDEA: XBRL DOCUMENT
v3.21.2

Geographic Information - Gross Billings Percentage, Based on Billing Address of Clients or Client Affiliates (Detail) | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2021 | Sep. 30, 2020 | Sep. 30, 2021 | Sep. 30, 2020
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |  |
Gross Billings | 100.00% | 100.00% | 100.00% | 100.00%
U.S. |  |  |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |  |
Gross Billings | 87.00% | 86.00% | 86.00% | 86.00%
International |  |  |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |  |
Gross Billings | 13.00% | 14.00% | 14.00% | 14.00%

X
- Definition Billings, gross. + References No definition available. + Details
Name: | ttd_BillingsGross
Namespace Prefix: | ttd_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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: |