<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2017 Workiva-->
<!--r:64fe6ada-3fee-4714-8b39-60afd1878447,g:e55598d0-e978-4ba4-b8ef-cc0c0bd1e0b6-->
<link: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" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/DocumentandEntityInformation" xlink:type="simple" xlink:href="rubi-20180930.xsd#DocumentandEntityInformation"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/DocumentandEntityInformation" xlink:type="extended" id="i30f33368b3264fb49bc7899eab473235_ccd7f0fc-cf66-4596-ab37-64980df33716"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="rubi-20180930.xsd#ConsolidatedBalanceSheets"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedBalanceSheets" xlink:type="extended" id="i055d121d32c3434fb1953049d99b6fb4_3fb17c7b-2d36-48bf-8b5d-abaa9c90d241"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" xlink:href="rubi-20180930.xsd#ConsolidatedBalanceSheetsParenthetical"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" id="idf7cad0a962f42998e748d390182bcb6_6e1634ab-4abb-4ac0-85d6-b936852934cb"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="rubi-20180930.xsd#ConsolidatedStatementsofOperations"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsofOperations" xlink:type="extended" id="i8b6fb56b1a874ace9131e37e6a1cccfa_f2531789-a416-4ca6-b142-638b9eed7cfa"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="simple" xlink:href="rubi-20180930.xsd#ConsolidatedStatementsofComprehensiveIncomeLoss"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="extended" id="i82b7ba4d48fc4b978efe7b8cb803e81f_3a8e0f8b-24c7-412d-8730-926044eebb85"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsofStockholdersEquityDeficit" xlink:type="simple" xlink:href="rubi-20180930.xsd#ConsolidatedStatementsofStockholdersEquityDeficit"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsofStockholdersEquityDeficit" xlink:type="extended" id="i07344a352b6340f4a70cae2f465f3d0d_9d9479f7-05f5-49b4-b6c7-6fa3623e0cba">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_a3beab5f-e463-4e5d-91fd-7754eda2540b" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_0151aa5e-f7de-4f38-9cf8-a64a7159b80e" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_a3beab5f-e463-4e5d-91fd-7754eda2540b" xlink:to="loc_us-gaap_StatementTable_0151aa5e-f7de-4f38-9cf8-a64a7159b80e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_3a9ef3e6-3593-4909-8016-052d2cdd6f21" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_0151aa5e-f7de-4f38-9cf8-a64a7159b80e" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_3a9ef3e6-3593-4909-8016-052d2cdd6f21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_d77fbc35-2d98-44fb-b8b9-8cd8115a874f_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_3a9ef3e6-3593-4909-8016-052d2cdd6f21" xlink:to="loc_us-gaap_EquityComponentDomain_d77fbc35-2d98-44fb-b8b9-8cd8115a874f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_d77fbc35-2d98-44fb-b8b9-8cd8115a874f" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_3a9ef3e6-3593-4909-8016-052d2cdd6f21" xlink:to="loc_us-gaap_EquityComponentDomain_d77fbc35-2d98-44fb-b8b9-8cd8115a874f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_707104ff-7ef7-4fc5-9675-3b155a2ac261" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_d77fbc35-2d98-44fb-b8b9-8cd8115a874f" xlink:to="loc_us-gaap_CommonStockMember_707104ff-7ef7-4fc5-9675-3b155a2ac261" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_aed3b5f0-dc17-47bf-a454-96e619648828" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_d77fbc35-2d98-44fb-b8b9-8cd8115a874f" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_aed3b5f0-dc17-47bf-a454-96e619648828" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_9ab0e02d-e8b2-4991-aabe-dbbdcab184aa" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_d77fbc35-2d98-44fb-b8b9-8cd8115a874f" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_9ab0e02d-e8b2-4991-aabe-dbbdcab184aa" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_f4d1c780-c678-4e15-ba7d-751bcce49d70" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_d77fbc35-2d98-44fb-b8b9-8cd8115a874f" xlink:to="loc_us-gaap_RetainedEarningsMember_f4d1c780-c678-4e15-ba7d-751bcce49d70" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_a3beab5f-e463-4e5d-91fd-7754eda2540b" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_ba7d91dd-5754-439b-ac09-558ed0263f36" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_ba7d91dd-5754-439b-ac09-558ed0263f36" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_09dcb8be-89ce-4b0a-b6f2-520de3047bcc" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_StockholdersEquity_09dcb8be-89ce-4b0a-b6f2-520de3047bcc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_a664e2d0-e297-466a-9fe3-a798d45492da" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_a664e2d0-e297-466a-9fe3-a798d45492da" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_ec9e7372-cdd4-4b18-a594-dee26f72c6da" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_ec9e7372-cdd4-4b18-a594-dee26f72c6da" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_6921e7af-a2f2-40a5-b9b7-521cd7750051" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_6921e7af-a2f2-40a5-b9b7-521cd7750051" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_0e6407e1-50d6-4e5d-a6c6-8683244756a4" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_0e6407e1-50d6-4e5d-a6c6-8683244756a4" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_f77cc460-eefc-4199-a3e2-cce5cfcdfca8" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_f77cc460-eefc-4199-a3e2-cce5cfcdfca8" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_3677db0f-2e8b-44cf-8da6-f219cf51663a" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_3677db0f-2e8b-44cf-8da6-f219cf51663a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_7b4bf70e-e776-49b0-a0af-f042cca55016" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_7b4bf70e-e776-49b0-a0af-f042cca55016" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_6c7350f5-b353-4da0-a67f-eb4df2fd045e" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_6c7350f5-b353-4da0-a67f-eb4df2fd045e" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_d755a97a-630c-486c-98c3-5569b1ab9ced" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_d755a97a-630c-486c-98c3-5569b1ab9ced" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_8a806402-dc69-49fc-9d75-0ac9b1da1f64" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_8a806402-dc69-49fc-9d75-0ac9b1da1f64" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_8ea7dc30-0cb2-407d-b439-102ff395cc67" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_8ea7dc30-0cb2-407d-b439-102ff395cc67" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_6aea14ed-69c7-49ea-b035-a6c616385c42" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_6aea14ed-69c7-49ea-b035-a6c616385c42" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_f080d385-d3cc-4660-b3de-b7d5670efb7c" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_02749ed6-49a6-48cc-8ebc-0409f75d2755" xlink:to="loc_us-gaap_NetIncomeLoss_f080d385-d3cc-4660-b3de-b7d5670efb7c" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_2388e0ed-8e8c-49a6-bb3c-36a27cc11746" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_ed3a9364-e223-4dda-82cb-ae4ad22c5ba6" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementofCashFlows" xlink:type="simple" xlink:href="rubi-20180930.xsd#ConsolidatedStatementofCashFlows"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementofCashFlows" xlink:type="extended" id="i975317a8c3834b54bbca9eb6df776af1_ff0284a7-fd23-4f74-9536-4edcbed6301d"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OrganizationandSummaryofSignificantAccountingPolicies" xlink:type="simple" xlink:href="rubi-20180930.xsd#OrganizationandSummaryofSignificantAccountingPolicies"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OrganizationandSummaryofSignificantAccountingPolicies" xlink:type="extended" id="i7c301e5b726e4ca28461e88a01bc3ec4_8755afbd-ebf6-4f5a-9220-53b227b83347"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OrganizationandSummaryofSignificantAccountingPoliciesPolicies" xlink:type="simple" xlink:href="rubi-20180930.xsd#OrganizationandSummaryofSignificantAccountingPoliciesPolicies"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OrganizationandSummaryofSignificantAccountingPoliciesPolicies" xlink:type="extended" id="i375370df22b84b00b599a955bdde6c73_9252e858-f4a5-4fad-940b-918273c0df21"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShare" xlink:type="simple" xlink:href="rubi-20180930.xsd#NetIncomeLossPerShare"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShare" xlink:type="extended" id="i62400a01ea404c3babc267fae0db6d91_d899f438-b21f-482a-9a86-d35b76181cda"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareTables" xlink:type="simple" xlink:href="rubi-20180930.xsd#NetIncomeLossPerShareTables"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareTables" xlink:type="extended" id="ia209e321902d4a36aac8272d76df85b1_ccbd4940-17ec-4b9c-90c7-be77b7845155"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareBasicandDilutedEarningsPerShareDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#NetIncomeLossPerShareBasicandDilutedEarningsPerShareDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareBasicandDilutedEarningsPerShareDetails" xlink:type="extended" id="i40870fdcd73a4e4c83e138b9ee3e8ae0_55465e1b-c5ba-4b2a-a8b6-2ed78aafc952"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareSharesExcludedandIncludedinCalculationofDilutedEarningsPerShareDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#NetIncomeLossPerShareSharesExcludedandIncludedinCalculationofDilutedEarningsPerShareDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareSharesExcludedandIncludedinCalculationofDilutedEarningsPerShareDetails" xlink:type="extended" id="ia42a93c5d0a14f8ab424fc9e9fcaf493_0f0199a9-97e1-435b-aa82-86922dcac29d">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_338dfda6-e9a5-4dec-a2f0-15ee3c4883f9" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_7aa56379-a5e7-4c9d-8c6e-7e8555efa702" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_338dfda6-e9a5-4dec-a2f0-15ee3c4883f9" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_7aa56379-a5e7-4c9d-8c6e-7e8555efa702" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_936b49be-745f-4b75-a56c-19aca9fb35ba" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_7aa56379-a5e7-4c9d-8c6e-7e8555efa702" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_936b49be-745f-4b75-a56c-19aca9fb35ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_11e8f34b-dc8d-4c0d-a2ba-8be5bfe179a0_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_936b49be-745f-4b75-a56c-19aca9fb35ba" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_11e8f34b-dc8d-4c0d-a2ba-8be5bfe179a0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_11e8f34b-dc8d-4c0d-a2ba-8be5bfe179a0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_936b49be-745f-4b75-a56c-19aca9fb35ba" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_11e8f34b-dc8d-4c0d-a2ba-8be5bfe179a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockOptionMember_0765dae2-364c-4c2b-ab8e-837f4c0ed687" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_11e8f34b-dc8d-4c0d-a2ba-8be5bfe179a0" xlink:to="loc_us-gaap_StockOptionMember_0765dae2-364c-4c2b-ab8e-837f4c0ed687" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_930aa439-6497-4002-a45c-01466f30af9b" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_11e8f34b-dc8d-4c0d-a2ba-8be5bfe179a0" xlink:to="loc_us-gaap_RestrictedStockMember_930aa439-6497-4002-a45c-01466f30af9b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_e46ed7c4-f498-472c-8203-eb45a3f18751" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_11e8f34b-dc8d-4c0d-a2ba-8be5bfe179a0" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_e46ed7c4-f498-472c-8203-eb45a3f18751" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_EmployeeStockPurchasePlanMember_39243cdd-88e3-4c42-aec5-54d2354bdb0e" xlink:href="rubi-20180930.xsd#rubi_EmployeeStockPurchasePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_11e8f34b-dc8d-4c0d-a2ba-8be5bfe179a0" xlink:to="loc_rubi_EmployeeStockPurchasePlanMember_39243cdd-88e3-4c42-aec5-54d2354bdb0e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_4f0ec276-04b3-4c86-a0fe-2a7893db0fcd" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_338dfda6-e9a5-4dec-a2f0-15ee3c4883f9" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_4f0ec276-04b3-4c86-a0fe-2a7893db0fcd" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/Revenues" xlink:type="simple" xlink:href="rubi-20180930.xsd#Revenues"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/Revenues" xlink:type="extended" id="icbd5d651f0d749baaeee570c5102e92d_aa272f15-3e34-44c5-b3a9-83fbddd75115"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RevenuesTables" xlink:type="simple" xlink:href="rubi-20180930.xsd#RevenuesTables"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RevenuesTables" xlink:type="extended" id="i71deb9c510e541d6a985bf96bad3e58d_7b54b115-1ed2-4695-9a2f-ff5d5a521e56"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RevenuesDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#RevenuesDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RevenuesDetails" xlink:type="extended" id="i49c6e150970c4af3b89e93ce1107c6ab_21df624a-6177-4331-85b0-2386b2df3242">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_b7a398d4-a5cb-4d0a-b209-0fea60d0adbc" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_f032c652-66fa-41bc-847a-4cc53a66e82f" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_b7a398d4-a5cb-4d0a-b209-0fea60d0adbc" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_f032c652-66fa-41bc-847a-4cc53a66e82f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductOrServiceAxis_f6148009-7873-44e7-b134-0a9b29f47847" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_f032c652-66fa-41bc-847a-4cc53a66e82f" xlink:to="loc_us-gaap_ProductOrServiceAxis_f6148009-7873-44e7-b134-0a9b29f47847" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductsAndServicesDomain_39d98a91-b1fc-40a3-9525-8cb58215774f_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_f6148009-7873-44e7-b134-0a9b29f47847" xlink:to="loc_us-gaap_ProductsAndServicesDomain_39d98a91-b1fc-40a3-9525-8cb58215774f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductsAndServicesDomain_39d98a91-b1fc-40a3-9525-8cb58215774f" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_f6148009-7873-44e7-b134-0a9b29f47847" xlink:to="loc_us-gaap_ProductsAndServicesDomain_39d98a91-b1fc-40a3-9525-8cb58215774f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_IntentMarketingSolutionMember_9613933b-2d72-401d-995a-a33678ee8ceb" xlink:href="rubi-20180930.xsd#rubi_IntentMarketingSolutionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_39d98a91-b1fc-40a3-9525-8cb58215774f" xlink:to="loc_rubi_IntentMarketingSolutionMember_9613933b-2d72-401d-995a-a33678ee8ceb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_550e1ec6-2f6a-45df-a4ab-b18cc67e4027" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_b7a398d4-a5cb-4d0a-b209-0fea60d0adbc" xlink:to="loc_us-gaap_Revenues_550e1ec6-2f6a-45df-a4ab-b18cc67e4027" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_RevenuePaymentTerms_53e84bb1-4ec9-4447-a321-c1f3417a571f" xlink:href="rubi-20180930.xsd#rubi_RevenuePaymentTerms"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_b7a398d4-a5cb-4d0a-b209-0fea60d0adbc" xlink:to="loc_rubi_RevenuePaymentTerms_53e84bb1-4ec9-4447-a321-c1f3417a571f" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RevenuesRevenueDisaggregatedbyGeographicLocationDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#RevenuesRevenueDisaggregatedbyGeographicLocationDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RevenuesRevenueDisaggregatedbyGeographicLocationDetails" xlink:type="extended" id="i4b8fd0b6b3cd4c3fa012c8f339da4343_6968f225-b6d9-44c1-b840-ceb0f9ae9068">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_d5a7c165-577c-477f-ba6b-17e5a14331dd" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_b23a6ce7-f557-4a3c-9d96-966106075308" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_d5a7c165-577c-477f-ba6b-17e5a14331dd" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_b23a6ce7-f557-4a3c-9d96-966106075308" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementGeographicalAxis_eda311a5-37ad-4bae-98dd-df75e9c1f843" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_b23a6ce7-f557-4a3c-9d96-966106075308" xlink:to="loc_us-gaap_StatementGeographicalAxis_eda311a5-37ad-4bae-98dd-df75e9c1f843" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentGeographicalDomain_2cb4610d-60f8-4c6d-9450-4fb1966168d1_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_eda311a5-37ad-4bae-98dd-df75e9c1f843" xlink:to="loc_us-gaap_SegmentGeographicalDomain_2cb4610d-60f8-4c6d-9450-4fb1966168d1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentGeographicalDomain_2cb4610d-60f8-4c6d-9450-4fb1966168d1" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_eda311a5-37ad-4bae-98dd-df75e9c1f843" xlink:to="loc_us-gaap_SegmentGeographicalDomain_2cb4610d-60f8-4c6d-9450-4fb1966168d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_e9a08527-9bc7-4de5-a91b-dab9dca0f720" xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_2cb4610d-60f8-4c6d-9450-4fb1966168d1" xlink:to="loc_country_US_e9a08527-9bc7-4de5-a91b-dab9dca0f720" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_OtherInternationalMember_36f245e6-7163-44a6-8516-ce7a232d3189" xlink:href="rubi-20180930.xsd#rubi_OtherInternationalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_2cb4610d-60f8-4c6d-9450-4fb1966168d1" xlink:to="loc_rubi_OtherInternationalMember_36f245e6-7163-44a6-8516-ce7a232d3189" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_563bbe2e-b8f1-411d-aad7-533f0a6b653f" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_d5a7c165-577c-477f-ba6b-17e5a14331dd" xlink:to="loc_us-gaap_Revenues_563bbe2e-b8f1-411d-aad7-533f0a6b653f" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RevenuesRevenueDisaggregatedbySalesDistributionChannelDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#RevenuesRevenueDisaggregatedbySalesDistributionChannelDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RevenuesRevenueDisaggregatedbySalesDistributionChannelDetails" xlink:type="extended" id="i45f97182196e4e838f1803cf8ce556f8_e20720a2-6399-489e-9ba2-f12843d0277c">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_09243517-8556-46b8-8448-7bcb41d160eb" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_e36073f5-cc68-4133-a14c-b7e5f6718d4e" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_09243517-8556-46b8-8448-7bcb41d160eb" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_e36073f5-cc68-4133-a14c-b7e5f6718d4e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelAxis_887cd22c-45e9-44b5-bea1-dde0e9c88ee2" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_e36073f5-cc68-4133-a14c-b7e5f6718d4e" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelAxis_887cd22c-45e9-44b5-bea1-dde0e9c88ee2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelDomain_00758999-7133-4794-8e3c-5f258c63313b_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_887cd22c-45e9-44b5-bea1-dde0e9c88ee2" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_00758999-7133-4794-8e3c-5f258c63313b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelDomain_00758999-7133-4794-8e3c-5f258c63313b" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_887cd22c-45e9-44b5-bea1-dde0e9c88ee2" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_00758999-7133-4794-8e3c-5f258c63313b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DesktopMember_9e0ee4a0-31a7-4429-822d-37c42824033b" xlink:href="rubi-20180930.xsd#rubi_DesktopMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_00758999-7133-4794-8e3c-5f258c63313b" xlink:to="loc_rubi_DesktopMember_9e0ee4a0-31a7-4429-822d-37c42824033b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_MobileMember_0eb23b58-5aa8-4c0c-84d2-270e2b3bb61e" xlink:href="rubi-20180930.xsd#rubi_MobileMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_00758999-7133-4794-8e3c-5f258c63313b" xlink:to="loc_rubi_MobileMember_0eb23b58-5aa8-4c0c-84d2-270e2b3bb61e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_8a6791a1-743a-4956-b2f3-8dbaa8b191f0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_09243517-8556-46b8-8448-7bcb41d160eb" xlink:to="loc_us-gaap_Revenues_8a6791a1-743a-4956-b2f3-8dbaa8b191f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_91f1cd70-6d44-4b05-a46b-152e658b7b89" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_09243517-8556-46b8-8448-7bcb41d160eb" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_91f1cd70-6d44-4b05-a46b-152e658b7b89" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurements" xlink:type="simple" xlink:href="rubi-20180930.xsd#FairValueMeasurements"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurements" xlink:type="extended" id="ibf5be89b07a24d59931e13127b58c623_b8ae7d24-efed-42ca-b064-d43cf04e3c42"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsTables" xlink:type="simple" xlink:href="rubi-20180930.xsd#FairValueMeasurementsTables"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsTables" xlink:type="extended" id="i201f6586cc4347619c428e8e441cdf28_dc1382d5-4d6f-4881-ad47-a24822b47a06"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsFinancialInstrumentsDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#FairValueMeasurementsFinancialInstrumentsDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsFinancialInstrumentsDetails" xlink:type="extended" id="i1982061b593b4bb6ae5b149e444dad96_9d881a02-74a8-410b-8f3d-8a590e9c5129">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_10343f68-e099-4790-86c7-9c4fbc550912" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_b037e08b-e53d-478b-b25d-2ac6d686f871" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_10343f68-e099-4790-86c7-9c4fbc550912" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_b037e08b-e53d-478b-b25d-2ac6d686f871" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_95adf067-b6b8-4fb9-9dca-f80cb7600dd9" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_b037e08b-e53d-478b-b25d-2ac6d686f871" xlink:to="loc_us-gaap_InvestmentTypeAxis_95adf067-b6b8-4fb9-9dca-f80cb7600dd9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_8b95cfb3-80cc-4cb0-9ea6-4e21a4eceac0_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_95adf067-b6b8-4fb9-9dca-f80cb7600dd9" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_8b95cfb3-80cc-4cb0-9ea6-4e21a4eceac0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_8b95cfb3-80cc-4cb0-9ea6-4e21a4eceac0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_95adf067-b6b8-4fb9-9dca-f80cb7600dd9" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_8b95cfb3-80cc-4cb0-9ea6-4e21a4eceac0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_fb332e55-52b3-4703-b8e6-d771520518e2" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MoneyMarketFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_8b95cfb3-80cc-4cb0-9ea6-4e21a4eceac0" xlink:to="loc_us-gaap_MoneyMarketFundsMember_fb332e55-52b3-4703-b8e6-d771520518e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_6fe7b032-8ffc-4517-83df-a16d79978782" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_8b95cfb3-80cc-4cb0-9ea6-4e21a4eceac0" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_6fe7b032-8ffc-4517-83df-a16d79978782" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_26be2031-88d1-40c3-a0e0-f58f10386a3d" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_8b95cfb3-80cc-4cb0-9ea6-4e21a4eceac0" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_26be2031-88d1-40c3-a0e0-f58f10386a3d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_92608e7a-5153-4570-a573-0798e5cc8372" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_b037e08b-e53d-478b-b25d-2ac6d686f871" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_92608e7a-5153-4570-a573-0798e5cc8372" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_4a4e63a5-2427-4910-a24c-022d2f23ff34_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_92608e7a-5153-4570-a573-0798e5cc8372" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_4a4e63a5-2427-4910-a24c-022d2f23ff34_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_4a4e63a5-2427-4910-a24c-022d2f23ff34" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_92608e7a-5153-4570-a573-0798e5cc8372" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_4a4e63a5-2427-4910-a24c-022d2f23ff34" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_0663822f-6b90-49a4-9427-8d788a9a6bf2" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_4a4e63a5-2427-4910-a24c-022d2f23ff34" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_0663822f-6b90-49a4-9427-8d788a9a6bf2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2d9470e6-42e6-4a40-8d03-0e28db98349c" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_b037e08b-e53d-478b-b25d-2ac6d686f871" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2d9470e6-42e6-4a40-8d03-0e28db98349c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_cdec12b2-4281-495e-ace0-d30b8661f2ae_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2d9470e6-42e6-4a40-8d03-0e28db98349c" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_cdec12b2-4281-495e-ace0-d30b8661f2ae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_cdec12b2-4281-495e-ace0-d30b8661f2ae" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2d9470e6-42e6-4a40-8d03-0e28db98349c" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_cdec12b2-4281-495e-ace0-d30b8661f2ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_a3ba20c2-627c-4388-8cb9-4e3b724d4ce9" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_cdec12b2-4281-495e-ace0-d30b8661f2ae" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_a3ba20c2-627c-4388-8cb9-4e3b724d4ce9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_fdf3a5a6-0250-4aba-a059-bd812e50c526" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_cdec12b2-4281-495e-ace0-d30b8661f2ae" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_fdf3a5a6-0250-4aba-a059-bd812e50c526" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_8a223945-85a8-4663-ae75-47679a946351" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_cdec12b2-4281-495e-ace0-d30b8661f2ae" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_8a223945-85a8-4663-ae75-47679a946351" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_1a1ca00c-3e78-4aa1-874e-58d145550f11" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_10343f68-e099-4790-86c7-9c4fbc550912" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_1a1ca00c-3e78-4aa1-874e-58d145550f11" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecurities_b049747a-3f57-40ca-8a7f-5b188b956923" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_10343f68-e099-4790-86c7-9c4fbc550912" xlink:to="loc_us-gaap_AvailableForSaleSecurities_b049747a-3f57-40ca-8a7f-5b188b956923" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#FairValueMeasurementsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="extended" id="i36a45d9dbd584119bd666d9428526faa_88c9be9a-5a5c-49f3-ad84-2217adc39e25">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_075fe43e-7215-40c0-b7a1-fb83ce99e70a" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_52537818-398b-41b8-bdd6-6bb00e2d7e8b" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_075fe43e-7215-40c0-b7a1-fb83ce99e70a" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_52537818-398b-41b8-bdd6-6bb00e2d7e8b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueAxis_74add0cd-17ce-4809-87cc-463bbc2b2efd" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationTechniqueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_52537818-398b-41b8-bdd6-6bb00e2d7e8b" xlink:to="loc_us-gaap_ValuationTechniqueAxis_74add0cd-17ce-4809-87cc-463bbc2b2efd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueDomain_78412f81-e204-41d9-bf7b-817416fce40e_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationTechniqueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationTechniqueAxis_74add0cd-17ce-4809-87cc-463bbc2b2efd" xlink:to="loc_us-gaap_ValuationTechniqueDomain_78412f81-e204-41d9-bf7b-817416fce40e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueDomain_78412f81-e204-41d9-bf7b-817416fce40e" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationTechniqueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationTechniqueAxis_74add0cd-17ce-4809-87cc-463bbc2b2efd" xlink:to="loc_us-gaap_ValuationTechniqueDomain_78412f81-e204-41d9-bf7b-817416fce40e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeApproachValuationTechniqueMember_9a8720f7-05e9-4619-a1e4-469a614592bc" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeApproachValuationTechniqueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_78412f81-e204-41d9-bf7b-817416fce40e" xlink:to="loc_us-gaap_IncomeApproachValuationTechniqueMember_9a8720f7-05e9-4619-a1e4-469a614592bc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketApproachValuationTechniqueMember_c88b5084-f3a5-42ae-be68-6d25b567c854" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MarketApproachValuationTechniqueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_78412f81-e204-41d9-bf7b-817416fce40e" xlink:to="loc_us-gaap_MarketApproachValuationTechniqueMember_c88b5084-f3a5-42ae-be68-6d25b567c854" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_2546f586-a74d-4367-b290-7e9e75e87f95" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_52537818-398b-41b8-bdd6-6bb00e2d7e8b" xlink:to="loc_us-gaap_InvestmentTypeAxis_2546f586-a74d-4367-b290-7e9e75e87f95" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_2350bc70-c4e4-4c66-ba9b-634c6d58f1d4_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_2546f586-a74d-4367-b290-7e9e75e87f95" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_2350bc70-c4e4-4c66-ba9b-634c6d58f1d4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_2350bc70-c4e4-4c66-ba9b-634c6d58f1d4" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_2546f586-a74d-4367-b290-7e9e75e87f95" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_2350bc70-c4e4-4c66-ba9b-634c6d58f1d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_78a1f7e2-89df-4156-9f90-a02383c52df5" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MoneyMarketFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_2350bc70-c4e4-4c66-ba9b-634c6d58f1d4" xlink:to="loc_us-gaap_MoneyMarketFundsMember_78a1f7e2-89df-4156-9f90-a02383c52df5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2decb5ee-e0a9-45b4-8bd5-0ede127bb59d" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_52537818-398b-41b8-bdd6-6bb00e2d7e8b" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2decb5ee-e0a9-45b4-8bd5-0ede127bb59d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_958fd2fd-b8f8-4ed0-aa8d-978339b1a4f4_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2decb5ee-e0a9-45b4-8bd5-0ede127bb59d" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_958fd2fd-b8f8-4ed0-aa8d-978339b1a4f4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_958fd2fd-b8f8-4ed0-aa8d-978339b1a4f4" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2decb5ee-e0a9-45b4-8bd5-0ede127bb59d" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_958fd2fd-b8f8-4ed0-aa8d-978339b1a4f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_dcbdfc16-08ea-49c3-84de-f82882ef2bac" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_958fd2fd-b8f8-4ed0-aa8d-978339b1a4f4" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_dcbdfc16-08ea-49c3-84de-f82882ef2bac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsNonrecurringMember_b7582f35-48fd-4957-9e07-023f84e17eb0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsNonrecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_958fd2fd-b8f8-4ed0-aa8d-978339b1a4f4" xlink:to="loc_us-gaap_FairValueMeasurementsNonrecurringMember_b7582f35-48fd-4957-9e07-023f84e17eb0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_608e6649-ca80-4619-848e-900a070a0a92" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_075fe43e-7215-40c0-b7a1-fb83ce99e70a" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_608e6649-ca80-4619-848e-900a070a0a92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsDiscountRate_29c37495-a721-445c-a7cf-328444bb4fc4" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsDiscountRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_075fe43e-7215-40c0-b7a1-fb83ce99e70a" xlink:to="loc_us-gaap_FairValueInputsDiscountRate_29c37495-a721-445c-a7cf-328444bb4fc4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsControlPremium_f3f98498-5792-436c-abe7-6b7c2c972580" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsControlPremium"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_075fe43e-7215-40c0-b7a1-fb83ce99e70a" xlink:to="loc_us-gaap_FairValueInputsControlPremium_f3f98498-5792-436c-abe7-6b7c2c972580" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsEarningsBeforeInterestTaxesDepreciationAndAmortizationMultiple_329ebc96-c7dd-4b8f-8cad-9c1804e6d144" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsEarningsBeforeInterestTaxesDepreciationAndAmortizationMultiple"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_075fe43e-7215-40c0-b7a1-fb83ce99e70a" xlink:to="loc_us-gaap_FairValueInputsEarningsBeforeInterestTaxesDepreciationAndAmortizationMultiple_329ebc96-c7dd-4b8f-8cad-9c1804e6d144" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_88b4005d-27a6-45f4-9d2e-97c4481ce959" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GoodwillImpairmentLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_075fe43e-7215-40c0-b7a1-fb83ce99e70a" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_88b4005d-27a6-45f4-9d2e-97c4481ce959" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_dec005a0-8d28-4aae-88ea-628e354da493" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_075fe43e-7215-40c0-b7a1-fb83ce99e70a" xlink:to="loc_us-gaap_Goodwill_dec005a0-8d28-4aae-88ea-628e354da493" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmounts" xlink:type="simple" xlink:href="rubi-20180930.xsd#OtherBalanceSheetAmounts"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmounts" xlink:type="extended" id="i6e1be3572b1243ffb098aa37dd39e69f_0064d479-5708-4101-a5b5-7f7849cdad1a"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsTables" xlink:type="simple" xlink:href="rubi-20180930.xsd#OtherBalanceSheetAmountsTables"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsTables" xlink:type="extended" id="ic3a20cccd946461ab900cb30b266b7fc_2c64b849-d87f-4cfd-b8ef-3bf1ae5b6d62"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsInvestmentsinMarketableSecuritiesDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#OtherBalanceSheetAmountsInvestmentsinMarketableSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsInvestmentsinMarketableSecuritiesDetails" xlink:type="extended" id="ie5c4d8a09afb4523a3364587c85f6dc5_6bb43cc8-11ee-43f4-9015-a459995c22f0">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8752947f-de41-4f1a-b833-42fcd0531da2" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_ccc4c661-1050-4847-b394-eef71d5a35e3" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8752947f-de41-4f1a-b833-42fcd0531da2" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_ccc4c661-1050-4847-b394-eef71d5a35e3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_d761642a-3b4f-4af3-868f-f9e6c1230777" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_ccc4c661-1050-4847-b394-eef71d5a35e3" xlink:to="loc_us-gaap_InvestmentTypeAxis_d761642a-3b4f-4af3-868f-f9e6c1230777" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_0d4403aa-c4ff-4b66-9464-a2524f3d8b1b_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_d761642a-3b4f-4af3-868f-f9e6c1230777" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_0d4403aa-c4ff-4b66-9464-a2524f3d8b1b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_0d4403aa-c4ff-4b66-9464-a2524f3d8b1b" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_d761642a-3b4f-4af3-868f-f9e6c1230777" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_0d4403aa-c4ff-4b66-9464-a2524f3d8b1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestmentsMember_51951a74-0c37-4fc4-b878-a8581a8ab9f2" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShortTermInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_0d4403aa-c4ff-4b66-9464-a2524f3d8b1b" xlink:to="loc_us-gaap_ShortTermInvestmentsMember_51951a74-0c37-4fc4-b878-a8581a8ab9f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermInvestmentsMember_018b47d4-83ce-4b23-8be5-9fae140ab558" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLongTermInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_0d4403aa-c4ff-4b66-9464-a2524f3d8b1b" xlink:to="loc_us-gaap_OtherLongTermInvestmentsMember_018b47d4-83ce-4b23-8be5-9fae140ab558" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_03add021-133b-4c60-bf5d-3111525e622e" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_ccc4c661-1050-4847-b394-eef71d5a35e3" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_03add021-133b-4c60-bf5d-3111525e622e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_4460702b-e089-45f0-b82e-9c5a6385f95c_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_03add021-133b-4c60-bf5d-3111525e622e" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_4460702b-e089-45f0-b82e-9c5a6385f95c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_4460702b-e089-45f0-b82e-9c5a6385f95c" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_03add021-133b-4c60-bf5d-3111525e622e" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_4460702b-e089-45f0-b82e-9c5a6385f95c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_f9dc3afd-dbdb-4d3d-af13-24de2d435104" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_4460702b-e089-45f0-b82e-9c5a6385f95c" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_f9dc3afd-dbdb-4d3d-af13-24de2d435104" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_c6775d9a-51e6-4da6-852c-9505518fa2d6" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_4460702b-e089-45f0-b82e-9c5a6385f95c" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_c6775d9a-51e6-4da6-852c-9505518fa2d6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_c61fbcef-fe97-43ed-9352-33f82af84166" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8752947f-de41-4f1a-b833-42fcd0531da2" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_c61fbcef-fe97-43ed-9352-33f82af84166" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_a32e27ad-d558-4b89-9d74-cca0e4126d03" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8752947f-de41-4f1a-b833-42fcd0531da2" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_a32e27ad-d558-4b89-9d74-cca0e4126d03" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_9c2a077d-2092-45a7-8171-5be69fe385f2" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8752947f-de41-4f1a-b833-42fcd0531da2" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_9c2a077d-2092-45a7-8171-5be69fe385f2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_9e3aabb6-e39b-49dc-949c-358d13857af9" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8752947f-de41-4f1a-b833-42fcd0531da2" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_9e3aabb6-e39b-49dc-949c-358d13857af9" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsNarrativeDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#OtherBalanceSheetAmountsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsNarrativeDetails" xlink:type="extended" id="ie9153a857d6540f6a965af7a57f85a6b_04fddf43-83d1-4d1d-8988-b7724dddd86c"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsAccountsPayableandAccruedExpensesDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#OtherBalanceSheetAmountsAccountsPayableandAccruedExpensesDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsAccountsPayableandAccruedExpensesDetails" xlink:type="extended" id="i76b39551cf6c4e509e7a9350d8ad261e_428a8596-63aa-4431-9efb-0585292e5bfa"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssets" xlink:type="simple" xlink:href="rubi-20180930.xsd#IntangibleAssets"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssets" xlink:type="extended" id="i0642dd49cce14927b24dae9dbbe3b756_084e070f-1fa6-4cd8-8f61-b3be0bfab3a2"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsTables" xlink:type="simple" xlink:href="rubi-20180930.xsd#IntangibleAssetsTables"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsTables" xlink:type="extended" id="i8fcbe60f28ec487aa1f8982c8c440fdf_76a48731-9b11-413c-8809-1b45570baedd"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#IntangibleAssetsFiniteLivedIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsDetails" xlink:type="extended" id="ie0ba5d01da5e4662b1a7bb77e86f8073_1220290b-a59d-4f32-97f2-47bbbdb3f381">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3e7a7821-7885-43f8-b847-c7d5b7e3ecec" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_7f25e673-dd99-4762-bd33-78ed1b0b5d08" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3e7a7821-7885-43f8-b847-c7d5b7e3ecec" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_7f25e673-dd99-4762-bd33-78ed1b0b5d08" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_f57629ee-16f9-4649-911c-8fef81b0e7e8" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_7f25e673-dd99-4762-bd33-78ed1b0b5d08" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_f57629ee-16f9-4649-911c-8fef81b0e7e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_785d75d0-78af-4fa6-a296-8c802ff0c7ae_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_f57629ee-16f9-4649-911c-8fef81b0e7e8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_785d75d0-78af-4fa6-a296-8c802ff0c7ae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_785d75d0-78af-4fa6-a296-8c802ff0c7ae" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_f57629ee-16f9-4649-911c-8fef81b0e7e8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_785d75d0-78af-4fa6-a296-8c802ff0c7ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_a055c7ef-e5be-4604-af0a-e10874875e02" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_785d75d0-78af-4fa6-a296-8c802ff0c7ae" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_a055c7ef-e5be-4604-af0a-e10874875e02" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_9e0ce9cc-6234-4349-bfd0-85bbd4850dc9" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoncompeteAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_785d75d0-78af-4fa6-a296-8c802ff0c7ae" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_9e0ce9cc-6234-4349-bfd0-85bbd4850dc9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksMember_dbe7a744-8c61-4a82-a469-939b6fc147dd" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TrademarksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_785d75d0-78af-4fa6-a296-8c802ff0c7ae" xlink:to="loc_us-gaap_TrademarksMember_dbe7a744-8c61-4a82-a469-939b6fc147dd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_167ea82a-c481-478b-822a-c216b021f235" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3e7a7821-7885-43f8-b847-c7d5b7e3ecec" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_167ea82a-c481-478b-822a-c216b021f235" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_ead72318-71a0-4ebf-91f2-bbba3334276f" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3e7a7821-7885-43f8-b847-c7d5b7e3ecec" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_ead72318-71a0-4ebf-91f2-bbba3334276f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_41167ccb-0522-46ce-bca9-52915c0d3845" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3e7a7821-7885-43f8-b847-c7d5b7e3ecec" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_41167ccb-0522-46ce-bca9-52915c0d3845" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsNarrativeDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#IntangibleAssetsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsNarrativeDetails" xlink:type="extended" id="if5767518b35d4e78bfa53e9709ed4cb5_f4ec00f1-4b96-447d-8af4-fc2cadea5036"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#IntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="extended" id="i698f056394794ebe8335a3ebab15d30c_b12b5a32-8b5e-444e-b016-2f7c0546a676"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinations" xlink:type="simple" xlink:href="rubi-20180930.xsd#BusinessCombinations"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinations" xlink:type="extended" id="i4e3dea667f3f4f3b956fe503a0b0e59e_6002443e-30bf-4dad-95f8-7828a696c69f"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsTables" xlink:type="simple" xlink:href="rubi-20180930.xsd#BusinessCombinationsTables"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsTables" xlink:type="extended" id="ie99aebe6a6a3486d819abd2ec9148cad_8dfc2031-2be8-4fd6-aeba-3f0194709a36"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsNarrativeDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#BusinessCombinationsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsNarrativeDetails" xlink:type="extended" id="ib4b343664f0a42cbae7dba193cd937b4_59d2b2ad-2821-4a88-8f28-435f15b7ecb7">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_1478954e-9ca8-4c61-9a25-e4a2f583cf39" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ab2703b1-d26d-43cd-a5c7-d38e44b8bf19" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1478954e-9ca8-4c61-9a25-e4a2f583cf39" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ab2703b1-d26d-43cd-a5c7-d38e44b8bf19" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_fe1396db-154b-4fc4-95ed-3b88dc726f41" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ab2703b1-d26d-43cd-a5c7-d38e44b8bf19" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_fe1396db-154b-4fc4-95ed-3b88dc726f41" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_17148a18-477e-4bcc-a039-b630dcbe55a0_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_fe1396db-154b-4fc4-95ed-3b88dc726f41" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_17148a18-477e-4bcc-a039-b630dcbe55a0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_17148a18-477e-4bcc-a039-b630dcbe55a0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_fe1396db-154b-4fc4-95ed-3b88dc726f41" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_17148a18-477e-4bcc-a039-b630dcbe55a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_nToggleMember_62bff4b5-f266-43b2-8824-a3ec3645926a" xlink:href="rubi-20180930.xsd#rubi_nToggleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_17148a18-477e-4bcc-a039-b630dcbe55a0" xlink:to="loc_rubi_nToggleMember_62bff4b5-f266-43b2-8824-a3ec3645926a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_10393c5d-f8d2-4ebd-807d-570fabad91e6" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1478954e-9ca8-4c61-9a25-e4a2f583cf39" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_10393c5d-f8d2-4ebd-807d-570fabad91e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_b1afc58e-61d4-4a8e-8972-1597746e8b57" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1478954e-9ca8-4c61-9a25-e4a2f583cf39" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_b1afc58e-61d4-4a8e-8972-1597746e8b57" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_5b0fe7b2-d21b-45ab-9cd7-bcb634607e48" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1478954e-9ca8-4c61-9a25-e4a2f583cf39" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_5b0fe7b2-d21b-45ab-9cd7-bcb634607e48" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_BusinessCombinationInTheMoneyOptionsAssumed_5d48c93d-4c64-47b6-ac53-237f0c21e62d" xlink:href="rubi-20180930.xsd#rubi_BusinessCombinationInTheMoneyOptionsAssumed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1478954e-9ca8-4c61-9a25-e4a2f583cf39" xlink:to="loc_rubi_BusinessCombinationInTheMoneyOptionsAssumed_5d48c93d-4c64-47b6-ac53-237f0c21e62d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_BusinessCombinationRestrictedStockAssumed_65667453-77b0-4dea-b99c-23c4d84848a3" xlink:href="rubi-20180930.xsd#rubi_BusinessCombinationRestrictedStockAssumed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1478954e-9ca8-4c61-9a25-e4a2f583cf39" xlink:to="loc_rubi_BusinessCombinationRestrictedStockAssumed_65667453-77b0-4dea-b99c-23c4d84848a3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_425f9c1a-de1c-4329-b856-4ed9771ce934" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1478954e-9ca8-4c61-9a25-e4a2f583cf39" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_425f9c1a-de1c-4329-b856-4ed9771ce934" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_6d59b0d0-61eb-4d89-930a-823c77f275fc" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1478954e-9ca8-4c61-9a25-e4a2f583cf39" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_6d59b0d0-61eb-4d89-930a-823c77f275fc" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_BusinessCombinationNetOperatingLossAcquired_fe45d631-6761-402f-8ae5-3292d98966c0" xlink:href="rubi-20180930.xsd#rubi_BusinessCombinationNetOperatingLossAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1478954e-9ca8-4c61-9a25-e4a2f583cf39" xlink:to="loc_rubi_BusinessCombinationNetOperatingLossAcquired_fe45d631-6761-402f-8ae5-3292d98966c0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_4ac7f8f3-4e23-44b1-bc7a-3a9915bb1f09" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1478954e-9ca8-4c61-9a25-e4a2f583cf39" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_4ac7f8f3-4e23-44b1-bc7a-3a9915bb1f09" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_4abc6611-d4f8-4e14-99a5-f3e24d7d4516" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1478954e-9ca8-4c61-9a25-e4a2f583cf39" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_4abc6611-d4f8-4e14-99a5-f3e24d7d4516" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_64f63041-d64b-4a12-b4a3-eedb5f633bac" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GoodwillImpairmentLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1478954e-9ca8-4c61-9a25-e4a2f583cf39" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_64f63041-d64b-4a12-b4a3-eedb5f633bac" xlink:type="arc" order="11"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsAllocatedPurchasePriceDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#BusinessCombinationsAllocatedPurchasePriceDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsAllocatedPurchasePriceDetails" xlink:type="extended" id="i006e74bf34444d95a2d16564de48014a_01ebbb98-249b-4c47-9c2d-8d326373bf36">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_9a8dc949-e94c-4d10-a81d-d3faf8202fd3" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_9a8dc949-e94c-4d10-a81d-d3faf8202fd3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_baeec799-a022-4f94-b11a-f86bd9034837" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_9a8dc949-e94c-4d10-a81d-d3faf8202fd3" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_baeec799-a022-4f94-b11a-f86bd9034837" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7fc77dcb-6742-4bf9-b3bd-813c28e0982d_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_baeec799-a022-4f94-b11a-f86bd9034837" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7fc77dcb-6742-4bf9-b3bd-813c28e0982d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7fc77dcb-6742-4bf9-b3bd-813c28e0982d" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_baeec799-a022-4f94-b11a-f86bd9034837" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7fc77dcb-6742-4bf9-b3bd-813c28e0982d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_nToggleMember_81e0bac1-71b4-442c-86f3-b8e2eefa27db" xlink:href="rubi-20180930.xsd#rubi_nToggleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7fc77dcb-6742-4bf9-b3bd-813c28e0982d" xlink:to="loc_rubi_nToggleMember_81e0bac1-71b4-442c-86f3-b8e2eefa27db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_b75c2c2b-9927-451c-9a71-038a718aafae" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_b75c2c2b-9927-451c-9a71-038a718aafae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_c6f7202e-6ae6-45ca-bde8-818d46ef219d" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_c6f7202e-6ae6-45ca-bde8-818d46ef219d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_8589f38c-f677-4af5-8a52-15d50a9e6e41" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_8589f38c-f677-4af5-8a52-15d50a9e6e41" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_96e72d9b-ec7a-4048-8907-238be33fc710" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_96e72d9b-ec7a-4048-8907-238be33fc710" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_5468d105-e395-4666-a665-d62bf4b344f7" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_5468d105-e395-4666-a665-d62bf4b344f7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_2bf136b5-6151-4827-85e0-6b1de1910a03" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_2bf136b5-6151-4827-85e0-6b1de1910a03" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_5b8824b6-5d1b-419f-8a0e-429394a84611" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:to="loc_us-gaap_Goodwill_5b8824b6-5d1b-419f-8a0e-429394a84611" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_fbc975e7-1f00-4cd2-93b7-9ff62fa789bb" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_fbc975e7-1f00-4cd2-93b7-9ff62fa789bb" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_eeb4b622-cb83-4202-8a45-1bb04afb166a" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_eeb4b622-cb83-4202-8a45-1bb04afb166a" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_4bb3e9eb-b576-4f83-8cb4-d0895970093b" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_4bb3e9eb-b576-4f83-8cb4-d0895970093b" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_7f58abc8-f858-4b98-8547-95756cd036d6" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_7f58abc8-f858-4b98-8547-95756cd036d6" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_7355d2cf-6f0e-47fc-b2a0-6f5500a962e6" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_7355d2cf-6f0e-47fc-b2a0-6f5500a962e6" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_4948d0ad-4e3c-4066-97a9-b3980f8203fe" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_caf76d12-1954-4bf1-9e54-8515268ad051" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_4948d0ad-4e3c-4066-97a9-b3980f8203fe" xlink:type="arc" order="13"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsAcquiredIntangiblesandEstimatedUsefulLifeDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#BusinessCombinationsAcquiredIntangiblesandEstimatedUsefulLifeDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsAcquiredIntangiblesandEstimatedUsefulLifeDetails" xlink:type="extended" id="i3a4905e0d39a480c947d2eb9f5d4e966_9ad2df78-170c-4697-911d-8b196d8f13c9">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_63d010c8-5580-4f76-8646-d3fd400eaf98" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ce908ce0-d14a-4580-ab85-3181f86c11b7" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_63d010c8-5580-4f76-8646-d3fd400eaf98" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ce908ce0-d14a-4580-ab85-3181f86c11b7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_11645bba-d65a-4c82-be9e-e12143eb229e" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ce908ce0-d14a-4580-ab85-3181f86c11b7" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_11645bba-d65a-4c82-be9e-e12143eb229e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_179ce8d0-c087-43e0-a1e6-18442ab09d92_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_11645bba-d65a-4c82-be9e-e12143eb229e" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_179ce8d0-c087-43e0-a1e6-18442ab09d92_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_179ce8d0-c087-43e0-a1e6-18442ab09d92" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_11645bba-d65a-4c82-be9e-e12143eb229e" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_179ce8d0-c087-43e0-a1e6-18442ab09d92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_nToggleMember_bcb3e579-b181-42ee-9639-930ca08cfa8a" xlink:href="rubi-20180930.xsd#rubi_nToggleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_179ce8d0-c087-43e0-a1e6-18442ab09d92" xlink:to="loc_rubi_nToggleMember_bcb3e579-b181-42ee-9639-930ca08cfa8a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_f518be6f-303a-445b-83ff-e6cc024c8b45" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ce908ce0-d14a-4580-ab85-3181f86c11b7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_f518be6f-303a-445b-83ff-e6cc024c8b45" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ba882256-824e-43e0-b3b2-9e8e55073d05_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_f518be6f-303a-445b-83ff-e6cc024c8b45" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ba882256-824e-43e0-b3b2-9e8e55073d05_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ba882256-824e-43e0-b3b2-9e8e55073d05" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_f518be6f-303a-445b-83ff-e6cc024c8b45" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ba882256-824e-43e0-b3b2-9e8e55073d05" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_8140cbc8-c6a2-48c2-80b0-23d29fc9bb42" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ba882256-824e-43e0-b3b2-9e8e55073d05" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_8140cbc8-c6a2-48c2-80b0-23d29fc9bb42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_c6eef74a-6678-4593-8f29-09734321c3db" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoncompeteAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ba882256-824e-43e0-b3b2-9e8e55073d05" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_c6eef74a-6678-4593-8f29-09734321c3db" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_6d72955a-ed60-4329-811c-4bb93c125ba5" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TrademarksAndTradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ba882256-824e-43e0-b3b2-9e8e55073d05" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_6d72955a-ed60-4329-811c-4bb93c125ba5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_17d700cc-f169-4acb-b249-c771d2f2d756" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_63d010c8-5580-4f76-8646-d3fd400eaf98" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_17d700cc-f169-4acb-b249-c771d2f2d756" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_5a21fe4d-c452-42e4-b034-71a251889d07" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_63d010c8-5580-4f76-8646-d3fd400eaf98" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_5a21fe4d-c452-42e4-b034-71a251889d07" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsProFormaDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#BusinessCombinationsProFormaDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsProFormaDetails" xlink:type="extended" id="if543403d362e472d9582e8529236ae09_ef6a25e7-8a83-4aeb-b67e-92bc703be03a">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_2ce0fa4d-61e5-43cc-b949-866f5590aad1" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3ba0955d-a305-4b26-80eb-82b8472f9821" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2ce0fa4d-61e5-43cc-b949-866f5590aad1" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3ba0955d-a305-4b26-80eb-82b8472f9821" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_3176f9d3-38da-4afa-a389-0157eeaac2dc" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3ba0955d-a305-4b26-80eb-82b8472f9821" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_3176f9d3-38da-4afa-a389-0157eeaac2dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7e5b2efc-2315-4ab7-afb4-ed9b6420bf7a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3176f9d3-38da-4afa-a389-0157eeaac2dc" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7e5b2efc-2315-4ab7-afb4-ed9b6420bf7a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7e5b2efc-2315-4ab7-afb4-ed9b6420bf7a" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3176f9d3-38da-4afa-a389-0157eeaac2dc" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7e5b2efc-2315-4ab7-afb4-ed9b6420bf7a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_nToggleMember_a4b64b40-21d4-4f0f-9672-eead7490a53b" xlink:href="rubi-20180930.xsd#rubi_nToggleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7e5b2efc-2315-4ab7-afb4-ed9b6420bf7a" xlink:to="loc_rubi_nToggleMember_a4b64b40-21d4-4f0f-9672-eead7490a53b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_7d5f83b1-2a78-4f4a-b2b2-fb2c34c2dded" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2ce0fa4d-61e5-43cc-b949-866f5590aad1" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_7d5f83b1-2a78-4f4a-b2b2-fb2c34c2dded" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_5be4bd52-479c-44d1-a432-dd2a6fc63f61" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2ce0fa4d-61e5-43cc-b949-866f5590aad1" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_5be4bd52-479c-44d1-a432-dd2a6fc63f61" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensation" xlink:type="simple" xlink:href="rubi-20180930.xsd#StockBasedCompensation"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensation" xlink:type="extended" id="i5628c384afa2499cbae5128bb26ee84b_9c4bc926-37fc-45e9-bb88-adcde27746d4"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationTables" xlink:type="simple" xlink:href="rubi-20180930.xsd#StockBasedCompensationTables"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationTables" xlink:type="extended" id="ic5eff9650e184083b10b386e6059bded_ff73ac67-bac2-4734-a4d0-c7161a846bc8"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#StockBasedCompensationDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationDetails" xlink:type="extended" id="i07d67538c638497dac6cb231b9bc5806_cddde516-12e5-4f70-bb87-c2c339afad38">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e6dc54b0-c565-4b5e-a400-ba03e637a5b4" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2684dd46-73bc-4309-a612-e6ac24b860e9" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e6dc54b0-c565-4b5e-a400-ba03e637a5b4" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2684dd46-73bc-4309-a612-e6ac24b860e9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_04c84a51-9e6f-46ac-afb5-0aaf8c6d14ec" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2684dd46-73bc-4309-a612-e6ac24b860e9" xlink:to="loc_us-gaap_AwardTypeAxis_04c84a51-9e6f-46ac-afb5-0aaf8c6d14ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a438db23-89ac-4143-9394-82098e8d7389_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_04c84a51-9e6f-46ac-afb5-0aaf8c6d14ec" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a438db23-89ac-4143-9394-82098e8d7389_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a438db23-89ac-4143-9394-82098e8d7389" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_04c84a51-9e6f-46ac-afb5-0aaf8c6d14ec" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a438db23-89ac-4143-9394-82098e8d7389" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_RestrictedawardsMember_72e4885a-6441-4d1f-b9a3-d2c41c872159" xlink:href="rubi-20180930.xsd#rubi_RestrictedawardsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a438db23-89ac-4143-9394-82098e8d7389" xlink:to="loc_rubi_RestrictedawardsMember_72e4885a-6441-4d1f-b9a3-d2c41c872159" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_ffc9dd68-6d49-4ba4-9706-ccd6a9bbd69b" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a438db23-89ac-4143-9394-82098e8d7389" xlink:to="loc_us-gaap_EmployeeStockOptionMember_ffc9dd68-6d49-4ba4-9706-ccd6a9bbd69b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_cab01050-3978-4c75-ba00-27a15860b5ad" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a438db23-89ac-4143-9394-82098e8d7389" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_cab01050-3978-4c75-ba00-27a15860b5ad" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingAxis_add70c48-1ed5-459b-9a31-5ccb8ca4ce58" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2684dd46-73bc-4309-a612-e6ac24b860e9" xlink:to="loc_us-gaap_VestingAxis_add70c48-1ed5-459b-9a31-5ccb8ca4ce58" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_91c58151-8ace-4443-babd-eab0d9477c14_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_add70c48-1ed5-459b-9a31-5ccb8ca4ce58" xlink:to="loc_us-gaap_VestingDomain_91c58151-8ace-4443-babd-eab0d9477c14_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_91c58151-8ace-4443-babd-eab0d9477c14" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_add70c48-1ed5-459b-9a31-5ccb8ca4ce58" xlink:to="loc_us-gaap_VestingDomain_91c58151-8ace-4443-babd-eab0d9477c14" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_TwoYearRSUsMember_55278328-16c4-4134-84dc-4a3f33af7a53" xlink:href="rubi-20180930.xsd#rubi_TwoYearRSUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_91c58151-8ace-4443-babd-eab0d9477c14" xlink:to="loc_rubi_TwoYearRSUsMember_55278328-16c4-4134-84dc-4a3f33af7a53" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_d1f98579-69d1-4454-8c18-749295d46c11" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e6dc54b0-c565-4b5e-a400-ba03e637a5b4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_d1f98579-69d1-4454-8c18-749295d46c11" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_b26e4eac-b7a3-4ac1-948e-7a5f8ddabca1" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e6dc54b0-c565-4b5e-a400-ba03e637a5b4" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_b26e4eac-b7a3-4ac1-948e-7a5f8ddabca1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted_700e2c25-89d0-444e-bd68-96aed4fabbab" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e6dc54b0-c565-4b5e-a400-ba03e637a5b4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted_700e2c25-89d0-444e-bd68-96aed4fabbab" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_f9173168-aa00-4c5c-a635-25d9543bcbc0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e6dc54b0-c565-4b5e-a400-ba03e637a5b4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_f9173168-aa00-4c5c-a635-25d9543bcbc0" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#StockBasedCompensationStockOptionsOutstandingDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="extended" id="iddd297bddc4341b497edbab8d0f4de13_464b7f3f-147d-4bf1-9666-27d380399bca"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsNarrativeDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#StockBasedCompensationStockOptionsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsNarrativeDetails" xlink:type="extended" id="ia93bb57069cf46c5b9d31133fa7cc0e0_9e7ebb9f-4b3a-41af-bb69-592f9b237c39">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_84d7347f-4ef9-4ed0-8ea0-c20fe749adca" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_30ce1675-4355-44ef-8d1c-050aa9d000cb" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_84d7347f-4ef9-4ed0-8ea0-c20fe749adca" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_30ce1675-4355-44ef-8d1c-050aa9d000cb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_c184d8aa-8656-4ef5-a97e-79e2d895c085" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_30ce1675-4355-44ef-8d1c-050aa9d000cb" xlink:to="loc_us-gaap_AwardTypeAxis_c184d8aa-8656-4ef5-a97e-79e2d895c085" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d09174fa-0550-4323-9dc4-67f274071a31_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_c184d8aa-8656-4ef5-a97e-79e2d895c085" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d09174fa-0550-4323-9dc4-67f274071a31_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d09174fa-0550-4323-9dc4-67f274071a31" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_c184d8aa-8656-4ef5-a97e-79e2d895c085" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d09174fa-0550-4323-9dc4-67f274071a31" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_79b4791d-572d-4c16-a0ac-c6ee640562ce" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d09174fa-0550-4323-9dc4-67f274071a31" xlink:to="loc_us-gaap_EmployeeStockOptionMember_79b4791d-572d-4c16-a0ac-c6ee640562ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_28d89cbc-ede2-4646-9ba3-d5e04bc1cc88" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_84d7347f-4ef9-4ed0-8ea0-c20fe749adca" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_28d89cbc-ede2-4646-9ba3-d5e04bc1cc88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_28c80890-ca5b-44be-baca-4329605bb50c" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_84d7347f-4ef9-4ed0-8ea0-c20fe749adca" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_28c80890-ca5b-44be-baca-4329605bb50c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_9587821d-2036-4173-a8a4-da0a1ca98623" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_84d7347f-4ef9-4ed0-8ea0-c20fe749adca" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_9587821d-2036-4173-a8a4-da0a1ca98623" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_5eea9230-3457-4022-9a44-14f619543416" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_84d7347f-4ef9-4ed0-8ea0-c20fe749adca" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_5eea9230-3457-4022-9a44-14f619543416" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_b1963931-8719-4bc1-87fb-9003759d0cba" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_84d7347f-4ef9-4ed0-8ea0-c20fe749adca" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_b1963931-8719-4bc1-87fb-9003759d0cba" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationValuationAssumptionsDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#StockBasedCompensationValuationAssumptionsDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationValuationAssumptionsDetails" xlink:type="extended" id="i12cced6225694de79ab982858a25bdea_be6a469d-8c69-48b8-bc88-b463ad0e068f">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8697af38-e748-4b26-9e42-833b4840a23a" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3cad736a-5678-4012-a6fc-69b930e3e3f0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8697af38-e748-4b26-9e42-833b4840a23a" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3cad736a-5678-4012-a6fc-69b930e3e3f0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_0c42d0bd-3d8f-4405-8c4e-9b90e4136137" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3cad736a-5678-4012-a6fc-69b930e3e3f0" xlink:to="loc_us-gaap_AwardTypeAxis_0c42d0bd-3d8f-4405-8c4e-9b90e4136137" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1ba88f20-e1cd-4704-9feb-19a91c20e28b_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_0c42d0bd-3d8f-4405-8c4e-9b90e4136137" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1ba88f20-e1cd-4704-9feb-19a91c20e28b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1ba88f20-e1cd-4704-9feb-19a91c20e28b" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_0c42d0bd-3d8f-4405-8c4e-9b90e4136137" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1ba88f20-e1cd-4704-9feb-19a91c20e28b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_a957d27c-76dd-4c2d-ae2a-ad0f1c3bcda2" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1ba88f20-e1cd-4704-9feb-19a91c20e28b" xlink:to="loc_us-gaap_EmployeeStockOptionMember_a957d27c-76dd-4c2d-ae2a-ad0f1c3bcda2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_b3414425-fc65-46b0-ad58-dfc5a3c8e586" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8697af38-e748-4b26-9e42-833b4840a23a" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_b3414425-fc65-46b0-ad58-dfc5a3c8e586" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_0c877ea9-b699-4091-a841-2e0967530f00" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8697af38-e748-4b26-9e42-833b4840a23a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_0c877ea9-b699-4091-a841-2e0967530f00" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_3676367d-8217-464c-ba28-79160488a730" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8697af38-e748-4b26-9e42-833b4840a23a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_3676367d-8217-464c-ba28-79160488a730" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_b834370e-1f7d-4a66-b873-6bdadac4eaaa" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8697af38-e748-4b26-9e42-833b4840a23a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_b834370e-1f7d-4a66-b873-6bdadac4eaaa" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockActivityDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#StockBasedCompensationRestrictedStockActivityDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockActivityDetails" xlink:type="extended" id="i0036e09a5bfc475381a47118a4cd2d81_c3180ac8-c781-4771-8e03-46a4cadd8647">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_abd2d6df-b66e-4b39-bc6a-4e8589b75d30" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_37fb20aa-94e7-4e50-8c0e-e78de50daf56" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_abd2d6df-b66e-4b39-bc6a-4e8589b75d30" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_37fb20aa-94e7-4e50-8c0e-e78de50daf56" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_2bd21f1c-d5d1-44b2-92dd-57baf05e688d" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_37fb20aa-94e7-4e50-8c0e-e78de50daf56" xlink:to="loc_us-gaap_AwardTypeAxis_2bd21f1c-d5d1-44b2-92dd-57baf05e688d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2c18a479-cff2-4d29-b7b5-41cb327c9975_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_2bd21f1c-d5d1-44b2-92dd-57baf05e688d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2c18a479-cff2-4d29-b7b5-41cb327c9975_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2c18a479-cff2-4d29-b7b5-41cb327c9975" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_2bd21f1c-d5d1-44b2-92dd-57baf05e688d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2c18a479-cff2-4d29-b7b5-41cb327c9975" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_f67b181b-de87-48b3-9b96-15f76dc3f025" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2c18a479-cff2-4d29-b7b5-41cb327c9975" xlink:to="loc_us-gaap_RestrictedStockMember_f67b181b-de87-48b3-9b96-15f76dc3f025" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9fcbcc68-6a48-40f2-8a49-033c49bb761d" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_abd2d6df-b66e-4b39-bc6a-4e8589b75d30" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9fcbcc68-6a48-40f2-8a49-033c49bb761d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_dd9693cf-ce23-4f7c-93ba-2be757f277cc" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_abd2d6df-b66e-4b39-bc6a-4e8589b75d30" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_dd9693cf-ce23-4f7c-93ba-2be757f277cc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_322eb190-b1bf-4797-8a6c-dcd3bc100967" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_abd2d6df-b66e-4b39-bc6a-4e8589b75d30" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_322eb190-b1bf-4797-8a6c-dcd3bc100967" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_a9f4aa53-99f7-4002-b2fc-765e9feed539" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_abd2d6df-b66e-4b39-bc6a-4e8589b75d30" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_a9f4aa53-99f7-4002-b2fc-765e9feed539" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_c2b4ffbe-f614-465f-b99e-f3a4af42cf74" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5c610a81-abd5-4909-ba9b-62843bcf6594" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_abd2d6df-b66e-4b39-bc6a-4e8589b75d30" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5c610a81-abd5-4909-ba9b-62843bcf6594" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_44fcefdc-ab9e-4fde-85ed-a011e3387e52" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5c610a81-abd5-4909-ba9b-62843bcf6594" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_44fcefdc-ab9e-4fde-85ed-a011e3387e52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_041ad9db-2e78-4eab-aa89-afbe41156920" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5c610a81-abd5-4909-ba9b-62843bcf6594" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_041ad9db-2e78-4eab-aa89-afbe41156920" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_065d621c-24e2-40d9-88d4-e014e6a2d6ca" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5c610a81-abd5-4909-ba9b-62843bcf6594" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_065d621c-24e2-40d9-88d4-e014e6a2d6ca" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_5498f201-ea8c-4336-89c7-0ae6adb5078d" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5c610a81-abd5-4909-ba9b-62843bcf6594" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_5498f201-ea8c-4336-89c7-0ae6adb5078d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_a48350ed-5096-44d5-8309-b0dc0daa1304" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockNarrativeDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#StockBasedCompensationRestrictedStockNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockNarrativeDetails" xlink:type="extended" id="i158379082f30491ca3b75da6cc151f12_5f7fc7a6-dae4-4592-bef1-1479b835ae43">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fb69559c-464b-4e54-8376-948c0884b4a2" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_42bed0ff-56d4-4c02-bd22-85a33a3a7506" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fb69559c-464b-4e54-8376-948c0884b4a2" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_42bed0ff-56d4-4c02-bd22-85a33a3a7506" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_abca5162-12c9-4b64-854b-193a74e1e86d" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_42bed0ff-56d4-4c02-bd22-85a33a3a7506" xlink:to="loc_us-gaap_AwardTypeAxis_abca5162-12c9-4b64-854b-193a74e1e86d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d9144b06-2f8a-4493-8055-a1ecdebc3679_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_abca5162-12c9-4b64-854b-193a74e1e86d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d9144b06-2f8a-4493-8055-a1ecdebc3679_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d9144b06-2f8a-4493-8055-a1ecdebc3679" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_abca5162-12c9-4b64-854b-193a74e1e86d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d9144b06-2f8a-4493-8055-a1ecdebc3679" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_63190a87-2fdf-4ad0-919b-8f35b53314df" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d9144b06-2f8a-4493-8055-a1ecdebc3679" xlink:to="loc_us-gaap_RestrictedStockMember_63190a87-2fdf-4ad0-919b-8f35b53314df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_1722d11c-ad1e-46c4-bce3-40364c7631c0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d9144b06-2f8a-4493-8055-a1ecdebc3679" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_1722d11c-ad1e-46c4-bce3-40364c7631c0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_f5f7cf4c-0206-4c3e-8d40-5913aadba62b" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fb69559c-464b-4e54-8376-948c0884b4a2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_f5f7cf4c-0206-4c3e-8d40-5913aadba62b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_9e87a503-bab1-405d-b680-2f06a7bd2f29" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fb69559c-464b-4e54-8376-948c0884b4a2" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_9e87a503-bab1-405d-b680-2f06a7bd2f29" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_8f361e6d-632f-4680-9053-1f21de2fe006" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fb69559c-464b-4e54-8376-948c0884b4a2" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_8f361e6d-632f-4680-9053-1f21de2fe006" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_10a0193a-6fdc-4d26-b8c6-1227dd75f90e" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fb69559c-464b-4e54-8376-948c0884b4a2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_10a0193a-6fdc-4d26-b8c6-1227dd75f90e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested_774071d8-3c7c-48ef-8eae-3cbc7d4d9dd0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fb69559c-464b-4e54-8376-948c0884b4a2" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested_774071d8-3c7c-48ef-8eae-3cbc7d4d9dd0" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#StockBasedCompensationRestrictedStockUnitsActivityDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="extended" id="id826fbba916544cf800740f8b0c29d0f_f4fe3ce6-2a49-4af5-b9d4-e5900be8ac67">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e9a6f5f9-7156-47d9-a603-64503a61820b" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7ce0ad67-6561-4455-b543-5667aaf880ad" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e9a6f5f9-7156-47d9-a603-64503a61820b" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7ce0ad67-6561-4455-b543-5667aaf880ad" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_bab54e63-46d1-4d21-b765-cb696b3329a9" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7ce0ad67-6561-4455-b543-5667aaf880ad" xlink:to="loc_us-gaap_AwardTypeAxis_bab54e63-46d1-4d21-b765-cb696b3329a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_84cb5fef-a15f-404c-b9b5-db332b79e704_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_bab54e63-46d1-4d21-b765-cb696b3329a9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_84cb5fef-a15f-404c-b9b5-db332b79e704_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_84cb5fef-a15f-404c-b9b5-db332b79e704" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_bab54e63-46d1-4d21-b765-cb696b3329a9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_84cb5fef-a15f-404c-b9b5-db332b79e704" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_098630eb-0d4e-4b6f-ac72-ffe1d9c1a330" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_84cb5fef-a15f-404c-b9b5-db332b79e704" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_098630eb-0d4e-4b6f-ac72-ffe1d9c1a330" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_55a3fd36-8bbb-4eee-a34e-ac39ca8590a3" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e9a6f5f9-7156-47d9-a603-64503a61820b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_55a3fd36-8bbb-4eee-a34e-ac39ca8590a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_4fe103cf-f82e-4c54-9906-5a4f32005a29" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e9a6f5f9-7156-47d9-a603-64503a61820b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_4fe103cf-f82e-4c54-9906-5a4f32005a29" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_7da08a84-5d1b-4160-888a-cae094c5babf" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e9a6f5f9-7156-47d9-a603-64503a61820b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_7da08a84-5d1b-4160-888a-cae094c5babf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_db263521-4137-49fd-a4d7-21299c8414f6" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e9a6f5f9-7156-47d9-a603-64503a61820b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_db263521-4137-49fd-a4d7-21299c8414f6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_6c638011-57b0-4559-bd19-fbc29af9f9f6" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_91e57b94-69e8-48e1-945a-1201c562397d" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e9a6f5f9-7156-47d9-a603-64503a61820b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_91e57b94-69e8-48e1-945a-1201c562397d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_7c1bca0a-c54d-4882-b599-fcefa7b871c7" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_91e57b94-69e8-48e1-945a-1201c562397d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_7c1bca0a-c54d-4882-b599-fcefa7b871c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_df7644ff-d0f9-40a8-992f-99c911b53968" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_91e57b94-69e8-48e1-945a-1201c562397d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_df7644ff-d0f9-40a8-992f-99c911b53968" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_64f37941-02f9-424e-9529-986ab98a0d51" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_91e57b94-69e8-48e1-945a-1201c562397d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_64f37941-02f9-424e-9529-986ab98a0d51" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_b6fa82d8-3a2a-4f5b-bfe4-0302f0dcaae8" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_91e57b94-69e8-48e1-945a-1201c562397d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_b6fa82d8-3a2a-4f5b-bfe4-0302f0dcaae8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_f6b85afe-11a0-4285-a4ca-3dffb0cfb69f" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:type="extended" id="i94dc0f52b6124c62961cf7a322e09889_aec9c0fd-afc5-4ac0-8a38-5df80e628140">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1a5fa922-41c4-4b81-bd1a-147cd19a15fb" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_27f89f75-6841-4814-b074-67a843108431" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1a5fa922-41c4-4b81-bd1a-147cd19a15fb" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_27f89f75-6841-4814-b074-67a843108431" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_ec2bcc6b-7f1e-4a1d-a5f4-bf7a8521a20c" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_27f89f75-6841-4814-b074-67a843108431" xlink:to="loc_us-gaap_PlanNameAxis_ec2bcc6b-7f1e-4a1d-a5f4-bf7a8521a20c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_86bf638c-4ecb-4171-a1c1-68b577e93a5a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_ec2bcc6b-7f1e-4a1d-a5f4-bf7a8521a20c" xlink:to="loc_us-gaap_PlanNameDomain_86bf638c-4ecb-4171-a1c1-68b577e93a5a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_86bf638c-4ecb-4171-a1c1-68b577e93a5a" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_ec2bcc6b-7f1e-4a1d-a5f4-bf7a8521a20c" xlink:to="loc_us-gaap_PlanNameDomain_86bf638c-4ecb-4171-a1c1-68b577e93a5a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_A2014EmployeeStockPurchasePlanMember_443f7b3f-b360-40cd-bf21-12e6c0c15978" xlink:href="rubi-20180930.xsd#rubi_A2014EmployeeStockPurchasePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_86bf638c-4ecb-4171-a1c1-68b577e93a5a" xlink:to="loc_rubi_A2014EmployeeStockPurchasePlanMember_443f7b3f-b360-40cd-bf21-12e6c0c15978" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_09b5a371-3a7a-4c2b-911f-b078a11b316d" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_27f89f75-6841-4814-b074-67a843108431" xlink:to="loc_us-gaap_AwardTypeAxis_09b5a371-3a7a-4c2b-911f-b078a11b316d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_61e850e8-8df9-44cb-9704-6f80d022d96b_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_09b5a371-3a7a-4c2b-911f-b078a11b316d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_61e850e8-8df9-44cb-9704-6f80d022d96b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_61e850e8-8df9-44cb-9704-6f80d022d96b" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_09b5a371-3a7a-4c2b-911f-b078a11b316d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_61e850e8-8df9-44cb-9704-6f80d022d96b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_f9ef29ba-b67a-4e41-a85c-3946bb8355f6" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_61e850e8-8df9-44cb-9704-6f80d022d96b" xlink:to="loc_us-gaap_EmployeeStockMember_f9ef29ba-b67a-4e41-a85c-3946bb8355f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_96b2a6c7-5260-4e2f-9800-c64d20d1a34a" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1a5fa922-41c4-4b81-bd1a-147cd19a15fb" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_96b2a6c7-5260-4e2f-9800-c64d20d1a34a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_d8936d68-9af8-4171-be1d-2d143a68321d" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1a5fa922-41c4-4b81-bd1a-147cd19a15fb" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_d8936d68-9af8-4171-be1d-2d143a68321d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_af71d844-4a99-4df4-a0ba-6197d2bac8e5" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1a5fa922-41c4-4b81-bd1a-147cd19a15fb" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_af71d844-4a99-4df4-a0ba-6197d2bac8e5" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#StockBasedCompensationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationExpenseDetails" xlink:type="extended" id="iad6ea433fe074368bd86883c16c050ae_d3760a2b-94d6-4cdf-92b0-ddda7fb5d97e">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_ab08bdbf-d956-4cbb-9a3e-08380e069d47" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_22d3354e-e2fd-4a66-9fc8-0415e0565e78" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_ab08bdbf-d956-4cbb-9a3e-08380e069d47" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_22d3354e-e2fd-4a66-9fc8-0415e0565e78" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_243a5968-fed0-40db-abe4-4bac3d4fd9dc" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_22d3354e-e2fd-4a66-9fc8-0415e0565e78" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_243a5968-fed0-40db-abe4-4bac3d4fd9dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_d4e9638f-620d-40e8-87b5-25b67f889dcc_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_243a5968-fed0-40db-abe4-4bac3d4fd9dc" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_d4e9638f-620d-40e8-87b5-25b67f889dcc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_d4e9638f-620d-40e8-87b5-25b67f889dcc" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_243a5968-fed0-40db-abe4-4bac3d4fd9dc" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_d4e9638f-620d-40e8-87b5-25b67f889dcc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_81522caa-3316-4132-945b-11179397a6cd" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_d4e9638f-620d-40e8-87b5-25b67f889dcc" xlink:to="loc_us-gaap_CostOfSalesMember_81522caa-3316-4132-945b-11179397a6cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_dc34edc4-233d-43b2-ba39-c46e7c024d51" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_d4e9638f-620d-40e8-87b5-25b67f889dcc" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_dc34edc4-233d-43b2-ba39-c46e7c024d51" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_b53c6ffa-3235-4a62-879d-8666f15e8b59" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_d4e9638f-620d-40e8-87b5-25b67f889dcc" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_b53c6ffa-3235-4a62-879d-8666f15e8b59" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_7a0d4ed8-60bb-443e-8227-75fe0f007a08" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_d4e9638f-620d-40e8-87b5-25b67f889dcc" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_7a0d4ed8-60bb-443e-8227-75fe0f007a08" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringChargesMember_6f5e1df2-a8be-4e42-a556-3868f0603d04" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringChargesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_d4e9638f-620d-40e8-87b5-25b67f889dcc" xlink:to="loc_us-gaap_RestructuringChargesMember_6f5e1df2-a8be-4e42-a556-3868f0603d04" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_8476a44a-6a96-44e6-9e71-c131c1b9ebe9" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_ab08bdbf-d956-4cbb-9a3e-08380e069d47" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_8476a44a-6a96-44e6-9e71-c131c1b9ebe9" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RestructuringandOtherExitCosts" xlink:type="simple" xlink:href="rubi-20180930.xsd#RestructuringandOtherExitCosts"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RestructuringandOtherExitCosts" xlink:type="extended" id="i2687a2728ca4483c8748f33be3e45437_3b0c21ca-756c-4e30-823e-83af1ee96453"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RestructuringandOtherExitCostsTables" xlink:type="simple" xlink:href="rubi-20180930.xsd#RestructuringandOtherExitCostsTables"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RestructuringandOtherExitCostsTables" xlink:type="extended" id="i6aaac80c44124a0ca0ef5c2f267aac9e_219a5d0c-9d8e-4fa0-a2ef-1ac469e120ad"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RestructuringandOtherExitCostsNarrativeDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#RestructuringandOtherExitCostsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RestructuringandOtherExitCostsNarrativeDetails" xlink:type="extended" id="iff762a4dd200433ea93a3e38ba7e98d5_67913cc7-4d80-4a4d-8cd5-655a2566a919">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_4b61ee83-7489-498c-ab26-9d19b553b8f7" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_d0afb397-fe81-45fd-8cbc-e8f01e886781" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_4b61ee83-7489-498c-ab26-9d19b553b8f7" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_d0afb397-fe81-45fd-8cbc-e8f01e886781" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringPlanAxis_f3fae6f9-7188-4bbf-bb21-6119fbd03454" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_d0afb397-fe81-45fd-8cbc-e8f01e886781" xlink:to="loc_us-gaap_RestructuringPlanAxis_f3fae6f9-7188-4bbf-bb21-6119fbd03454" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringPlanDomain_979d8f4b-35b8-4698-9b5d-4056ae5961dd_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_f3fae6f9-7188-4bbf-bb21-6119fbd03454" xlink:to="loc_us-gaap_RestructuringPlanDomain_979d8f4b-35b8-4698-9b5d-4056ae5961dd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringPlanDomain_979d8f4b-35b8-4698-9b5d-4056ae5961dd" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_f3fae6f9-7188-4bbf-bb21-6119fbd03454" xlink:to="loc_us-gaap_RestructuringPlanDomain_979d8f4b-35b8-4698-9b5d-4056ae5961dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_The2017RestructuringEventsMember_a84f347f-a895-433e-98e6-35244783f9ae" xlink:href="rubi-20180930.xsd#rubi_The2017RestructuringEventsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_979d8f4b-35b8-4698-9b5d-4056ae5961dd" xlink:to="loc_rubi_The2017RestructuringEventsMember_a84f347f-a895-433e-98e6-35244783f9ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_The2018RestructuringEventsMember_b3617b24-ba7f-4068-b569-c69945c76670" xlink:href="rubi-20180930.xsd#rubi_The2018RestructuringEventsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_979d8f4b-35b8-4698-9b5d-4056ae5961dd" xlink:to="loc_rubi_The2018RestructuringEventsMember_b3617b24-ba7f-4068-b569-c69945c76670" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_e3a84293-969e-4441-ad58-db7fe5ef9ca1" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_4b61ee83-7489-498c-ab26-9d19b553b8f7" xlink:to="loc_us-gaap_RestructuringCharges_e3a84293-969e-4441-ad58-db7fe5ef9ca1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserveSettledWithoutCash2_cc6ad5cc-4d97-421b-8bfa-bec7e20b56b9" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserveSettledWithoutCash2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_4b61ee83-7489-498c-ab26-9d19b553b8f7" xlink:to="loc_us-gaap_RestructuringReserveSettledWithoutCash2_cc6ad5cc-4d97-421b-8bfa-bec7e20b56b9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_20a2fe40-c483-4500-b289-00048b596dfa" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserve"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_4b61ee83-7489-498c-ab26-9d19b553b8f7" xlink:to="loc_us-gaap_RestructuringReserve_20a2fe40-c483-4500-b289-00048b596dfa" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RestructuringandOtherExitCostsScheduleofRestructuringandOtherExitCostsDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#RestructuringandOtherExitCostsScheduleofRestructuringandOtherExitCostsDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RestructuringandOtherExitCostsScheduleofRestructuringandOtherExitCostsDetails" xlink:type="extended" id="i771d8723515d431e9d0232ed6e6b7e9b_7a127763-e8f6-4639-8b3c-7ac08af98345">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_59d66381-a442-4ad5-a05e-5c101bcf8520" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_40ecde89-e6cc-4c34-b7be-1babb197a63d" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_59d66381-a442-4ad5-a05e-5c101bcf8520" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_40ecde89-e6cc-4c34-b7be-1babb197a63d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringPlanAxis_5e9cc768-7248-4f7a-8889-9514e5a1e972" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_40ecde89-e6cc-4c34-b7be-1babb197a63d" xlink:to="loc_us-gaap_RestructuringPlanAxis_5e9cc768-7248-4f7a-8889-9514e5a1e972" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringPlanDomain_959770c1-e5f7-41e1-b00d-278c07dc1759_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_5e9cc768-7248-4f7a-8889-9514e5a1e972" xlink:to="loc_us-gaap_RestructuringPlanDomain_959770c1-e5f7-41e1-b00d-278c07dc1759_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringPlanDomain_959770c1-e5f7-41e1-b00d-278c07dc1759" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_5e9cc768-7248-4f7a-8889-9514e5a1e972" xlink:to="loc_us-gaap_RestructuringPlanDomain_959770c1-e5f7-41e1-b00d-278c07dc1759" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_The2018RestructuringEventsMember_805c81d4-b975-4f1b-818e-d67f3e94d19b" xlink:href="rubi-20180930.xsd#rubi_The2018RestructuringEventsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_959770c1-e5f7-41e1-b00d-278c07dc1759" xlink:to="loc_rubi_The2018RestructuringEventsMember_805c81d4-b975-4f1b-818e-d67f3e94d19b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserveRollForward_06307919-cda5-4c17-9fb2-555f7e2f6f0f" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserveRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_59d66381-a442-4ad5-a05e-5c101bcf8520" xlink:to="loc_us-gaap_RestructuringReserveRollForward_06307919-cda5-4c17-9fb2-555f7e2f6f0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_7f3e588e-da3c-45fd-8a11-86615a68d056" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserve"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_06307919-cda5-4c17-9fb2-555f7e2f6f0f" xlink:to="loc_us-gaap_RestructuringReserve_7f3e588e-da3c-45fd-8a11-86615a68d056" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_785eee33-6305-4264-b268-2b1bf5f0e3bc" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_06307919-cda5-4c17-9fb2-555f7e2f6f0f" xlink:to="loc_us-gaap_RestructuringCharges_785eee33-6305-4264-b268-2b1bf5f0e3bc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRestructuring_84d01927-d8cf-46b2-a054-42304710c5d4" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRestructuring"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_06307919-cda5-4c17-9fb2-555f7e2f6f0f" xlink:to="loc_us-gaap_PaymentsForRestructuring_84d01927-d8cf-46b2-a054-42304710c5d4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserveSettledWithoutCash2_58fcb7f1-d577-4415-9851-bd46722c3625" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserveSettledWithoutCash2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_06307919-cda5-4c17-9fb2-555f7e2f6f0f" xlink:to="loc_us-gaap_RestructuringReserveSettledWithoutCash2_58fcb7f1-d577-4415-9851-bd46722c3625" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_892c9bc0-3e4a-4b18-b850-e635950cf966" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserve"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxes" xlink:type="simple" xlink:href="rubi-20180930.xsd#IncomeTaxes"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxes" xlink:type="extended" id="id4bf667d11a94daebe65114f1a821246_ddb9e5d9-56e4-4130-a713-10cb771423b8"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxesNarrativeDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#IncomeTaxesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended" id="i9903b8b658a84c65b273e795eb81c1fd_f2d687b8-691f-4cdd-9d4e-8badbbe05fe0"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/CommitmentsandContingencies" xlink:type="simple" xlink:href="rubi-20180930.xsd#CommitmentsandContingencies"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/CommitmentsandContingencies" xlink:type="extended" id="iac8477bc66c74abe808f2ef99d0d13f2_a5737f8d-60e8-4c31-b278-7bc76a360688"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/CommitmentsandContingenciesDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#CommitmentsandContingenciesDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/CommitmentsandContingenciesDetails" xlink:type="extended" id="ibad2692d06664f3d9232b678386085dd_8ebaf0d9-0aee-4ff4-aec7-1a406fbfaaff">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsLineItems_eedca112-c8cc-4dc5-b49e-e72502acb3d3" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsTable_ea01e883-a489-4a74-9863-6fad388fa772" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_eedca112-c8cc-4dc5-b49e-e72502acb3d3" xlink:to="loc_us-gaap_OtherCommitmentsTable_ea01e883-a489-4a74-9863-6fad388fa772" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseArrangementTypeAxis_d1fbe114-776d-4a04-8ffc-9ff899afa331" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_ea01e883-a489-4a74-9863-6fad388fa772" xlink:to="loc_us-gaap_LeaseArrangementTypeAxis_d1fbe114-776d-4a04-8ffc-9ff899afa331" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_a049cb83-334b-4501-be9a-340f3308c266_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_d1fbe114-776d-4a04-8ffc-9ff899afa331" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_a049cb83-334b-4501-be9a-340f3308c266_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_a049cb83-334b-4501-be9a-340f3308c266" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_d1fbe114-776d-4a04-8ffc-9ff899afa331" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_a049cb83-334b-4501-be9a-340f3308c266" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DataCentersForCloudBasedServicesMember_38448d44-ab1b-4cb9-8d1b-5d34b3d953bd" xlink:href="rubi-20180930.xsd#rubi_DataCentersForCloudBasedServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_a049cb83-334b-4501-be9a-340f3308c266" xlink:to="loc_rubi_DataCentersForCloudBasedServicesMember_38448d44-ab1b-4cb9-8d1b-5d34b3d953bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_OfficeLeaseMember_4b2f3493-72f0-432c-836c-c95e71e79184" xlink:href="rubi-20180930.xsd#rubi_OfficeLeaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_a049cb83-334b-4501-be9a-340f3308c266" xlink:to="loc_rubi_OfficeLeaseMember_4b2f3493-72f0-432c-836c-c95e71e79184" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_91ff1a2b-4375-4380-ab2b-988d4cd12cd9" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_ea01e883-a489-4a74-9863-6fad388fa772" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_91ff1a2b-4375-4380-ab2b-988d4cd12cd9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_64aca079-6455-4f0e-9a27-8aebd97bb620_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_91ff1a2b-4375-4380-ab2b-988d4cd12cd9" xlink:to="loc_us-gaap_LossContingencyNatureDomain_64aca079-6455-4f0e-9a27-8aebd97bb620_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_64aca079-6455-4f0e-9a27-8aebd97bb620" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_91ff1a2b-4375-4380-ab2b-988d4cd12cd9" xlink:to="loc_us-gaap_LossContingencyNatureDomain_64aca079-6455-4f0e-9a27-8aebd97bb620" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialStandbyLetterOfCreditMember_a0ab9140-7d3d-4f27-8e35-8a73d1181a05" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialStandbyLetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_64aca079-6455-4f0e-9a27-8aebd97bb620" xlink:to="loc_us-gaap_FinancialStandbyLetterOfCreditMember_a0ab9140-7d3d-4f27-8e35-8a73d1181a05" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseAndRentalExpense_7bee7783-73e0-4266-b0fe-6d8c4d426f8f" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseAndRentalExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_eedca112-c8cc-4dc5-b49e-e72502acb3d3" xlink:to="loc_us-gaap_LeaseAndRentalExpense_7bee7783-73e0-4266-b0fe-6d8c4d426f8f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_9d3ee5c2-2471-4ebd-9a95-77ccf7dbaba0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_eedca112-c8cc-4dc5-b49e-e72502acb3d3" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_9d3ee5c2-2471-4ebd-9a95-77ccf7dbaba0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_e91d8feb-f339-4999-a013-d0087afdbcb1" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_eedca112-c8cc-4dc5-b49e-e72502acb3d3" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_e91d8feb-f339-4999-a013-d0087afdbcb1" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/Debt" xlink:type="simple" xlink:href="rubi-20180930.xsd#Debt"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/Debt" xlink:type="extended" id="id8f9893b55534d3d89cf9818b4349077_7bdf1d54-56a9-410f-9654-99b27d43aacb"/>
  <link:roleRef roleURI="http://www.rubiconproject.com/role/DebtDetails" xlink:type="simple" xlink:href="rubi-20180930.xsd#DebtDetails"/>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/DebtDetails" xlink:type="extended" id="ia0f5bb34afd74f44a5a069bef93022cc_440c066f-b9a3-4c4a-abc7-c87ca5a971d2">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_db19656f-aa05-426d-96e9-a9830968c597" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_b74f2ebf-0b49-4369-9161-c60547ce062b" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_db19656f-aa05-426d-96e9-a9830968c597" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_b74f2ebf-0b49-4369-9161-c60547ce062b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxis_07e90de4-59c5-4671-af88-ee2c42a007a4" xlink:href="rubi-20180930.xsd#rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_b74f2ebf-0b49-4369-9161-c60547ce062b" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxis_07e90de4-59c5-4671-af88-ee2c42a007a4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain_e83d1a3e-1ea3-4cb6-8df9-65eed699e611_default" xlink:href="rubi-20180930.xsd#rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxis_07e90de4-59c5-4671-af88-ee2c42a007a4" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain_e83d1a3e-1ea3-4cb6-8df9-65eed699e611_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain_e83d1a3e-1ea3-4cb6-8df9-65eed699e611" xlink:href="rubi-20180930.xsd#rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxis_07e90de4-59c5-4671-af88-ee2c42a007a4" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain_e83d1a3e-1ea3-4cb6-8df9-65eed699e611" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_StreamlinePeriodInEffectMember_2ae589e8-6e92-48c9-b89e-8e695ca9b8c5" xlink:href="rubi-20180930.xsd#rubi_StreamlinePeriodInEffectMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain_e83d1a3e-1ea3-4cb6-8df9-65eed699e611" xlink:to="loc_rubi_StreamlinePeriodInEffectMember_2ae589e8-6e92-48c9-b89e-8e695ca9b8c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_StreamlinePeriodNotInEffectMember_f823d40e-06d0-4111-88de-fb3de66cee36" xlink:href="rubi-20180930.xsd#rubi_StreamlinePeriodNotInEffectMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain_e83d1a3e-1ea3-4cb6-8df9-65eed699e611" xlink:to="loc_rubi_StreamlinePeriodNotInEffectMember_f823d40e-06d0-4111-88de-fb3de66cee36" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtCovenantTermsAxis_e4c8dd8b-aacc-4824-b9d1-526b51d4d9d1" xlink:href="rubi-20180930.xsd#rubi_DebtCovenantTermsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_b74f2ebf-0b49-4369-9161-c60547ce062b" xlink:to="loc_rubi_DebtCovenantTermsAxis_e4c8dd8b-aacc-4824-b9d1-526b51d4d9d1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtCovenantTermsDomain_7da524d3-a99e-41c8-84d8-7021ea315530_default" xlink:href="rubi-20180930.xsd#rubi_DebtCovenantTermsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_rubi_DebtCovenantTermsAxis_e4c8dd8b-aacc-4824-b9d1-526b51d4d9d1" xlink:to="loc_rubi_DebtCovenantTermsDomain_7da524d3-a99e-41c8-84d8-7021ea315530_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtCovenantTermsDomain_7da524d3-a99e-41c8-84d8-7021ea315530" xlink:href="rubi-20180930.xsd#rubi_DebtCovenantTermsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_rubi_DebtCovenantTermsAxis_e4c8dd8b-aacc-4824-b9d1-526b51d4d9d1" xlink:to="loc_rubi_DebtCovenantTermsDomain_7da524d3-a99e-41c8-84d8-7021ea315530" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_CovenantTermsScenarioOneMember_799fa887-ef9a-4226-806c-7be659bcfb5f" xlink:href="rubi-20180930.xsd#rubi_CovenantTermsScenarioOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtCovenantTermsDomain_7da524d3-a99e-41c8-84d8-7021ea315530" xlink:to="loc_rubi_CovenantTermsScenarioOneMember_799fa887-ef9a-4226-806c-7be659bcfb5f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_CovenantTermsScenarioTwoMember_0b416357-fe65-486a-b73e-43d0c0de30bc" xlink:href="rubi-20180930.xsd#rubi_CovenantTermsScenarioTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtCovenantTermsDomain_7da524d3-a99e-41c8-84d8-7021ea315530" xlink:to="loc_rubi_CovenantTermsScenarioTwoMember_0b416357-fe65-486a-b73e-43d0c0de30bc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_bb250959-ec72-4b01-96a4-1932ac781283" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_b74f2ebf-0b49-4369-9161-c60547ce062b" xlink:to="loc_us-gaap_VariableRateAxis_bb250959-ec72-4b01-96a4-1932ac781283" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_360fca79-4d84-4c5a-85a6-eb60682e9375_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_bb250959-ec72-4b01-96a4-1932ac781283" xlink:to="loc_us-gaap_VariableRateDomain_360fca79-4d84-4c5a-85a6-eb60682e9375_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_360fca79-4d84-4c5a-85a6-eb60682e9375" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_bb250959-ec72-4b01-96a4-1932ac781283" xlink:to="loc_us-gaap_VariableRateDomain_360fca79-4d84-4c5a-85a6-eb60682e9375" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_2ca377bb-1914-4449-9f38-af20a9c350bb" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_360fca79-4d84-4c5a-85a6-eb60682e9375" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_2ca377bb-1914-4449-9f38-af20a9c350bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrimeRateMember_b782c852-e79b-416b-af0b-05396b5f7f20" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrimeRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_360fca79-4d84-4c5a-85a6-eb60682e9375" xlink:to="loc_us-gaap_PrimeRateMember_b782c852-e79b-416b-af0b-05396b5f7f20" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_5c61a60b-f891-4c7f-b5ae-f76033516455" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_b74f2ebf-0b49-4369-9161-c60547ce062b" xlink:to="loc_us-gaap_DebtInstrumentAxis_5c61a60b-f891-4c7f-b5ae-f76033516455" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_4b1d1085-449b-4d18-ac48-ff2888acce23_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_5c61a60b-f891-4c7f-b5ae-f76033516455" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_4b1d1085-449b-4d18-ac48-ff2888acce23_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_4b1d1085-449b-4d18-ac48-ff2888acce23" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_5c61a60b-f891-4c7f-b5ae-f76033516455" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_4b1d1085-449b-4d18-ac48-ff2888acce23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_LoanAgreementMember_f5dbb1bc-bf8e-462f-b3e8-19453a9995fb" xlink:href="rubi-20180930.xsd#rubi_LoanAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4b1d1085-449b-4d18-ac48-ff2888acce23" xlink:to="loc_rubi_LoanAgreementMember_f5dbb1bc-bf8e-462f-b3e8-19453a9995fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_d9481dde-f36b-469e-b6c2-4e7c4925dbcb" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_b74f2ebf-0b49-4369-9161-c60547ce062b" xlink:to="loc_us-gaap_CreditFacilityAxis_d9481dde-f36b-469e-b6c2-4e7c4925dbcb" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_d1d780a2-ee0c-4ba3-911d-c4f671c40a53_default" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_d9481dde-f36b-469e-b6c2-4e7c4925dbcb" xlink:to="loc_us-gaap_CreditFacilityDomain_d1d780a2-ee0c-4ba3-911d-c4f671c40a53_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_d1d780a2-ee0c-4ba3-911d-c4f671c40a53" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_d9481dde-f36b-469e-b6c2-4e7c4925dbcb" xlink:to="loc_us-gaap_CreditFacilityDomain_d1d780a2-ee0c-4ba3-911d-c4f671c40a53" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_62fba65f-81fe-4fea-b55c-c8da5f497d79" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_d1d780a2-ee0c-4ba3-911d-c4f671c40a53" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_62fba65f-81fe-4fea-b55c-c8da5f497d79" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtInstrumentCovenantCompliancePeriodAxis_28b00732-bd65-4004-bc7a-49c5c897fd45" xlink:href="rubi-20180930.xsd#rubi_DebtInstrumentCovenantCompliancePeriodAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_b74f2ebf-0b49-4369-9161-c60547ce062b" xlink:to="loc_rubi_DebtInstrumentCovenantCompliancePeriodAxis_28b00732-bd65-4004-bc7a-49c5c897fd45" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_9dd7ea9f-a987-4867-894b-e5c6a27dbfc5_default" xlink:href="rubi-20180930.xsd#rubi_DebtInstrumentCovenantCompliancePeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_rubi_DebtInstrumentCovenantCompliancePeriodAxis_28b00732-bd65-4004-bc7a-49c5c897fd45" xlink:to="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_9dd7ea9f-a987-4867-894b-e5c6a27dbfc5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_9dd7ea9f-a987-4867-894b-e5c6a27dbfc5" xlink:href="rubi-20180930.xsd#rubi_DebtInstrumentCovenantCompliancePeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_rubi_DebtInstrumentCovenantCompliancePeriodAxis_28b00732-bd65-4004-bc7a-49c5c897fd45" xlink:to="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_9dd7ea9f-a987-4867-894b-e5c6a27dbfc5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtInstrumentCovenantCompliancePeriodOneMember_6579296b-dd26-4bdd-bed6-95a3897f2c47" xlink:href="rubi-20180930.xsd#rubi_DebtInstrumentCovenantCompliancePeriodOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_9dd7ea9f-a987-4867-894b-e5c6a27dbfc5" xlink:to="loc_rubi_DebtInstrumentCovenantCompliancePeriodOneMember_6579296b-dd26-4bdd-bed6-95a3897f2c47" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtInstrumentCovenantCompliancePeriodTwoMember_3a90af6e-fee0-4d1a-80d2-791e83c2fd66" xlink:href="rubi-20180930.xsd#rubi_DebtInstrumentCovenantCompliancePeriodTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_9dd7ea9f-a987-4867-894b-e5c6a27dbfc5" xlink:to="loc_rubi_DebtInstrumentCovenantCompliancePeriodTwoMember_3a90af6e-fee0-4d1a-80d2-791e83c2fd66" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtInstrumentCovenantCompliancePeriodThreeMember_5dc29f8d-baa1-491c-97c5-00a34e519542" xlink:href="rubi-20180930.xsd#rubi_DebtInstrumentCovenantCompliancePeriodThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_9dd7ea9f-a987-4867-894b-e5c6a27dbfc5" xlink:to="loc_rubi_DebtInstrumentCovenantCompliancePeriodThreeMember_5dc29f8d-baa1-491c-97c5-00a34e519542" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_3e24c1e2-19c6-4d31-9056-b637cfc98e30" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_db19656f-aa05-426d-96e9-a9830968c597" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_3e24c1e2-19c6-4d31-9056-b637cfc98e30" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_e514b1dd-2dff-42e2-83b7-1b3d930a459e" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_db19656f-aa05-426d-96e9-a9830968c597" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_e514b1dd-2dff-42e2-83b7-1b3d930a459e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_LineOfCreditFacilityBorrowingCapacityReserves_c593f28b-677d-4747-bb8a-637ac77d71ab" xlink:href="rubi-20180930.xsd#rubi_LineOfCreditFacilityBorrowingCapacityReserves"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_db19656f-aa05-426d-96e9-a9830968c597" xlink:to="loc_rubi_LineOfCreditFacilityBorrowingCapacityReserves_c593f28b-677d-4747-bb8a-637ac77d71ab" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_fbe4c328-0acc-4dd6-b3a9-bb39c57b9d39" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_db19656f-aa05-426d-96e9-a9830968c597" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_fbe4c328-0acc-4dd6-b3a9-bb39c57b9d39" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_76c18295-ad28-4c52-9ceb-63477d1b2b2b" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_db19656f-aa05-426d-96e9-a9830968c597" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_76c18295-ad28-4c52-9ceb-63477d1b2b2b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_f84b7c71-fd75-4e63-b0bf-f3604b3831f4" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_db19656f-aa05-426d-96e9-a9830968c597" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_f84b7c71-fd75-4e63-b0bf-f3604b3831f4" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtInstrumentAdjustedQuickRatioInStreamlinePeriod_26f82e14-6623-4513-85ed-edd404b5effe" xlink:href="rubi-20180930.xsd#rubi_DebtInstrumentAdjustedQuickRatioInStreamlinePeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_db19656f-aa05-426d-96e9-a9830968c597" xlink:to="loc_rubi_DebtInstrumentAdjustedQuickRatioInStreamlinePeriod_26f82e14-6623-4513-85ed-edd404b5effe" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtInstrumentAdjustedQuickRatio_48ae6e43-9fc7-46fc-b3d8-29588ccbac33" xlink:href="rubi-20180930.xsd#rubi_DebtInstrumentAdjustedQuickRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_db19656f-aa05-426d-96e9-a9830968c597" xlink:to="loc_rubi_DebtInstrumentAdjustedQuickRatio_48ae6e43-9fc7-46fc-b3d8-29588ccbac33" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMaximum_8789e8fc-c776-4f06-adfe-112847c490a9" xlink:href="rubi-20180930.xsd#rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_db19656f-aa05-426d-96e9-a9830968c597" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMaximum_8789e8fc-c776-4f06-adfe-112847c490a9" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMinimum_fef05a08-aabc-4eb6-8f1b-26d72f2fc16f" xlink:href="rubi-20180930.xsd#rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_db19656f-aa05-426d-96e9-a9830968c597" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMinimum_fef05a08-aabc-4eb6-8f1b-26d72f2fc16f" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEBITDAVarianceFromProjections_e75eb8e0-1251-4433-b8bb-fd994b38d094" xlink:href="rubi-20180930.xsd#rubi_DebtInstrumentCovenantComplianceAdjustedEBITDAVarianceFromProjections"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_db19656f-aa05-426d-96e9-a9830968c597" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEBITDAVarianceFromProjections_e75eb8e0-1251-4433-b8bb-fd994b38d094" xlink:type="arc" order="11"/>
  </link:definitionLink>
</link:linkbase>
