<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.6.0.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>337</ContextCount>
  <ElementCount>495</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>107</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002501 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003000 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/ConsolidatedStatementsOfOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004000 - Statement - Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004001 - Statement - Consolidated Statements of Comprehensive Income (Loss) - Parenthetical</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/ConsolidatedStatementsOfComprehensiveIncomeLossParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss) - Parenthetical</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1005000 - Statement - Consolidated Statements of Stockholders' Equity (Deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/ConsolidatedStatementsOfStockholdersEquityDeficit</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity (Deficit)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1006000 - Statement - Consolidated Statement of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/ConsolidatedStatementOfCashFlows</Role>
      <ShortName>Consolidated Statement of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Nature of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/NatureOfOperations</Role>
      <ShortName>Nature of Operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Organization and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Net Income (Loss) Per Share Attributable to Common Stockholders</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/NetIncomeLossPerShareAttributableToCommonStockholders</Role>
      <ShortName>Net Income (Loss) Per Share Attributable to Common Stockholders</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/Investments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/PropertyAndEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Internal Use Software Development Costs</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/InternalUseSoftwareDevelopmentCosts</Role>
      <ShortName>Internal Use Software Development Costs</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Business Combinations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/BusinessCombinations</Role>
      <ShortName>Business Combinations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/GoodwillAndIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Accounts Payable and Accrued Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpenses</Role>
      <ShortName>Accounts Payable and Accrued Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Debt and Capital Lease Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/DebtAndCapitalLeaseArrangements</Role>
      <ShortName>Debt and Capital Lease Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Capitalization</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/Capitalization</Role>
      <ShortName>Capitalization</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Accumulated Other Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/AccumulatedOtherComprehensiveLoss</Role>
      <ShortName>Accumulated Other Comprehensive Loss</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/StockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - Restructuring and Other Exit Costs</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/RestructuringAndOtherExitCosts</Role>
      <ShortName>Restructuring and Other Exit Costs</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2117100 - Disclosure - Geographic Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/GeographicInformation</Role>
      <ShortName>Geographic Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2119100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2120100 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2121100 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Organization and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2302302 - Disclosure - Organization and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Net Income (Loss) Per Share Attributable to Common Stockholders (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/NetIncomeLossPerShareAttributableToCommonStockholdersTables</Role>
      <ShortName>Net Income (Loss) Per Share Attributable to Common Stockholders (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/NetIncomeLossPerShareAttributableToCommonStockholders</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/InvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/Investments</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/PropertyAndEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/PropertyAndEquipment</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/Tables</Role>
      <ShortName>(Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Business Combinations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/BusinessCombinationsTables</Role>
      <ShortName>Business Combinations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/BusinessCombinations</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2308301 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/GoodwillAndIntangibleAssets</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/FairValueMeasurements</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Accounts Payable and Accrued Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpensesTables</Role>
      <ShortName>Accounts Payable and Accrued Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpenses</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2311301 - Disclosure - Debt and Capital Lease Arrangements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/DebtAndCapitalLeaseArrangementsTables</Role>
      <ShortName>Debt and Capital Lease Arrangements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/DebtAndCapitalLeaseArrangements</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - Capitalization (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/CapitalizationTables</Role>
      <ShortName>Capitalization (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/Capitalization</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Accumulated Other Comprehensive Loss (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/AccumulatedOtherComprehensiveLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Loss (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/AccumulatedOtherComprehensiveLoss</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2314301 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/StockBasedCompensation</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2315301 - Disclosure - Restructuring and Other Exit Costs (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/RestructuringAndOtherExitCostsTables</Role>
      <ShortName>Restructuring and Other Exit Costs (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/RestructuringAndOtherExitCosts</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2316302 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/IncomeTaxes</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2317301 - Disclosure - Geographic Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/GeographicInformationTables</Role>
      <ShortName>Geographic Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/GeographicInformation</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2319301 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2401401 - Disclosure - Nature of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/NatureOfOperationsDetails</Role>
      <ShortName>Nature of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/NatureOfOperations</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2402403 - Disclosure - Organization and Summary of Significant Accounting Policies (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2402404 - Disclosure - Organization and Summary of Significant Accounting Policies Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPropertyAndEquipmentDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2402405 - Disclosure - Organization and Summary of Significant Accounting Policies Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesIntangibleAssetsDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Net Income (Loss) Per Share Attributable to Common Stockholders (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/NetIncomeLossPerShareAttributableToCommonStockholdersDetails</Role>
      <ShortName>Net Income (Loss) Per Share Attributable to Common Stockholders (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/NetIncomeLossPerShareAttributableToCommonStockholdersTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - Net Income (Loss) Per Share Attributable to Common Stockholders (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/NetIncomeLossPerShareAttributableToCommonStockholdersNarrativeDetails</Role>
      <ShortName>Net Income (Loss) Per Share Attributable to Common Stockholders (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/NetIncomeLossPerShareAttributableToCommonStockholdersTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Investments (Investments in Marketable Securities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/InvestmentsInvestmentsInMarketableSecuritiesDetails</Role>
      <ShortName>Investments (Investments in Marketable Securities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/InvestmentsTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Investments (Amortized cost and Fair Value of Marketable Securities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/InvestmentsAmortizedCostAndFairValueOfMarketableSecuritiesDetails</Role>
      <ShortName>Investments (Amortized cost and Fair Value of Marketable Securities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/InvestmentsTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2404404 - Disclosure - Investments (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/InvestmentsNarrativeDetails</Role>
      <ShortName>Investments (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/InvestmentsTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/PropertyAndEquipmentDetails</Role>
      <ShortName>Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/PropertyAndEquipmentTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2405403 - Disclosure - Property and Equipment (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/PropertyAndEquipmentNarrativeDetails</Role>
      <ShortName>Property and Equipment (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/PropertyAndEquipmentTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/NarrativeDetails</Role>
      <ShortName>(Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2406403 - Disclosure - Internal Use Software Development Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/InternalUseSoftwareDevelopmentCostsDetails</Role>
      <ShortName>Internal Use Software Development Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/InternalUseSoftwareDevelopmentCosts</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Business Combinations (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/BusinessCombinationsNarrativeDetails</Role>
      <ShortName>Business Combinations (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/BusinessCombinationsTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Business Combinations (Allocation of Total Purchase Considerations) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/BusinessCombinationsAllocationOfTotalPurchaseConsiderationsDetails</Role>
      <ShortName>Business Combinations (Allocation of Total Purchase Considerations) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/BusinessCombinationsTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2407404 - Disclosure - Business Combinations (Acquired Intangible Assets and Estimated Useful Lives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/BusinessCombinationsAcquiredIntangibleAssetsAndEstimatedUsefulLivesDetails</Role>
      <ShortName>Business Combinations (Acquired Intangible Assets and Estimated Useful Lives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/BusinessCombinationsTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2407405 - Disclosure - Business Combinations Pro forma information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/BusinessCombinationsProFormaInformationDetails</Role>
      <ShortName>Business Combinations Pro forma information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2408402 - Disclosure - Goodwill and Intangible Assets (Goodwill) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsGoodwillDetails</Role>
      <ShortName>Goodwill and Intangible Assets (Goodwill) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2408403 - Disclosure - Goodwill and Intangible Assets (Finite-Lived Intangible Assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsFiniteLivedIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Intangible Assets (Finite-Lived Intangible Assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Goodwill and Intangible Assets (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsNarrativeDetails</Role>
      <ShortName>Goodwill and Intangible Assets (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2408405 - Disclosure - Goodwill and Intangible Assets (Finite-Lived Intangible Assets, Future Amortization Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and Intangible Assets (Finite-Lived Intangible Assets, Future Amortization Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Fair Value Measurements (Financial Instruments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/FairValueMeasurementsFinancialInstrumentsDetails</Role>
      <ShortName>Fair Value Measurements (Financial Instruments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Fair Value Measurements (Change in Fair Value) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/FairValueMeasurementsChangeInFairValueDetails</Role>
      <ShortName>Fair Value Measurements (Change in Fair Value) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Fair Value Measurements (Change In Fair Value Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/FairValueMeasurementsChangeInFairValueLiabilitiesDetails</Role>
      <ShortName>Fair Value Measurements (Change In Fair Value Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2409405 - Disclosure - Fair Value Measurements (Weighted-Average Assumptions) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/FairValueMeasurementsWeightedAverageAssumptionsDetails</Role>
      <ShortName>Fair Value Measurements (Weighted-Average Assumptions) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2409406 - Disclosure - Fair Value Measurements (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/FairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Fair Value Measurements (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Accounts Payable and Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpensesDetails</Role>
      <ShortName>Accounts Payable and Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpensesTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2411403 - Disclosure - Debt and Capital Lease Arrangements (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/DebtAndCapitalLeaseArrangementsNarrativeDetails</Role>
      <ShortName>Debt and Capital Lease Arrangements (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/DebtAndCapitalLeaseArrangementsTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Capitalization (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/CapitalizationNarrativeDetails</Role>
      <ShortName>Capitalization (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/CapitalizationTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - Capitalization (Convertible Preferred Stock) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/CapitalizationConvertiblePreferredStockDetails</Role>
      <ShortName>Capitalization (Convertible Preferred Stock) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/CapitalizationTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Accumulated Other Comprehensive Loss - Schedule of Components of Accumulated Other Comprehensive Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/AccumulatedOtherComprehensiveLossScheduleOfComponentsOfAccumulatedOtherComprehensiveLossDetails</Role>
      <ShortName>Accumulated Other Comprehensive Loss - Schedule of Components of Accumulated Other Comprehensive Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2414402 - Disclosure - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/StockBasedCompensationDetails</Role>
      <ShortName>Stock-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/StockBasedCompensationTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2414403 - Disclosure - Stock-Based Compensation (Stock Options Outstanding) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsOutstandingDetails</Role>
      <ShortName>Stock-Based Compensation (Stock Options Outstanding) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/StockBasedCompensationTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2414404 - Disclosure - Stock-Based Compensation (Stock Options Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsNarrativeDetails</Role>
      <ShortName>Stock-Based Compensation (Stock Options Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/StockBasedCompensationTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2414405 - Disclosure - Stock-Based Compensation (Valuation Assumptions) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/StockBasedCompensationValuationAssumptionsDetails</Role>
      <ShortName>Stock-Based Compensation (Valuation Assumptions) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/StockBasedCompensationTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2414406 - Disclosure - Stock-Based Compensation (Restricted Stock Activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockActivityDetails</Role>
      <ShortName>Stock-Based Compensation (Restricted Stock Activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/StockBasedCompensationTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2414407 - Disclosure - Stock-Based Compensation (Restricted Stock Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockNarrativeDetails</Role>
      <ShortName>Stock-Based Compensation (Restricted Stock Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/StockBasedCompensationTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2414408 - Disclosure - Stock-Based Compensation (Restricted Stock Units Activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsActivityDetails</Role>
      <ShortName>Stock-Based Compensation (Restricted Stock Units Activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/StockBasedCompensationTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2414409 - Disclosure - Stock-Based Compensation (Restricted Stock Units Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsNarrativeDetails</Role>
      <ShortName>Stock-Based Compensation (Restricted Stock Units Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/StockBasedCompensationTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2414410 - Disclosure - Stock-Based Compensation (Employee Stock Purchase Plan Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails</Role>
      <ShortName>Stock-Based Compensation (Employee Stock Purchase Plan Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/StockBasedCompensationTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>2414412 - Disclosure - Stock-Based Compensation (Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/StockBasedCompensationExpenseDetails</Role>
      <ShortName>Stock-Based Compensation (Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/StockBasedCompensationTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>2415402 - Disclosure - Restructuring and Other Exit Costs - Schedule of Restructuring and Other Exit Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/RestructuringAndOtherExitCostsScheduleOfRestructuringAndOtherExitCostsDetails</Role>
      <ShortName>Restructuring and Other Exit Costs - Schedule of Restructuring and Other Exit Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>2416401 - Disclosure - Income Taxes (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/IncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/IncomeTaxesTables</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - Income Taxes (Income before Income Tax, Domestic and Foreign) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/IncomeTaxesIncomeBeforeIncomeTaxDomesticAndForeignDetails</Role>
      <ShortName>Income Taxes (Income before Income Tax, Domestic and Foreign) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/IncomeTaxesTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>2416404 - Disclosure - Income Taxes (Components of Income Tax Expense (Benefit)) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/IncomeTaxesComponentsOfIncomeTaxExpenseBenefitDetails</Role>
      <ShortName>Income Taxes (Components of Income Tax Expense (Benefit)) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/IncomeTaxesTables</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>2416405 - Disclosure - Income Taxes (Effective Income Tax Rate Reconciliation) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/IncomeTaxesEffectiveIncomeTaxRateReconciliationDetails</Role>
      <ShortName>Income Taxes (Effective Income Tax Rate Reconciliation) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/IncomeTaxesTables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>2416406 - Disclosure - Income Taxes (Deferred Tax Assets and Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes (Deferred Tax Assets and Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/IncomeTaxesTables</ParentRole>
      <Position>93</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>2416407 - Disclosure - Income Taxes (Unrecognized Tax Benefits) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>Income Taxes (Unrecognized Tax Benefits) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/IncomeTaxesTables</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>2416408 - Disclosure - Income Taxes (Narrative K) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/IncomeTaxesNarrativeKDetails</Role>
      <ShortName>Income Taxes (Narrative K) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/IncomeTaxesTables</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>2417402 - Disclosure - Geographic Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/GeographicInformationDetails</Role>
      <ShortName>Geographic Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/GeographicInformationTables</ParentRole>
      <Position>96</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>2419402 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/CommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>97</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>2419403 - Disclosure - (Operating Leases, Future Minimum Payments Due) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/OperatingLeasesFutureMinimumPaymentsDueDetails</Role>
      <ShortName>(Operating Leases, Future Minimum Payments Due) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>2420401 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/RelatedPartyTransactions</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="rubi-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>2421401 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rubiconproject.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rubiconproject.com/role/SubsequentEvents</ParentRole>
      <Position>100</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>rubi-20161231.xml</File>
    <File>rubi-20161231.xsd</File>
    <File>rubi-20161231_cal.xml</File>
    <File>rubi-20161231_def.xml</File>
    <File>rubi-20161231_lab.xml</File>
    <File>rubi-20161231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
