XML 67 R53.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Capitalization - Common and Preferred Stock (Detail) | 1 Months Ended | 4 Months Ended | 12 Months Ended
--- | --- | --- | ---
Sep. 30, 2016 Class Vote | Dec. 31, 2016 Class $ / shares shares | Dec. 31, 2017 Class $ / shares shares
Class of Stock [Line Items] |  |  |
Number of classes of common stock | Class | 2 | 2 | 2
Conversion of convertible Class B common stock to Class A common stock |  | 4,200,000 | 21,800,000
Common stock, authorized shares |  |  | 1,095,000,000
Common stock, par value (in dollars per share) | $ / shares |  | $ 0.000001 | $ 0.000001
Preferred stock, authorized shares |  | 100,000,000 | 100,000,000
Preferred stock, par value (in dollars per share) | $ / shares |  | $ 0.000001 | $ 0.000001
Preferred stock, shares outstanding |  | 0 | 0
Class B common stock |  |  |
Class of Stock [Line Items] |  |  |
Number of votes per share of common stock | Vote | 10 |  |
Ratio for conversion into Class A common stock | 1 |  |
Threshold percentage of aggregate outstanding common shares to trigger conversion | 10.00% |  |
Threshold percentage vote or written consent of holders to trigger conversion | 66.67% |  |
Common stock, authorized shares |  | 95,000,000 | 95,000,000
Class A common stock |  |  |
Class of Stock [Line Items] |  |  |
Number of votes per share of common stock | Vote | 1 |  |
Common stock, authorized shares |  | 1,000,000,000 | 1,000,000,000

X
- Definition Ratio for conversion of shares into Class A common stock, at the option of the holder or as triggered by certain transfers or conditions. + References No definition available. + Details
Name: | ttd_CommonStockConversionRatio
Namespace Prefix: | ttd_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

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 number of votes per share to which the holders of common stock are entitled. + References No definition available. + Details
Name: | ttd_CommonStockNumberOfVotesPerShare
Namespace Prefix: | ttd_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Outstanding shares of the specified class of stock as a percentage of the aggregate outstanding shares of common stock, below which conversion is triggered. + References No definition available. + Details
Name: | ttd_ThresholdPercentageOfOutstandingSharesToTriggerConversion
Namespace Prefix: | ttd_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Minimum percentage of the outstanding shares of the specified class of stock per which the affirmative vote or written consent of the holders would trigger conversion of the entire class of stock. + References No definition available. + Details
Name: | ttd_ThresholdPercentageOfShareholdersVoteOrConsentToTriggerConversion
Namespace Prefix: | ttd_
Data Type: | num: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_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face amount or stated value per share of common stock. + 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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + 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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=98513485&loc=d3e4332-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=98513485&loc=d3e4304-108586 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=98513485&loc=d3e4313-108586 + Details
Name: | us-gaap_ConversionOfStockSharesConverted1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer. + 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(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_PreferredStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws. + 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(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_PreferredStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased. + 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(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_PreferredStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |