<?xml version="1.0" encoding="us-ascii" standalone="yes"?>
<!-- DFS ActiveDisclosure(SM) XBRL Linkbase Document - http://www.dfsco.com/financial-services/ -->
<!-- Creation Date      : 2018-11-07T02:57:21.7046165+00:00 -->
<!-- Version            : 3.1.6852.22116 -->
<!-- Package ID         : 1fa621997469459890b481d4ac758ff0 -->
<!-- Copyright (c) 2018 Donnelley Financial, LLC. All Rights Reserved. -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <roleRef roleURI="http://www.xbrl.org/2009/role/negatedLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedLabel" xlink:type="simple" />
  <roleRef roleURI="http://www.xbrl.org/2009/role/negatedNetLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedNetLabel" xlink:type="simple" />
  <roleRef roleURI="http://www.xbrl.org/2009/role/negatedPeriodEndLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedPeriodEndLabel" xlink:type="simple" />
  <roleRef roleURI="http://www.xbrl.org/2009/role/negatedPeriodStartLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedPeriodStartLabel" xlink:type="simple" />
  <roleRef roleURI="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTerseLabel" xlink:type="simple" />
  <roleRef roleURI="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTotalLabel" xlink:type="simple" />
  <roleRef roleURI="http://www.xbrl.org/2009/role/netLabel" xlink:href="http://www.xbrl.org/lrr/role/net-2009-12-16.xsd#netLabel" xlink:type="simple" />
  <labelLink xlink:role="http://www.xbrl.org/2003/role/link" xlink:type="extended">
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityCentralIndexKey" xlink:type="locator" xlink:label="dei_EntityCentralIndexKey" />
    <label xml:lang="en-US" xlink:label="dei_EntityCentralIndexKey_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Central Index Key</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCentralIndexKey" xlink:to="dei_EntityCentralIndexKey_lbl" />
    <loc xlink:href="ttd-20180930.xsd#ttd_DocumentAndEntityInformationAbstract" xlink:type="locator" xlink:label="ttd_DocumentAndEntityInformationAbstract" />
    <label xml:lang="en-US" xlink:label="ttd_DocumentAndEntityInformationAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation">Document And Entity Information [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="ttd_DocumentAndEntityInformationAbstract" xlink:to="ttd_DocumentAndEntityInformationAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="ttd_DocumentAndEntityInformationAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Document And Entity Information [Abstract]</label>
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentInformationTable" xlink:type="locator" xlink:label="dei_DocumentInformationTable" />
    <label xml:lang="en-US" xlink:label="dei_DocumentInformationTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Document Information [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentInformationTable" xlink:to="dei_DocumentInformationTable_lbl" />
    <label xml:lang="en-US" xlink:label="dei_DocumentInformationTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Document Information [Table]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:type="locator" xlink:label="us-gaap_StatementClassOfStockAxis" />
    <label xml:lang="en-US" xlink:label="us-gaap_StatementClassOfStockAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Class of Stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementClassOfStockAxis" xlink:to="us-gaap_StatementClassOfStockAxis_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_StatementClassOfStockAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Statement Class Of Stock [Axis]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:type="locator" xlink:label="us-gaap_ClassOfStockDomain" />
    <label xml:lang="en-US" xlink:label="us-gaap_ClassOfStockDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Class of Stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ClassOfStockDomain" xlink:to="us-gaap_ClassOfStockDomain_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ClassOfStockDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Class Of Stock [Domain]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassAMember" xlink:type="locator" xlink:label="us-gaap_CommonClassAMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonClassAMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Class A common stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonClassAMember" xlink:to="us-gaap_CommonClassAMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonClassAMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Common Class A [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassBMember" xlink:type="locator" xlink:label="us-gaap_CommonClassBMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonClassBMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Class B common stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonClassBMember" xlink:to="us-gaap_CommonClassBMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonClassBMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Common Class B [Member]</label>
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentInformationLineItems" xlink:type="locator" xlink:label="dei_DocumentInformationLineItems" />
    <label xml:lang="en-US" xlink:label="dei_DocumentInformationLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Document Information [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentInformationLineItems_lbl" />
    <label xml:lang="en-US" xlink:label="dei_DocumentInformationLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Document Information [Line Items]</label>
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentType" xlink:type="locator" xlink:label="dei_DocumentType" />
    <label xml:lang="en-US" xlink:label="dei_DocumentType_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Document Type</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentType" xlink:to="dei_DocumentType_lbl" />
    <label xml:lang="en-US" xlink:label="dei_DocumentType_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Document Type</label>
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_AmendmentFlag" xlink:type="locator" xlink:label="dei_AmendmentFlag" />
    <label xml:lang="en-US" xlink:label="dei_AmendmentFlag_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Amendment Flag</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_AmendmentFlag" xlink:to="dei_AmendmentFlag_lbl" />
    <label xml:lang="en-US" xlink:label="dei_AmendmentFlag_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Amendment Flag</label>
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentPeriodEndDate" xlink:type="locator" xlink:label="dei_DocumentPeriodEndDate" />
    <label xml:lang="en-US" xlink:label="dei_DocumentPeriodEndDate_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Document Period End Date</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentPeriodEndDate" xlink:to="dei_DocumentPeriodEndDate_lbl" />
    <label xml:lang="en-US" xlink:label="dei_DocumentPeriodEndDate_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Document Period End Date</label>
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentFiscalYearFocus" xlink:type="locator" xlink:label="dei_DocumentFiscalYearFocus" />
    <label xml:lang="en-US" xlink:label="dei_DocumentFiscalYearFocus_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Document Fiscal Year Focus</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalYearFocus" xlink:to="dei_DocumentFiscalYearFocus_lbl" />
    <label xml:lang="en-US" xlink:label="dei_DocumentFiscalYearFocus_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Document Fiscal Year Focus</label>
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentFiscalPeriodFocus" xlink:type="locator" xlink:label="dei_DocumentFiscalPeriodFocus" />
    <label xml:lang="en-US" xlink:label="dei_DocumentFiscalPeriodFocus_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Document Fiscal Period Focus</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalPeriodFocus" xlink:to="dei_DocumentFiscalPeriodFocus_lbl" />
    <label xml:lang="en-US" xlink:label="dei_DocumentFiscalPeriodFocus_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Document Fiscal Period Focus</label>
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_TradingSymbol" xlink:type="locator" xlink:label="dei_TradingSymbol" />
    <label xml:lang="en-US" xlink:label="dei_TradingSymbol_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Trading Symbol</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_TradingSymbol" xlink:to="dei_TradingSymbol_lbl" />
    <label xml:lang="en-US" xlink:label="dei_TradingSymbol_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Trading Symbol</label>
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityRegistrantName" xlink:type="locator" xlink:label="dei_EntityRegistrantName" />
    <label xml:lang="en-US" xlink:label="dei_EntityRegistrantName_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Registrant Name</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityRegistrantName" xlink:to="dei_EntityRegistrantName_lbl" />
    <label xml:lang="en-US" xlink:label="dei_EntityRegistrantName_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Entity Registrant Name</label>
    <label xml:lang="en-US" xlink:label="dei_EntityCentralIndexKey_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Entity Central Index Key</label>
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_CurrentFiscalYearEndDate" xlink:type="locator" xlink:label="dei_CurrentFiscalYearEndDate" />
    <label xml:lang="en-US" xlink:label="dei_CurrentFiscalYearEndDate_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Current Fiscal Year End Date</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_CurrentFiscalYearEndDate" xlink:to="dei_CurrentFiscalYearEndDate_lbl" />
    <label xml:lang="en-US" xlink:label="dei_CurrentFiscalYearEndDate_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Current Fiscal Year End Date</label>
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityFilerCategory" xlink:type="locator" xlink:label="dei_EntityFilerCategory" />
    <label xml:lang="en-US" xlink:label="dei_EntityFilerCategory_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Filer Category</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityFilerCategory" xlink:to="dei_EntityFilerCategory_lbl" />
    <label xml:lang="en-US" xlink:label="dei_EntityFilerCategory_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Entity Filer Category</label>
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntitySmallBusiness" xlink:type="locator" xlink:label="dei_EntitySmallBusiness" />
    <label xml:lang="en-US" xlink:label="dei_EntitySmallBusiness_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Small Business</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntitySmallBusiness" xlink:to="dei_EntitySmallBusiness_lbl" />
    <label xml:lang="en-US" xlink:label="dei_EntitySmallBusiness_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Entity Small Business</label>
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityEmergingGrowthCompany" xlink:type="locator" xlink:label="dei_EntityEmergingGrowthCompany" />
    <label xml:lang="en-US" xlink:label="dei_EntityEmergingGrowthCompany_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Emerging Growth Company</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityEmergingGrowthCompany" xlink:to="dei_EntityEmergingGrowthCompany_lbl" />
    <label xml:lang="en-US" xlink:label="dei_EntityEmergingGrowthCompany_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Entity Emerging Growth Company</label>
    <loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:type="locator" xlink:label="dei_EntityCommonStockSharesOutstanding" />
    <label xml:lang="en-US" xlink:label="dei_EntityCommonStockSharesOutstanding_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Entity Common Stock, Shares Outstanding</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCommonStockSharesOutstanding" xlink:to="dei_EntityCommonStockSharesOutstanding_lbl" />
    <label xml:lang="en-US" xlink:label="dei_EntityCommonStockSharesOutstanding_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Entity Common Stock Shares Outstanding</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:type="locator" xlink:label="us-gaap_StatementOfFinancialPositionAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_StatementOfFinancialPositionAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Statement Of Financial Position [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_StatementOfFinancialPositionAbstract_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsAbstract" xlink:type="locator" xlink:label="us-gaap_AssetsAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_AssetsAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">ASSETS</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsAbstract" xlink:to="us-gaap_AssetsAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AssetsAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Assets [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:type="locator" xlink:label="us-gaap_AssetsCurrentAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_AssetsCurrentAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Current assets:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_AssetsCurrentAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AssetsCurrentAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Assets Current [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" />
    <label xml:lang="en-US" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash and cash equivalents</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Cash And Cash Equivalents At Carrying Value</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountsReceivableNetCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounts receivable, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsReceivableNetCurrent" xlink:to="us-gaap_AccountsReceivableNetCurrent_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountsReceivableNetCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Accounts Receivable Net Current</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:type="locator" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" />
    <label xml:lang="en-US" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Prepaid expenses and other current assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Prepaid Expense And Other Assets Current</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrent" xlink:type="locator" xlink:label="us-gaap_AssetsCurrent" />
    <label xml:lang="en-US" xlink:label="us-gaap_AssetsCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">TOTAL CURRENT ASSETS</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_AssetsCurrent_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AssetsCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Assets Current</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" />
    <label xml:lang="en-US" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Property and equipment, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_PropertyPlantAndEquipmentNet_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Property Plant And Equipment Net</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet" xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxAssetsNet" />
    <label xml:lang="en-US" xlink:label="us-gaap_DeferredIncomeTaxAssetsNet_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Deferred income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredIncomeTaxAssetsNet" xlink:to="us-gaap_DeferredIncomeTaxAssetsNet_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_DeferredIncomeTaxAssetsNet_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Deferred Income Tax Assets Net</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" />
    <label xml:lang="en-US" xlink:label="us-gaap_OtherAssetsNoncurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other assets, non-current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssetsNoncurrent" xlink:to="us-gaap_OtherAssetsNoncurrent_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OtherAssetsNoncurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Other Assets Noncurrent</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:type="locator" xlink:label="us-gaap_Assets" />
    <label xml:lang="en-US" xlink:label="us-gaap_Assets_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">TOTAL ASSETS</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Assets" xlink:to="us-gaap_Assets_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_Assets_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Assets</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:type="locator" xlink:label="us-gaap_LiabilitiesAndStockholdersEquityAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_LiabilitiesAndStockholdersEquityAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">LIABILITIES AND STOCKHOLDERS&#8217; EQUITY</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:to="us-gaap_LiabilitiesAndStockholdersEquityAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_LiabilitiesAndStockholdersEquityAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Liabilities And Stockholders Equity [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:type="locator" xlink:label="us-gaap_LiabilitiesAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_LiabilitiesAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">LIABILITIES</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAbstract" xlink:to="us-gaap_LiabilitiesAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_LiabilitiesAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Liabilities [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrentAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_LiabilitiesCurrentAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Current liabilities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_LiabilitiesCurrentAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_LiabilitiesCurrentAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Liabilities Current [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:type="locator" xlink:label="us-gaap_AccountsPayableCurrent" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountsPayableCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounts payable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableCurrent" xlink:to="us-gaap_AccountsPayableCurrent_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountsPayableCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Accounts Payable Current</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesCurrent" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccruedLiabilitiesCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accrued expenses and other current liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedLiabilitiesCurrent" xlink:to="us-gaap_AccruedLiabilitiesCurrent_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccruedLiabilitiesCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Accrued Liabilities Current</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrent" />
    <label xml:lang="en-US" xlink:label="us-gaap_LiabilitiesCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">TOTAL CURRENT LIABILITIES</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_LiabilitiesCurrent_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_LiabilitiesCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Liabilities Current</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermLineOfCredit" xlink:type="locator" xlink:label="us-gaap_LongTermLineOfCredit" />
    <label xml:lang="en-US" xlink:label="us-gaap_LongTermLineOfCredit_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Debt, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LongTermLineOfCredit" xlink:to="us-gaap_LongTermLineOfCredit_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_LongTermLineOfCredit_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Long Term Line Of Credit</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesNoncurrent" />
    <label xml:lang="en-US" xlink:label="us-gaap_OtherLiabilitiesNoncurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other liabilities, non-current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherLiabilitiesNoncurrent" xlink:to="us-gaap_OtherLiabilitiesNoncurrent_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OtherLiabilitiesNoncurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Other Liabilities Noncurrent</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities" xlink:type="locator" xlink:label="us-gaap_Liabilities" />
    <label xml:lang="en-US" xlink:label="us-gaap_Liabilities_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">TOTAL LIABILITIES</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_Liabilities_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_Liabilities_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Liabilities</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingencies" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommitmentsAndContingencies_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Commitments and contingencies (Note 9)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingencies" xlink:to="us-gaap_CommitmentsAndContingencies_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommitmentsAndContingencies_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Commitments And Contingencies</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:type="locator" xlink:label="us-gaap_StockholdersEquityAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_StockholdersEquityAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">STOCKHOLDERS&#8217; EQUITY</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityAbstract" xlink:to="us-gaap_StockholdersEquityAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_StockholdersEquityAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Stockholders Equity [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockValue" xlink:type="locator" xlink:label="us-gaap_PreferredStockValue" />
    <label xml:lang="en-US" xlink:label="us-gaap_PreferredStockValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred stock, par value $0.000001; 100,000 shares authorized, zero shares issued and outstanding as of September 30, 2018 and December 31, 2017</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockValue" xlink:to="us-gaap_PreferredStockValue_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PreferredStockValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock Value</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockValue" xlink:type="locator" xlink:label="us-gaap_CommonStockValue" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonStockValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Common stock, par value $0.000001; 1,000,000 Class A shares authorized as of September 30, 2018 and December 31, 2017; 35,734 and 32,486 shares issued and outstanding as of September 30, 2018 and December 31, 2017, respectively; 95,000 Class B shares authorized as of September 30, 2018 and December 31, 2017; 7,451 and 9,155 shares issued and outstanding as of September 30, 2018 and December 31, 2017, respectively</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockValue" xlink:to="us-gaap_CommonStockValue_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonStockValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Common Stock Value</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock" />
    <label xml:lang="en-US" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Additional paid-in capital</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Additional Paid In Capital Common Stock</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:type="locator" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit" />
    <label xml:lang="en-US" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Retained earnings</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Retained Earnings Accumulated Deficit</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:type="locator" xlink:label="us-gaap_StockholdersEquity" />
    <label xml:lang="en-US" xlink:label="us-gaap_StockholdersEquity_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">TOTAL STOCKHOLDERS&#8217; EQUITY</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_StockholdersEquity_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_StockholdersEquity_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Stockholders Equity</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:type="locator" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" />
    <label xml:lang="en-US" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">TOTAL LIABILITIES AND STOCKHOLDERS&#8217; EQUITY</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Liabilities And Stockholders Equity</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:type="locator" xlink:label="us-gaap_StatementTable" />
    <label xml:lang="en-US" xlink:label="us-gaap_StatementTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Statement [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementTable_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_StatementTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Statement [Table]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:type="locator" xlink:label="us-gaap_StatementLineItems" />
    <label xml:lang="en-US" xlink:label="us-gaap_StatementLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Statement [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementLineItems_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_StatementLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Statement [Line Items]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract" xlink:type="locator" xlink:label="us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract" xlink:to="us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock Number Of Shares Par Value And Other Disclosures [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:type="locator" xlink:label="us-gaap_PreferredStockParOrStatedValuePerShare" />
    <label xml:lang="en-US" xlink:label="us-gaap_PreferredStockParOrStatedValuePerShare_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred stock, par value (in dollars per share)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockParOrStatedValuePerShare" xlink:to="us-gaap_PreferredStockParOrStatedValuePerShare_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PreferredStockParOrStatedValuePerShare_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock Par Or Stated Value Per Share</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:type="locator" xlink:label="us-gaap_PreferredStockSharesAuthorized" />
    <label xml:lang="en-US" xlink:label="us-gaap_PreferredStockSharesAuthorized_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred stock, authorized shares</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockSharesAuthorized" xlink:to="us-gaap_PreferredStockSharesAuthorized_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PreferredStockSharesAuthorized_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock Shares Authorized</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:type="locator" xlink:label="us-gaap_PreferredStockSharesIssued" />
    <label xml:lang="en-US" xlink:label="us-gaap_PreferredStockSharesIssued_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred stock, shares issued</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockSharesIssued" xlink:to="us-gaap_PreferredStockSharesIssued_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PreferredStockSharesIssued_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock Shares Issued</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:type="locator" xlink:label="us-gaap_PreferredStockSharesOutstanding" />
    <label xml:lang="en-US" xlink:label="us-gaap_PreferredStockSharesOutstanding_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Preferred stock, shares outstanding</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockSharesOutstanding" xlink:to="us-gaap_PreferredStockSharesOutstanding_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PreferredStockSharesOutstanding_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Preferred Stock Shares Outstanding</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract" xlink:type="locator" xlink:label="us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Common stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract" xlink:to="us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Common Stock Number Of Shares Par Value And Other Disclosures [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:type="locator" xlink:label="us-gaap_CommonStockParOrStatedValuePerShare" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonStockParOrStatedValuePerShare_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Common stock, par value (in dollars per share)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockParOrStatedValuePerShare" xlink:to="us-gaap_CommonStockParOrStatedValuePerShare_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonStockParOrStatedValuePerShare_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Common Stock Par Or Stated Value Per Share</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:type="locator" xlink:label="us-gaap_CommonStockSharesAuthorized" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonStockSharesAuthorized_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Common stock, authorized shares</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockSharesAuthorized" xlink:to="us-gaap_CommonStockSharesAuthorized_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonStockSharesAuthorized_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Common Stock Shares Authorized</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:type="locator" xlink:label="us-gaap_CommonStockSharesIssued" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonStockSharesIssued_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Common stock, shares issued</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockSharesIssued" xlink:to="us-gaap_CommonStockSharesIssued_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonStockSharesIssued_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Common Stock Shares Issued</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:type="locator" xlink:label="us-gaap_CommonStockSharesOutstanding" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonStockSharesOutstanding_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Common stock, shares outstanding</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockSharesOutstanding" xlink:to="us-gaap_CommonStockSharesOutstanding_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommonStockSharesOutstanding_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Common Stock Shares Outstanding</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementAbstract" xlink:type="locator" xlink:label="us-gaap_IncomeStatementAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncomeStatementAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Income Statement [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeStatementAbstract_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" />
    <label xml:lang="en-US" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Revenue</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:to="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Revenue From Contract With Customer Excluding Assessed Tax</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfRevenueExtensibleList" xlink:type="locator" xlink:label="us-gaap_TypeOfRevenueExtensibleList" />
    <label xml:lang="en-US" xlink:label="us-gaap_TypeOfRevenueExtensibleList_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Type of Revenue [Extensible List]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TypeOfRevenueExtensibleList" xlink:to="us-gaap_TypeOfRevenueExtensibleList_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_TypeOfRevenueExtensibleList_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Type Of Revenue Extensible List</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostsAndExpensesAbstract" xlink:type="locator" xlink:label="us-gaap_CostsAndExpensesAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_CostsAndExpensesAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Operating expenses:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostsAndExpensesAbstract" xlink:to="us-gaap_CostsAndExpensesAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CostsAndExpensesAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Costs And Expenses [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:type="locator" xlink:label="us-gaap_CostOfGoodsAndServicesSold" />
    <label xml:lang="en-US" xlink:label="us-gaap_CostOfGoodsAndServicesSold_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Platform operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostOfGoodsAndServicesSold" xlink:to="us-gaap_CostOfGoodsAndServicesSold_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CostOfGoodsAndServicesSold_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Cost Of Goods And Services Sold</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfCostGoodOrServiceExtensibleList" xlink:type="locator" xlink:label="us-gaap_TypeOfCostGoodOrServiceExtensibleList" />
    <label xml:lang="en-US" xlink:label="us-gaap_TypeOfCostGoodOrServiceExtensibleList_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Type of Cost, Good or Service [Extensible List]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TypeOfCostGoodOrServiceExtensibleList" xlink:to="us-gaap_TypeOfCostGoodOrServiceExtensibleList_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_TypeOfCostGoodOrServiceExtensibleList_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Type Of Cost Good Or Service Extensible List</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingAndMarketingExpense" xlink:type="locator" xlink:label="us-gaap_SellingAndMarketingExpense" />
    <label xml:lang="en-US" xlink:label="us-gaap_SellingAndMarketingExpense_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Sales and marketing</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SellingAndMarketingExpense" xlink:to="us-gaap_SellingAndMarketingExpense_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_SellingAndMarketingExpense_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Selling And Marketing Expense</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:type="locator" xlink:label="us-gaap_ResearchAndDevelopmentExpense" />
    <label xml:lang="en-US" xlink:label="us-gaap_ResearchAndDevelopmentExpense_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Technology and development</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ResearchAndDevelopmentExpense" xlink:to="us-gaap_ResearchAndDevelopmentExpense_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ResearchAndDevelopmentExpense_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Research And Development Expense</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:type="locator" xlink:label="us-gaap_GeneralAndAdministrativeExpense" />
    <label xml:lang="en-US" xlink:label="us-gaap_GeneralAndAdministrativeExpense_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">General and administrative</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GeneralAndAdministrativeExpense" xlink:to="us-gaap_GeneralAndAdministrativeExpense_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_GeneralAndAdministrativeExpense_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">General And Administrative Expense</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostsAndExpenses" xlink:type="locator" xlink:label="us-gaap_CostsAndExpenses" />
    <label xml:lang="en-US" xlink:label="us-gaap_CostsAndExpenses_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total operating expenses</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostsAndExpenses" xlink:to="us-gaap_CostsAndExpenses_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CostsAndExpenses_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Costs And Expenses</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:type="locator" xlink:label="us-gaap_OperatingIncomeLoss" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingIncomeLoss_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Income from operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingIncomeLoss" xlink:to="us-gaap_OperatingIncomeLoss_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingIncomeLoss_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Operating Income Loss</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpenseAbstract" xlink:type="locator" xlink:label="us-gaap_OtherNonoperatingIncomeExpenseAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_OtherNonoperatingIncomeExpenseAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Other expense (income):</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherNonoperatingIncomeExpenseAbstract" xlink:to="us-gaap_OtherNonoperatingIncomeExpenseAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OtherNonoperatingIncomeExpenseAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Other Nonoperating Income Expense [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:type="locator" xlink:label="us-gaap_InterestIncomeExpenseNet" />
    <label xml:lang="en-US" xlink:label="us-gaap_InterestIncomeExpenseNet_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Interest expense (income), net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InterestIncomeExpenseNet" xlink:to="us-gaap_InterestIncomeExpenseNet_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_InterestIncomeExpenseNet_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Interest Income Expense Net</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:type="locator" xlink:label="us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" />
    <label xml:lang="en-US" xlink:label="us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Foreign currency exchange loss, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:to="us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Foreign Currency Transaction Gain Loss Before Tax</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:type="locator" xlink:label="us-gaap_NonoperatingIncomeExpense" />
    <label xml:lang="en-US" xlink:label="us-gaap_NonoperatingIncomeExpense_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel">Total other expense, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NonoperatingIncomeExpense" xlink:to="us-gaap_NonoperatingIncomeExpense_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_NonoperatingIncomeExpense_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Nonoperating Income Expense</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Income before income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Income Loss From Continuing Operations Before Income Taxes Extraordinary Items Noncontrolling Interest</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Provision for income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExpenseBenefit" xlink:to="us-gaap_IncomeTaxExpenseBenefit_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Income Tax Expense Benefit</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetIncomeLoss_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net income</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_NetIncomeLoss_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetIncomeLoss_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Net Income Loss</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareAbstract" xlink:type="locator" xlink:label="us-gaap_EarningsPerShareAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_EarningsPerShareAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Earnings per share:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareAbstract" xlink:to="us-gaap_EarningsPerShareAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_EarningsPerShareAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Earnings Per Share [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:type="locator" xlink:label="us-gaap_EarningsPerShareBasic" />
    <label xml:lang="en-US" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Basic</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareBasic" xlink:to="us-gaap_EarningsPerShareBasic_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Earnings Per Share Basic</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:type="locator" xlink:label="us-gaap_EarningsPerShareDiluted" />
    <label xml:lang="en-US" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Diluted</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareDiluted" xlink:to="us-gaap_EarningsPerShareDiluted_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Earnings Per Share Diluted</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Weighted average shares outstanding:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Weighted Average Number Of Shares Outstanding [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" />
    <label xml:lang="en-US" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Basic</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Weighted Average Number Of Shares Outstanding Basic</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" />
    <label xml:lang="en-US" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Diluted</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Weighted Average Number Of Diluted Shares Outstanding</label>
    <loc xlink:href="ttd-20180930.xsd#ttd_DebtIssuanceCostsIncludedInDebtNet" xlink:type="locator" xlink:label="ttd_DebtIssuanceCostsIncludedInDebtNet" />
    <label xml:lang="en-US" xlink:label="ttd_DebtIssuanceCostsIncludedInDebtNet_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation">Debt issuance costs included in debt net.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="ttd_DebtIssuanceCostsIncludedInDebtNet" xlink:to="ttd_DebtIssuanceCostsIncludedInDebtNet_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementOfCashFlowsAbstract" xlink:type="locator" xlink:label="us-gaap_StatementOfCashFlowsAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_StatementOfCashFlowsAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Statement Of Cash Flows [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_StatementOfCashFlowsAbstract_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">OPERATING ACTIVITIES:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Net Cash Provided By Used In Operating Activities [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProfitLoss" xlink:type="locator" xlink:label="us-gaap_ProfitLoss" />
    <label xml:lang="en-US" xlink:label="us-gaap_ProfitLoss_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net income</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_ProfitLoss_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ProfitLoss_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Profit Loss</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:type="locator" xlink:label="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Adjustments to reconcile net income to net cash provided by operating activities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Adjustments To Reconcile Net Income Loss To Cash Provided By Used In Operating Activities [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" />
    <label xml:lang="en-US" xlink:label="us-gaap_DepreciationDepletionAndAmortization_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Depreciation and amortization</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DepreciationDepletionAndAmortization" xlink:to="us-gaap_DepreciationDepletionAndAmortization_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_DepreciationDepletionAndAmortization_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Depreciation Depletion And Amortization</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensation" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensation_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Stock-based compensation</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensation" xlink:to="us-gaap_ShareBasedCompensation_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensation_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForDoubtfulAccounts" xlink:type="locator" xlink:label="us-gaap_ProvisionForDoubtfulAccounts" />
    <label xml:lang="en-US" xlink:label="us-gaap_ProvisionForDoubtfulAccounts_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Bad debt expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProvisionForDoubtfulAccounts" xlink:to="us-gaap_ProvisionForDoubtfulAccounts_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ProvisionForDoubtfulAccounts_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Provision For Doubtful Accounts</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNoncashIncomeExpense" xlink:type="locator" xlink:label="us-gaap_OtherNoncashIncomeExpense" />
    <label xml:lang="en-US" xlink:label="us-gaap_OtherNoncashIncomeExpense_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Other</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherNoncashIncomeExpense" xlink:to="us-gaap_OtherNoncashIncomeExpense_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OtherNoncashIncomeExpense_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Other Noncash Income Expense</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Changes in operating assets and liabilities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:to="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Increase Decrease In Operating Capital [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Accounts receivable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Increase Decrease In Accounts Receivable</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Prepaid expenses and other assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Increase Decrease In Prepaid Deferred Expense And Other Assets</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayable" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounts payable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccountsPayable" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayable_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Increase Decrease In Accounts Payable</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccruedLiabilities" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncreaseDecreaseInAccruedLiabilities_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accrued expenses and other liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:to="us-gaap_IncreaseDecreaseInAccruedLiabilities_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncreaseDecreaseInAccruedLiabilities_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Increase Decrease In Accrued Liabilities</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net cash provided by operating activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Net Cash Provided By Used In Operating Activities</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">INVESTING ACTIVITIES:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Net Cash Provided By Used In Investing Activities [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" />
    <label xml:lang="en-US" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Purchases of property and equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Payments To Acquire Property Plant And Equipment</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToDevelopSoftware" xlink:type="locator" xlink:label="us-gaap_PaymentsToDevelopSoftware" />
    <label xml:lang="en-US" xlink:label="us-gaap_PaymentsToDevelopSoftware_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Capitalized software development costs</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToDevelopSoftware" xlink:to="us-gaap_PaymentsToDevelopSoftware_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PaymentsToDevelopSoftware_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Payments To Develop Software</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net cash used in investing activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Net Cash Provided By Used In Investing Activities</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">FINANCING ACTIVITIES:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Net Cash Provided By Used In Financing Activities [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepaymentsOfLongTermLinesOfCredit" xlink:type="locator" xlink:label="us-gaap_RepaymentsOfLongTermLinesOfCredit" />
    <label xml:lang="en-US" xlink:label="us-gaap_RepaymentsOfLongTermLinesOfCredit_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Repayment on line of credit</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RepaymentsOfLongTermLinesOfCredit" xlink:to="us-gaap_RepaymentsOfLongTermLinesOfCredit_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_RepaymentsOfLongTermLinesOfCredit_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Repayments Of Long Term Lines Of Credit</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:type="locator" xlink:label="us-gaap_PaymentsOfDebtIssuanceCosts" />
    <label xml:lang="en-US" xlink:label="us-gaap_PaymentsOfDebtIssuanceCosts_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Payment of debt financing costs</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsOfDebtIssuanceCosts" xlink:to="us-gaap_PaymentsOfDebtIssuanceCosts_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PaymentsOfDebtIssuanceCosts_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Payments Of Debt Issuance Costs</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepaymentsOfLongtermLoansFromVendors" xlink:type="locator" xlink:label="us-gaap_RepaymentsOfLongtermLoansFromVendors" />
    <label xml:lang="en-US" xlink:label="us-gaap_RepaymentsOfLongtermLoansFromVendors_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Payment of financing obligations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RepaymentsOfLongtermLoansFromVendors" xlink:to="us-gaap_RepaymentsOfLongtermLoansFromVendors_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_RepaymentsOfLongtermLoansFromVendors_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Repayments Of Longterm Loans From Vendors</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:type="locator" xlink:label="us-gaap_ProceedsFromStockOptionsExercised" />
    <label xml:lang="en-US" xlink:label="us-gaap_ProceedsFromStockOptionsExercised_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Proceeds from exercise of stock options</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromStockOptionsExercised" xlink:to="us-gaap_ProceedsFromStockOptionsExercised_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ProceedsFromStockOptionsExercised_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Proceeds From Stock Options Exercised</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions" xlink:type="locator" xlink:label="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions" />
    <label xml:lang="en-US" xlink:label="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Proceeds from employee stock purchase plan</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions" xlink:to="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Proceeds From Issuance Of Shares Under Incentive And Share Based Compensation Plans Including Stock Options</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:type="locator" xlink:label="us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation" />
    <label xml:lang="en-US" xlink:label="us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Taxes paid related to net settlement of restricted stock awards</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:to="us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Payments Related To Tax Withholding For Share Based Compensation</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Net cash provided by (used in) financing activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Net Cash Provided By Used In Financing Activities</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" />
    <label xml:lang="en-US" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Increase (decrease) in cash and cash equivalents</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Cash And Cash Equivalents Period Increase Decrease</label>
    <label xml:lang="en-US" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Cash and cash equivalents&#8212;Beginning of period</label>
    <label xml:lang="en-US" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Cash and cash equivalents&#8212;End of period</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xlink:type="locator" xlink:label="us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">SUPPLEMENTAL CASH FLOW INFORMATION:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xlink:to="us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Cash Flow Noncash Investing And Financing Activities Disclosure [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CapitalExpendituresIncurredButNotYetPaid" xlink:type="locator" xlink:label="us-gaap_CapitalExpendituresIncurredButNotYetPaid" />
    <label xml:lang="en-US" xlink:label="us-gaap_CapitalExpendituresIncurredButNotYetPaid_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Capitalized assets financed by accounts payable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CapitalExpendituresIncurredButNotYetPaid" xlink:to="us-gaap_CapitalExpendituresIncurredButNotYetPaid_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CapitalExpendituresIncurredButNotYetPaid_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Capital Expenditures Incurred But Not Yet Paid</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForTenantImprovements" xlink:type="locator" xlink:label="us-gaap_PaymentsForTenantImprovements" />
    <label xml:lang="en-US" xlink:label="us-gaap_PaymentsForTenantImprovements_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Tenant improvements paid by lessor</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForTenantImprovements" xlink:to="us-gaap_PaymentsForTenantImprovements_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PaymentsForTenantImprovements_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Payments For Tenant Improvements</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetRetirementObligationPeriodIncreaseDecrease" xlink:type="locator" xlink:label="us-gaap_AssetRetirementObligationPeriodIncreaseDecrease" />
    <label xml:lang="en-US" xlink:label="us-gaap_AssetRetirementObligationPeriodIncreaseDecrease_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Asset retirement obligation</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetRetirementObligationPeriodIncreaseDecrease" xlink:to="us-gaap_AssetRetirementObligationPeriodIncreaseDecrease_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AssetRetirementObligationPeriodIncreaseDecrease_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Asset Retirement Obligation Period Increase Decrease</label>
    <label xml:lang="en-US" xlink:label="ttd_DebtIssuanceCostsIncludedInDebtNet_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Debt financing costs included in debt, net</label>
    <label xml:lang="en-US" xlink:label="ttd_DebtIssuanceCostsIncludedInDebtNet_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Debt Issuance Costs Included In Debt Net</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount" xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount" />
    <label xml:lang="en-US" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Stock-based compensation included in capitalized software development costs</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Employee Service Share Based Compensation Allocation Of Recognized Period Costs Capitalized Amount</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingPoliciesAbstract" xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountingPoliciesAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Accounting Policies [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_AccountingPoliciesAbstract_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NatureOfOperations" xlink:type="locator" xlink:label="us-gaap_NatureOfOperations" />
    <label xml:lang="en-US" xlink:label="us-gaap_NatureOfOperations_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Nature of Operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NatureOfOperations" xlink:to="us-gaap_NatureOfOperations_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_NatureOfOperations_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Nature Of Operations</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock" xlink:type="locator" xlink:label="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Basis of Presentation and Summary of Significant Accounting Policies</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock" xlink:to="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareTextBlock" xlink:type="locator" xlink:label="us-gaap_EarningsPerShareTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_EarningsPerShareTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Earnings Per Share</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareTextBlock" xlink:to="us-gaap_EarningsPerShareTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_EarningsPerShareTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Earnings Per Share [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_FairValueDisclosuresAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value Disclosures [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueDisclosuresAbstract" xlink:to="us-gaap_FairValueDisclosuresAbstract_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueDisclosuresTextBlock" xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_FairValueDisclosuresTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair Value Measurements</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueDisclosuresTextBlock" xlink:to="us-gaap_FairValueDisclosuresTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_FairValueDisclosuresTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value Disclosures [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PayablesAndAccrualsAbstract" xlink:type="locator" xlink:label="us-gaap_PayablesAndAccrualsAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_PayablesAndAccrualsAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Payables And Accruals [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PayablesAndAccrualsAbstract" xlink:to="us-gaap_PayablesAndAccrualsAbstract_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock" xlink:type="locator" xlink:label="us-gaap_AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounts Payable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock" xlink:to="us-gaap_AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Accounts Payable And Accrued Liabilities Disclosure [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtDisclosureAbstract" xlink:type="locator" xlink:label="us-gaap_DebtDisclosureAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtDisclosureAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Debt Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_DebtDisclosureAbstract_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtDisclosureTextBlock" xlink:type="locator" xlink:label="us-gaap_DebtDisclosureTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtDisclosureTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Debt</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtDisclosureTextBlock" xlink:to="us-gaap_DebtDisclosureTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtDisclosureTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Debt Disclosure [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:type="locator" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Disclosure Of Compensation Related Costs Sharebased Payments [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:to="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xlink:type="locator" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Stock-Based Compensation</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xlink:to="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Disclosure Of Compensation Related Costs Share Based Payments [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncomeTaxDisclosureAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Income Tax Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_IncomeTaxDisclosureAbstract_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxDisclosureTextBlock" xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Income Taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxDisclosureTextBlock" xlink:to="us-gaap_IncomeTaxDisclosureTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Income Tax Disclosure [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Commitments And Contingencies Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureAbstract_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Commitments and Contingencies</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Commitments And Contingencies Disclosure [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventsAbstract" xlink:type="locator" xlink:label="us-gaap_SubsequentEventsAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_SubsequentEventsAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Subsequent Events [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_SubsequentEventsAbstract_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventsTextBlock" xlink:type="locator" xlink:label="us-gaap_SubsequentEventsTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_SubsequentEventsTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Subsequent Event</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventsTextBlock" xlink:to="us-gaap_SubsequentEventsTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_SubsequentEventsTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Subsequent Events [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UseOfEstimates" xlink:type="locator" xlink:label="us-gaap_UseOfEstimates" />
    <label xml:lang="en-US" xlink:label="us-gaap_UseOfEstimates_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Use of Estimates</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UseOfEstimates" xlink:to="us-gaap_UseOfEstimates_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_UseOfEstimates_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Use Of Estimates</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRecognitionPolicyTextBlock" xlink:type="locator" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Revenue Recognition</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:to="us-gaap_RevenueRecognitionPolicyTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Revenue Recognition Policy [Text Block]</label>
    <loc xlink:href="ttd-20180930.xsd#ttd_AccountsReceivableAndAllowanceForDoubtfulAccountsPolicyTextBlock" xlink:type="locator" xlink:label="ttd_AccountsReceivableAndAllowanceForDoubtfulAccountsPolicyTextBlock" />
    <label xml:lang="en-US" xlink:label="ttd_AccountsReceivableAndAllowanceForDoubtfulAccountsPolicyTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation">Accounts receivable and allowance for doubtful accounts.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="ttd_AccountsReceivableAndAllowanceForDoubtfulAccountsPolicyTextBlock" xlink:to="ttd_AccountsReceivableAndAllowanceForDoubtfulAccountsPolicyTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="ttd_AccountsReceivableAndAllowanceForDoubtfulAccountsPolicyTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Allowance for Doubtful Accounts</label>
    <label xml:lang="en-US" xlink:label="ttd_AccountsReceivableAndAllowanceForDoubtfulAccountsPolicyTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Accounts Receivable And Allowance For Doubtful Accounts Policy [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:type="locator" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Recent Accounting Pronouncements</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:to="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">New Accounting Pronouncements Policy Policy [Text Block]</label>
    <loc xlink:href="ttd-20180930.xsd#ttd_ScheduleOfGrossBillingsBasedOnBillingOfClientsAffiliatesTableTextBox" xlink:type="locator" xlink:label="ttd_ScheduleOfGrossBillingsBasedOnBillingOfClientsAffiliatesTableTextBox" />
    <label xml:lang="en-US" xlink:label="ttd_ScheduleOfGrossBillingsBasedOnBillingOfClientsAffiliatesTableTextBox_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation">Schedule of gross billings based on billing of clients affiliates.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="ttd_ScheduleOfGrossBillingsBasedOnBillingOfClientsAffiliatesTableTextBox" xlink:to="ttd_ScheduleOfGrossBillingsBasedOnBillingOfClientsAffiliatesTableTextBox_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerAbstract" xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_RevenueFromContractWithCustomerAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Revenue From Contract With Customer [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerAbstract" xlink:to="us-gaap_RevenueFromContractWithCustomerAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="ttd_ScheduleOfGrossBillingsBasedOnBillingOfClientsAffiliatesTableTextBox_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule of Gross Billings Based on Billing of Clients Affiliates</label>
    <label xml:lang="en-US" xlink:label="ttd_ScheduleOfGrossBillingsBasedOnBillingOfClientsAffiliatesTableTextBox_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Schedule Of Gross Billings Based On Billing Of Clients Affiliates Table Text Box</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:type="locator" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Computation of Basic and Diluted Earnings Per Share</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:to="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Schedule Of Earnings Per Share Basic And Diluted Table [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock" xlink:type="locator" xlink:label="us-gaap_ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule of Accounts Payable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock" xlink:to="us-gaap_ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Schedule Of Accounts Payable And Accrued Liabilities Table [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock" xlink:type="locator" xlink:label="us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule of Stock-Based Compensation Expense by Operating Expense Category</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock" xlink:to="us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Schedule Of Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" xlink:type="locator" xlink:label="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Stock Option Activity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" xlink:to="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Schedule Of Share Based Compensation Stock Options Activity Table [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfNonvestedPerformanceBasedUnitsActivityTableTextBlock" xlink:type="locator" xlink:label="us-gaap_ScheduleOfNonvestedPerformanceBasedUnitsActivityTableTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfNonvestedPerformanceBasedUnitsActivityTableTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Summary of Nonvested Restricted Stock Activity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfNonvestedPerformanceBasedUnitsActivityTableTextBlock" xlink:to="us-gaap_ScheduleOfNonvestedPerformanceBasedUnitsActivityTableTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfNonvestedPerformanceBasedUnitsActivityTableTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Schedule Of Nonvested Performance Based Units Activity Table [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:type="locator" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule of Minimum Lease Commitments under Non-Cancelable Operating Leases</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:to="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Schedule Of Future Minimum Rental Payments For Operating Leases Table [Text Block]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:type="locator" xlink:label="us-gaap_DisaggregationOfRevenueTable" />
    <label xml:lang="en-US" xlink:label="us-gaap_DisaggregationOfRevenueTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Disaggregation Of Revenue [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisaggregationOfRevenueTable" xlink:to="us-gaap_DisaggregationOfRevenueTable_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_DisaggregationOfRevenueTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Disaggregation Of Revenue [Table]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:type="locator" xlink:label="us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" />
    <label xml:lang="en-US" xlink:label="us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Adjustments for New Accounting Pronouncements</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:to="us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Adjustments For New Accounting Pronouncements [Axis]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:type="locator" xlink:label="us-gaap_TypeOfAdoptionMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_TypeOfAdoptionMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Type of Adoption</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TypeOfAdoptionMember" xlink:to="us-gaap_TypeOfAdoptionMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_TypeOfAdoptionMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Type Of Adoption [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:type="locator" xlink:label="us-gaap_AccountingStandardsUpdate201409Member" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountingStandardsUpdate201409Member_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounting Standards Update 2014-09</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountingStandardsUpdate201409Member" xlink:to="us-gaap_AccountingStandardsUpdate201409Member_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountingStandardsUpdate201409Member_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Accounting Standards Update201409 [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:type="locator" xlink:label="us-gaap_DisaggregationOfRevenueLineItems" />
    <label xml:lang="en-US" xlink:label="us-gaap_DisaggregationOfRevenueLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Disaggregation Of Revenue [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisaggregationOfRevenueLineItems" xlink:to="us-gaap_DisaggregationOfRevenueLineItems_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_DisaggregationOfRevenueLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Disaggregation Of Revenue [Line Items]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenuePerformanceObligationDescriptionOfPaymentTerms" xlink:type="locator" xlink:label="us-gaap_RevenuePerformanceObligationDescriptionOfPaymentTerms" />
    <label xml:lang="en-US" xlink:label="us-gaap_RevenuePerformanceObligationDescriptionOfPaymentTerms_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Revenue, performance obligation, description of payment terms</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenuePerformanceObligationDescriptionOfPaymentTerms" xlink:to="us-gaap_RevenuePerformanceObligationDescriptionOfPaymentTerms_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_RevenuePerformanceObligationDescriptionOfPaymentTerms_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Revenue Performance Obligation Description Of Payment Terms</label>
    <loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_StatementGeographicalAxis" xlink:type="locator" xlink:label="srt_StatementGeographicalAxis" />
    <label xml:lang="en-US" xlink:label="srt_StatementGeographicalAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Geographical</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_StatementGeographicalAxis" xlink:to="srt_StatementGeographicalAxis_lbl" />
    <label xml:lang="en-US" xlink:label="srt_StatementGeographicalAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Statement Geographical [Axis]</label>
    <loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:type="locator" xlink:label="srt_SegmentGeographicalDomain" />
    <label xml:lang="en-US" xlink:label="srt_SegmentGeographicalDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Geographical</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SegmentGeographicalDomain" xlink:to="srt_SegmentGeographicalDomain_lbl" />
    <label xml:lang="en-US" xlink:label="srt_SegmentGeographicalDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Segment Geographical [Domain]</label>
    <loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:type="locator" xlink:label="country_US" />
    <label xml:lang="en-US" xlink:label="country_US_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">US</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="country_US" xlink:to="country_US_lbl" />
    <label xml:lang="en-US" xlink:label="country_US_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">UNITED STATES</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NonUsMember" xlink:type="locator" xlink:label="us-gaap_NonUsMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_NonUsMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">International</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NonUsMember" xlink:to="us-gaap_NonUsMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_NonUsMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Non Us [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GrossTransactionVolume" xlink:type="locator" xlink:label="us-gaap_GrossTransactionVolume" />
    <label xml:lang="en-US" xlink:label="us-gaap_GrossTransactionVolume_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Gross Billings</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GrossTransactionVolume" xlink:to="us-gaap_GrossTransactionVolume_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_GrossTransactionVolume_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Gross Transaction Volume</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:type="locator" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Organization Consolidation And Presentation Of Financial Statements [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:to="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable" xlink:type="locator" xlink:label="us-gaap_AllowanceForDoubtfulAccountsReceivable" />
    <label xml:lang="en-US" xlink:label="us-gaap_AllowanceForDoubtfulAccountsReceivable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Allowance for doubtful accounts</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AllowanceForDoubtfulAccountsReceivable" xlink:to="us-gaap_AllowanceForDoubtfulAccountsReceivable_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AllowanceForDoubtfulAccountsReceivable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Allowance For Doubtful Accounts Receivable</label>
    <loc xlink:href="ttd-20180930.xsd#ttd_CommonStockNumberOfClasses" xlink:type="locator" xlink:label="ttd_CommonStockNumberOfClasses" />
    <label xml:lang="en-US" xlink:label="ttd_CommonStockNumberOfClasses_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation">The number of classes of common stock of the entity.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="ttd_CommonStockNumberOfClasses" xlink:to="ttd_CommonStockNumberOfClasses_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityAbstract" xlink:type="locator" xlink:label="us-gaap_EquityAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_EquityAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Equity [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_EquityAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_EarningsPerShareAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Earnings Per Share</label>
    <label xml:lang="en-US" xlink:label="ttd_CommonStockNumberOfClasses_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of classes of common stock</label>
    <label xml:lang="en-US" xlink:label="ttd_CommonStockNumberOfClasses_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Common Stock Number Of Classes</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract" xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Numerator:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract" xlink:to="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Net Income Loss Available To Common Stockholders Basic [Abstract]</label>
    <label xml:lang="en-US" xlink:label="us-gaap_NetIncomeLoss_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Net income</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Denominator:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Weighted Average Number Of Shares Outstanding Basic [Abstract]</label>
    <label xml:lang="en-US" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Weighted-average shares outstanding&#8212;basic</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Effect of dilutive securities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" xlink:to="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Weighted Average Number Diluted Shares Outstanding Adjustment [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants" xlink:type="locator" xlink:label="us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Options to purchase common stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants" xlink:to="us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Incremental Common Shares Attributable To Call Options And Warrants</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:type="locator" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Employee stock purchase plan shares</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:to="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Incremental Common Shares Attributable To Share Based Payment Arrangements</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends" xlink:type="locator" xlink:label="us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Restricted stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends" xlink:to="us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Incremental Common Shares Attributable To Nonvested Shares With Forfeitable Dividends</label>
    <label xml:lang="en-US" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Weighted-average shares outstanding&#8212;diluted</label>
    <label xml:lang="en-US" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Basic EPS</label>
    <label xml:lang="en-US" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Diluted EPS</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:type="locator" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" />
    <label xml:lang="en-US" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Anti-dilutive equity awards under stock-based award plans excluded from the determination of diluted EPS</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:to="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Antidilutive Securities Excluded From Computation Of Earnings Per Share Amount</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable" xlink:type="locator" xlink:label="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable" />
    <label xml:lang="en-US" xlink:label="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable" xlink:to="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Table]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAxis" xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAxis" />
    <label xml:lang="en-US" xlink:label="us-gaap_CashAndCashEquivalentsAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash and Cash Equivalents</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsAxis" xlink:to="us-gaap_CashAndCashEquivalentsAxis_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CashAndCashEquivalentsAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Cash And Cash Equivalents [Axis]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:type="locator" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash and Cash Equivalents</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:to="us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Restricted Cash And Cash Equivalents Cash And Cash Equivalents [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:type="locator" xlink:label="us-gaap_MoneyMarketFundsMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_MoneyMarketFundsMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Money Market Funds</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MoneyMarketFundsMember" xlink:to="us-gaap_MoneyMarketFundsMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_MoneyMarketFundsMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Money Market Funds [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:type="locator" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis" />
    <label xml:lang="en-US" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair Value Hierarchy and NAV</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueByFairValueHierarchyLevelAxis_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value By Fair Value Hierarchy Level [Axis]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:type="locator" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" />
    <label xml:lang="en-US" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair Value Hierarchy and NAV</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value Measurements Fair Value Hierarchy [Domain]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel1Member" />
    <label xml:lang="en-US" xlink:label="us-gaap_FairValueInputsLevel1Member_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Level 1</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel1Member" xlink:to="us-gaap_FairValueInputsLevel1Member_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_FairValueInputsLevel1Member_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value Inputs Level1 [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems" xlink:type="locator" xlink:label="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems" />
    <label xml:lang="en-US" xlink:label="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems" xlink:to="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Line Items]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashEquivalentsAtCarryingValue" xlink:type="locator" xlink:label="us-gaap_CashEquivalentsAtCarryingValue" />
    <label xml:lang="en-US" xlink:label="us-gaap_CashEquivalentsAtCarryingValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cash equivalents</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashEquivalentsAtCarryingValue" xlink:to="us-gaap_CashEquivalentsAtCarryingValue_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CashEquivalentsAtCarryingValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Cash Equivalents At Carrying Value</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableCurrentAbstract" xlink:type="locator" xlink:label="us-gaap_AccountsPayableCurrentAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountsPayableCurrentAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounts Payable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableCurrentAbstract" xlink:to="us-gaap_AccountsPayableCurrentAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountsPayableCurrentAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Accounts Payable Current [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableTradeCurrent" xlink:type="locator" xlink:label="us-gaap_AccountsPayableTradeCurrent" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountsPayableTradeCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounts payable&#8212;media and data</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableTradeCurrent" xlink:to="us-gaap_AccountsPayableTradeCurrent_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountsPayableTradeCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Accounts Payable Trade Current</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableOtherCurrent" xlink:type="locator" xlink:label="us-gaap_AccountsPayableOtherCurrent" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountsPayableOtherCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounts payable&#8212;other</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableOtherCurrent" xlink:to="us-gaap_AccountsPayableOtherCurrent_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AccountsPayableOtherCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Accounts Payable Other Current</label>
    <label xml:lang="en-US" xlink:label="us-gaap_AccountsPayableCurrent_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:type="locator" xlink:label="us-gaap_DebtInstrumentTable" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtInstrumentTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Debt Instrument [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentTable" xlink:to="us-gaap_DebtInstrumentTable_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtInstrumentTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Debt Instrument [Table]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:type="locator" xlink:label="us-gaap_CreditFacilityAxis" />
    <label xml:lang="en-US" xlink:label="us-gaap_CreditFacilityAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Credit Facility</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_CreditFacilityAxis_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CreditFacilityAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Credit Facility [Axis]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:type="locator" xlink:label="us-gaap_CreditFacilityDomain" />
    <label xml:lang="en-US" xlink:label="us-gaap_CreditFacilityDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Credit Facility</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CreditFacilityDomain" xlink:to="us-gaap_CreditFacilityDomain_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_CreditFacilityDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Credit Facility [Domain]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:type="locator" xlink:label="us-gaap_RevolvingCreditFacilityMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_RevolvingCreditFacilityMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Revolving Credit Facility</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevolvingCreditFacilityMember" xlink:to="us-gaap_RevolvingCreditFacilityMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_RevolvingCreditFacilityMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Revolving Credit Facility [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:type="locator" xlink:label="us-gaap_DebtInstrumentLineItems" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtInstrumentLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Long-term debt:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentLineItems" xlink:to="us-gaap_DebtInstrumentLineItems_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtInstrumentLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Debt Instrument [Line Items]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity" xlink:type="locator" xlink:label="us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity" />
    <label xml:lang="en-US" xlink:label="us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Credit facility available amount</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity" xlink:to="us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Line Of Credit Facility Current Borrowing Capacity</label>
    <loc xlink:href="ttd-20180930.xsd#ttd_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceAndAdditionalDisclosuresAbstract" xlink:type="locator" xlink:label="ttd_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceAndAdditionalDisclosuresAbstract" />
    <label xml:lang="en-US" xlink:label="ttd_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceAndAdditionalDisclosuresAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation">Share-based Compensation Arrangement by Share-based Payment Award, Options Outstanding, Weighted Average Exercise Price, and Additional Disclosures [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="ttd_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceAndAdditionalDisclosuresAbstract" xlink:to="ttd_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceAndAdditionalDisclosuresAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="ttd_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceAndAdditionalDisclosuresAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Sharebased Compensation Arrangement By Sharebased Payment Award Options Outstanding Weighted Average Exercise Price And Additional Disclosures [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:type="locator" xlink:label="us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule of Employee Service Share based Compensation, Allocation of Recognized Period Costs [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:to="us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Schedule Of Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Table]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationAxis" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncomeStatementLocationAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Income Statement Location</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementLocationAxis" xlink:to="us-gaap_IncomeStatementLocationAxis_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncomeStatementLocationAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Income Statement Location [Axis]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationDomain" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncomeStatementLocationDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Income Statement Location</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementLocationDomain" xlink:to="us-gaap_IncomeStatementLocationDomain_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncomeStatementLocationDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Income Statement Location [Domain]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpenseMember" xlink:type="locator" xlink:label="us-gaap_OperatingExpenseMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingExpenseMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Platform operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingExpenseMember" xlink:to="us-gaap_OperatingExpenseMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingExpenseMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Operating Expense [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember" xlink:type="locator" xlink:label="us-gaap_SellingAndMarketingExpenseMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_SellingAndMarketingExpenseMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Sales and marketing</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SellingAndMarketingExpenseMember" xlink:to="us-gaap_SellingAndMarketingExpenseMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_SellingAndMarketingExpenseMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Selling And Marketing Expense [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:type="locator" xlink:label="us-gaap_ResearchAndDevelopmentExpenseMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_ResearchAndDevelopmentExpenseMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Technology and development</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ResearchAndDevelopmentExpenseMember" xlink:to="us-gaap_ResearchAndDevelopmentExpenseMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ResearchAndDevelopmentExpenseMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Research And Development Expense [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:type="locator" xlink:label="us-gaap_GeneralAndAdministrativeExpenseMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_GeneralAndAdministrativeExpenseMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">General and administrative</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GeneralAndAdministrativeExpenseMember" xlink:to="us-gaap_GeneralAndAdministrativeExpenseMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_GeneralAndAdministrativeExpenseMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">General And Administrative Expense [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" />
    <label xml:lang="en-US" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Stock-based compensation expense, by operating expense category</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" />
    <label xml:lang="en-US" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Stock-based compensation expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AllocatedShareBasedCompensationExpense" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Allocated Share Based Compensation Expense</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:type="locator" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:type="locator" xlink:label="us-gaap_AwardTypeAxis" />
    <label xml:lang="en-US" xlink:label="us-gaap_AwardTypeAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Award Type</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_AwardTypeAxis_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_AwardTypeAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Award Type [Axis]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Equity Award</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:type="locator" xlink:label="us-gaap_EmployeeStockOptionMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_EmployeeStockOptionMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Stock Options</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeStockOptionMember" xlink:to="us-gaap_EmployeeStockOptionMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_EmployeeStockOptionMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Employee Stock Option [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Stock-Based Compensation</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award [Line Items]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Shares Under Option</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Roll Forward</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Outstanding at the beginning of the period (in shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Number</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Granted (in shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Options Grants In Period Gross</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:type="locator" xlink:label="us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" />
    <label xml:lang="en-US" xlink:label="us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Exercised (in shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:to="us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Stock Issued During Period Shares Stock Options Exercised</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Cancelled (in shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Options Forfeitures In Period</label>
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Outstanding at the end of the period (in shares)</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Exercisable as of September 30, 2018</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Options Exercisable Number</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Weighted-Average Exercise Price</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Weighted Average Exercise Price Rollforward</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Outstanding at the beginning of the period (in dollars per share)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Weighted Average Exercise Price</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Granted (in dollars per share)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangements By Share Based Payment Award Options Grants In Period Weighted Average Exercise Price</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Exercised (in dollars per share)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangements By Share Based Payment Award Options Exercises In Period Weighted Average Exercise Price</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cancelled (in dollars per share)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangements By Share Based Payment Award Options Forfeitures In Period Weighted Average Exercise Price</label>
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Outstanding at the end of the period (in dollars per share)</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Exercisable as of September 30, 2018</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Options Exercisable Weighted Average Exercise Price</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameAxis" xlink:type="locator" xlink:label="us-gaap_PlanNameAxis" />
    <label xml:lang="en-US" xlink:label="us-gaap_PlanNameAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Plan Name</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PlanNameAxis" xlink:to="us-gaap_PlanNameAxis_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PlanNameAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Plan Name [Axis]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain" xlink:type="locator" xlink:label="us-gaap_PlanNameDomain" />
    <label xml:lang="en-US" xlink:label="us-gaap_PlanNameDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Plan Name</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PlanNameDomain" xlink:to="us-gaap_PlanNameDomain_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_PlanNameDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Plan Name [Domain]</label>
    <loc xlink:href="ttd-20180930.xsd#ttd_TwoThousandAndSixteenIncentiveAwardPlanMember" xlink:type="locator" xlink:label="ttd_TwoThousandAndSixteenIncentiveAwardPlanMember" />
    <label xml:lang="en-US" xlink:label="ttd_TwoThousandAndSixteenIncentiveAwardPlanMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation">Two thousand and sixteen incentive award plan.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="ttd_TwoThousandAndSixteenIncentiveAwardPlanMember" xlink:to="ttd_TwoThousandAndSixteenIncentiveAwardPlanMember_lbl" />
    <label xml:lang="en-US" xlink:label="ttd_TwoThousandAndSixteenIncentiveAwardPlanMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2016 Incentive Award Plan</label>
    <label xml:lang="en-US" xlink:label="ttd_TwoThousandAndSixteenIncentiveAwardPlanMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Two Thousand And Sixteen Incentive Award Plan [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of additional shares authorized for grant</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Number Of Additional Shares Authorized</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Unvested, Shares, beginning balance</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Number</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Granted, Shares</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Vested, Shares</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel">Forfeited, Shares</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeited In Period</label>
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Unvested, Shares, ending balance</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Unvested, Weighted-Average Grant Date Fair Value Per Share, beginning balance</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Weighted Average Grant Date Fair Value</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Granted, Weighted-Average Grant Date Fair Value Per Share</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Weighted Average Grant Date Fair Value</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Vested, Weighted-Average Grant Date Fair Value Per Share</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Weighted Average Grant Date Fair Value</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Forfeited, Weighted-Average Grant Date Fair Value Per Share</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeitures Weighted Average Grant Date Fair Value</label>
    <label xml:lang="en-US" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Unvested, Weighted-Average Grant Date Fair Value Per Share, ending balance | $ / shares</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockMember" xlink:type="locator" xlink:label="us-gaap_EmployeeStockMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_EmployeeStockMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">ESPP</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeStockMember" xlink:to="us-gaap_EmployeeStockMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_EmployeeStockMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Employee Stock [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" />
    <label xml:lang="en-US" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Federal tax at statutory rate (as a percent)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Effective Income Tax Rate Reconciliation At Federal Statutory Income Tax Rate</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost" xlink:type="locator" xlink:label="us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Benefits associated with stock-based awards</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost" xlink:to="us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Income Tax Reconciliation Nondeductible Expense Share Based Compensation Cost</label>
    <loc xlink:href="ttd-20180930.xsd#ttd_CommitmentsAbstract" xlink:type="locator" xlink:label="ttd_CommitmentsAbstract" />
    <label xml:lang="en-US" xlink:label="ttd_CommitmentsAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation">Commitments [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="ttd_CommitmentsAbstract" xlink:to="ttd_CommitmentsAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="ttd_CommitmentsAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Commitments [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueAbstract" xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueAbstract" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Non-cancelable minimum lease commitments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueAbstract_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueAbstract_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Operating Leases Future Minimum Payments Due [Abstract]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Remainder of 2018</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Operating Leases Future Minimum Payments Remainder Of Fiscal Year</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2019</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Operating Leases Future Minimum Payments Due In Two Years</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2020</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Operating Leases Future Minimum Payments Due In Three Years</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2021</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Operating Leases Future Minimum Payments Due In Four Years</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">2022</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Operating Leases Future Minimum Payments Due In Five Years</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Thereafter</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Operating Leases Future Minimum Payments Due Thereafter</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDue_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Operating Leases Future Minimum Payments Due</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:type="locator" xlink:label="us-gaap_ScheduleOfGuaranteeObligationsTable" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfGuaranteeObligationsTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Schedule Of Guarantee Obligations [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:to="us-gaap_ScheduleOfGuaranteeObligationsTable_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_ScheduleOfGuaranteeObligationsTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Schedule Of Guarantee Obligations [Table]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:type="locator" xlink:label="us-gaap_GuaranteeObligationsByNatureAxis" />
    <label xml:lang="en-US" xlink:label="us-gaap_GuaranteeObligationsByNatureAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Guarantor Obligations, Nature</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GuaranteeObligationsByNatureAxis" xlink:to="us-gaap_GuaranteeObligationsByNatureAxis_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_GuaranteeObligationsByNatureAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Guarantee Obligations By Nature [Axis]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:type="locator" xlink:label="us-gaap_GuaranteeObligationsNatureDomain" />
    <label xml:lang="en-US" xlink:label="us-gaap_GuaranteeObligationsNatureDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Guarantor Obligations, Nature</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GuaranteeObligationsNatureDomain" xlink:to="us-gaap_GuaranteeObligationsNatureDomain_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_GuaranteeObligationsNatureDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Guarantee Obligations Nature [Domain]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IndemnificationGuaranteeMember" xlink:type="locator" xlink:label="us-gaap_IndemnificationGuaranteeMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_IndemnificationGuaranteeMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Indemnifications</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IndemnificationGuaranteeMember" xlink:to="us-gaap_IndemnificationGuaranteeMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_IndemnificationGuaranteeMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Indemnification Guarantee [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:type="locator" xlink:label="us-gaap_GuaranteeObligationsLineItems" />
    <label xml:lang="en-US" xlink:label="us-gaap_GuaranteeObligationsLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Guarantees and Indemnifications</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GuaranteeObligationsLineItems" xlink:to="us-gaap_GuaranteeObligationsLineItems_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_GuaranteeObligationsLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Guarantee Obligations [Line Items]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GuaranteeObligationsCurrentCarryingValue" xlink:type="locator" xlink:label="us-gaap_GuaranteeObligationsCurrentCarryingValue" />
    <label xml:lang="en-US" xlink:label="us-gaap_GuaranteeObligationsCurrentCarryingValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Recorded obligation</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GuaranteeObligationsCurrentCarryingValue" xlink:to="us-gaap_GuaranteeObligationsCurrentCarryingValue_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_GuaranteeObligationsCurrentCarryingValue_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Guarantee Obligations Current Carrying Value</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTable" xlink:type="locator" xlink:label="us-gaap_SubsequentEventTable" />
    <label xml:lang="en-US" xlink:label="us-gaap_SubsequentEventTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Subsequent Event [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventTable" xlink:to="us-gaap_SubsequentEventTable_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_SubsequentEventTable_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Subsequent Event [Table]</label>
    <loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:type="locator" xlink:label="srt_RangeAxis" />
    <label xml:lang="en-US" xlink:label="srt_RangeAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Range</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_RangeAxis" xlink:to="srt_RangeAxis_lbl" />
    <label xml:lang="en-US" xlink:label="srt_RangeAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Range [Axis]</label>
    <loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:type="locator" xlink:label="srt_RangeMember" />
    <label xml:lang="en-US" xlink:label="srt_RangeMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Range</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_RangeMember" xlink:to="srt_RangeMember_lbl" />
    <label xml:lang="en-US" xlink:label="srt_RangeMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Range [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:type="locator" xlink:label="srt_MinimumMember" />
    <label xml:lang="en-US" xlink:label="srt_MinimumMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Minimum</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_MinimumMember" xlink:to="srt_MinimumMember_lbl" />
    <label xml:lang="en-US" xlink:label="srt_MinimumMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Minimum [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:type="locator" xlink:label="srt_MaximumMember" />
    <label xml:lang="en-US" xlink:label="srt_MaximumMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Maximum</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_MaximumMember" xlink:to="srt_MaximumMember_lbl" />
    <label xml:lang="en-US" xlink:label="srt_MaximumMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Maximum [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VariableRateAxis" xlink:type="locator" xlink:label="us-gaap_VariableRateAxis" />
    <label xml:lang="en-US" xlink:label="us-gaap_VariableRateAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Variable Rate</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_VariableRateAxis" xlink:to="us-gaap_VariableRateAxis_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_VariableRateAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Variable Rate [Axis]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VariableRateDomain" xlink:type="locator" xlink:label="us-gaap_VariableRateDomain" />
    <label xml:lang="en-US" xlink:label="us-gaap_VariableRateDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Variable Rate</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_VariableRateDomain" xlink:to="us-gaap_VariableRateDomain_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_VariableRateDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Variable Rate [Domain]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalFundsEffectiveSwapRateMember" xlink:type="locator" xlink:label="us-gaap_FederalFundsEffectiveSwapRateMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_FederalFundsEffectiveSwapRateMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Federal Funds Rate</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FederalFundsEffectiveSwapRateMember" xlink:to="us-gaap_FederalFundsEffectiveSwapRateMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_FederalFundsEffectiveSwapRateMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Federal Funds Effective Swap Rate [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:type="locator" xlink:label="us-gaap_LondonInterbankOfferedRateLIBORMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_LondonInterbankOfferedRateLIBORMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">LIBOR</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:to="us-gaap_LondonInterbankOfferedRateLIBORMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_LondonInterbankOfferedRateLIBORMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">London Interbank Offered Rate L I B O R [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BaseRateMember" xlink:type="locator" xlink:label="us-gaap_BaseRateMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_BaseRateMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Base Rate</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BaseRateMember" xlink:to="us-gaap_BaseRateMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_BaseRateMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Base Rate [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:type="locator" xlink:label="us-gaap_DebtInstrumentAxis" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtInstrumentAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Debt Instrument</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentAxis" xlink:to="us-gaap_DebtInstrumentAxis_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtInstrumentAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Debt Instrument [Axis]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:type="locator" xlink:label="us-gaap_DebtInstrumentNameDomain" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtInstrumentNameDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Debt Instrument, Name</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentNameDomain" xlink:to="us-gaap_DebtInstrumentNameDomain_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtInstrumentNameDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Debt Instrument Name [Domain]</label>
    <loc xlink:href="ttd-20180930.xsd#ttd_SwinglineBorrowingsMember" xlink:type="locator" xlink:label="ttd_SwinglineBorrowingsMember" />
    <label xml:lang="en-US" xlink:label="ttd_SwinglineBorrowingsMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation">Swingline borrowings.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="ttd_SwinglineBorrowingsMember" xlink:to="ttd_SwinglineBorrowingsMember_lbl" />
    <label xml:lang="en-US" xlink:label="ttd_SwinglineBorrowingsMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Swingline Borrowings</label>
    <label xml:lang="en-US" xlink:label="ttd_SwinglineBorrowingsMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Swingline Borrowings [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LetterOfCreditMember" xlink:type="locator" xlink:label="us-gaap_LetterOfCreditMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_LetterOfCreditMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Letter of Credit</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LetterOfCreditMember" xlink:to="us-gaap_LetterOfCreditMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_LetterOfCreditMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Letter Of Credit [Member]</label>
    <loc xlink:href="ttd-20180930.xsd#ttd_SecondAAndRCreditFacilityMember" xlink:type="locator" xlink:label="ttd_SecondAAndRCreditFacilityMember" />
    <label xml:lang="en-US" xlink:label="ttd_SecondAAndRCreditFacilityMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation">Second A&amp;R credit facility.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="ttd_SecondAAndRCreditFacilityMember" xlink:to="ttd_SecondAAndRCreditFacilityMember_lbl" />
    <label xml:lang="en-US" xlink:label="ttd_SecondAAndRCreditFacilityMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Second A&amp;R Credit Facility</label>
    <label xml:lang="en-US" xlink:label="ttd_SecondAAndRCreditFacilityMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Second A And R Credit Facility [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:type="locator" xlink:label="us-gaap_SubsequentEventTypeAxis" />
    <label xml:lang="en-US" xlink:label="us-gaap_SubsequentEventTypeAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Subsequent Event Type</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventTypeAxis" xlink:to="us-gaap_SubsequentEventTypeAxis_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_SubsequentEventTypeAxis_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Subsequent Event Type [Axis]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:type="locator" xlink:label="us-gaap_SubsequentEventTypeDomain" />
    <label xml:lang="en-US" xlink:label="us-gaap_SubsequentEventTypeDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Subsequent Event Type</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventTypeDomain" xlink:to="us-gaap_SubsequentEventTypeDomain_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_SubsequentEventTypeDomain_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Subsequent Event Type [Domain]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventMember" xlink:type="locator" xlink:label="us-gaap_SubsequentEventMember" />
    <label xml:lang="en-US" xlink:label="us-gaap_SubsequentEventMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Subsequent Event</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventMember" xlink:to="us-gaap_SubsequentEventMember_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_SubsequentEventMember_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Subsequent Event [Member]</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:type="locator" xlink:label="us-gaap_SubsequentEventLineItems" />
    <label xml:lang="en-US" xlink:label="us-gaap_SubsequentEventLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Subsequent Event [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventLineItems" xlink:to="us-gaap_SubsequentEventLineItems_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_SubsequentEventLineItems_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Subsequent Event [Line Items]</label>
    <loc xlink:href="ttd-20180930.xsd#ttd_LineOfCreditAdditionalBorrowingCapacity" xlink:type="locator" xlink:label="ttd_LineOfCreditAdditionalBorrowingCapacity" />
    <label xml:lang="en-US" xlink:label="ttd_LineOfCreditAdditionalBorrowingCapacity_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation">Line of credit additional borrowing capacity.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="ttd_LineOfCreditAdditionalBorrowingCapacity" xlink:to="ttd_LineOfCreditAdditionalBorrowingCapacity_lbl" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:type="locator" xlink:label="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" />
    <label xml:lang="en-US" xlink:label="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Credit facility, borrowing capacity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:to="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Line Of Credit Facility Maximum Borrowing Capacity</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases" xlink:type="locator" xlink:label="us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases" />
    <label xml:lang="en-US" xlink:label="us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Credit facility, borrowing capacity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases" xlink:to="us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Line Of Credit Facility Capacity Available For Specific Purpose Other Than For Trade Purchases</label>
    <label xml:lang="en-US" xlink:label="ttd_LineOfCreditAdditionalBorrowingCapacity_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Credit Facility additional borrowing amount</label>
    <label xml:lang="en-US" xlink:label="ttd_LineOfCreditAdditionalBorrowingCapacity_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Line Of Credit Additional Borrowing Capacity</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:type="locator" xlink:label="us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Credit Facility, interest rate above base rate</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:to="us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Debt Instrument Basis Spread On Variable Rate1</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage" xlink:type="locator" xlink:label="us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage" />
    <label xml:lang="en-US" xlink:label="us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Credit Facility, fee for undrawn amounts</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage" xlink:to="us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Line Of Credit Facility Unused Capacity Commitment Fee Percentage</label>
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentMaturityDate" xlink:type="locator" xlink:label="us-gaap_DebtInstrumentMaturityDate" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtInstrumentMaturityDate_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Credit facility, maturity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentMaturityDate" xlink:to="us-gaap_DebtInstrumentMaturityDate_lbl" />
    <label xml:lang="en-US" xlink:label="us-gaap_DebtInstrumentMaturityDate_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Debt Instrument Maturity Date</label>
    <loc xlink:href="ttd-20180930.xsd#ttd_LineOfCreditFacilityCovenantRatio" xlink:type="locator" xlink:label="ttd_LineOfCreditFacilityCovenantRatio" />
    <label xml:lang="en-US" xlink:label="ttd_LineOfCreditFacilityCovenantRatio_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation">Minimum consolidated fixed charge coverage ratio required to be maintained by the entity under the terms of the credit facility agreement.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="ttd_LineOfCreditFacilityCovenantRatio" xlink:to="ttd_LineOfCreditFacilityCovenantRatio_lbl" />
    <label xml:lang="en-US" xlink:label="ttd_LineOfCreditFacilityCovenantRatio_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Consolidated fixed charge coverage ratio</label>
    <label xml:lang="en-US" xlink:label="ttd_LineOfCreditFacilityCovenantRatio_lbl" xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label">Line Of Credit Facility Covenant Ratio</label>
  </labelLink>
</linkbase>
