

<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <roleRef roleURI="http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpensesDetails" xlink:href="rubi-20160930.xsd#AccountsPayableAndAccruedExpensesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinations" xlink:href="rubi-20160930.xsd#BusinessCombinations" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsProFormaInformationDetails" xlink:href="rubi-20160930.xsd#BusinessCombinationsProFormaInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsTables" xlink:href="rubi-20160930.xsd#BusinessCombinationsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/CommitmentsAndContingencies" xlink:href="rubi-20160930.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/CommitmentsAndContingenciesDetails" xlink:href="rubi-20160930.xsd#CommitmentsAndContingenciesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedBalanceSheets" xlink:href="rubi-20160930.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="rubi-20160930.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementOfCashFlows" xlink:href="rubi-20160930.xsd#ConsolidatedStatementOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:href="rubi-20160930.xsd#ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsOfOperations" xlink:href="rubi-20160930.xsd#ConsolidatedStatementsOfOperations" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:href="rubi-20160930.xsd#ConsolidatedStatementsOfStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/DocumentAndEntityInformation" xlink:href="rubi-20160930.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurements" xlink:href="rubi-20160930.xsd#FairValueMeasurements" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsChangeInFairValueDetails" xlink:href="rubi-20160930.xsd#FairValueMeasurementsChangeInFairValueDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsChangeInFairValueLiabilitiesDetails" xlink:href="rubi-20160930.xsd#FairValueMeasurementsChangeInFairValueLiabilitiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsFinancialInstrumentsDetails" xlink:href="rubi-20160930.xsd#FairValueMeasurementsFinancialInstrumentsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsNarrativeDetails" xlink:href="rubi-20160930.xsd#FairValueMeasurementsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsTables" xlink:href="rubi-20160930.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxes" xlink:href="rubi-20160930.xsd#IncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxesNarrativeDetails" xlink:href="rubi-20160930.xsd#IncomeTaxesNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssets" xlink:href="rubi-20160930.xsd#IntangibleAssets" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsDetails" xlink:href="rubi-20160930.xsd#IntangibleAssetsFiniteLivedIntangibleAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:href="rubi-20160930.xsd#IntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsIntangibleAssetsUsefulLivesDetails" xlink:href="rubi-20160930.xsd#IntangibleAssetsIntangibleAssetsUsefulLivesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsNarrativeDetails" xlink:href="rubi-20160930.xsd#IntangibleAssetsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsTables" xlink:href="rubi-20160930.xsd#IntangibleAssetsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShare" xlink:href="rubi-20160930.xsd#NetIncomeLossPerShare" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareDetails" xlink:href="rubi-20160930.xsd#NetIncomeLossPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareNarrativeDetails" xlink:href="rubi-20160930.xsd#NetIncomeLossPerShareNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareTables" xlink:href="rubi-20160930.xsd#NetIncomeLossPerShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:href="rubi-20160930.xsd#OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="rubi-20160930.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmounts" xlink:href="rubi-20160930.xsd#OtherBalanceSheetAmounts" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsAmortizedCostAndFairValueOfMarketableSecuritiesDetails" xlink:href="rubi-20160930.xsd#OtherBalanceSheetAmountsAmortizedCostAndFairValueOfMarketableSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsInvestmentsInMarketableSecuritiesDetails" xlink:href="rubi-20160930.xsd#OtherBalanceSheetAmountsInvestmentsInMarketableSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsNarrativeDetails" xlink:href="rubi-20160930.xsd#OtherBalanceSheetAmountsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsTables" xlink:href="rubi-20160930.xsd#OtherBalanceSheetAmountsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensation" xlink:href="rubi-20160930.xsd#StockBasedCompensation" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationExpenseDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockActivityDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationRestrictedStockActivityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockNarrativeDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationRestrictedStockNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsNarrativeDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationRestrictedStockUnitsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsNarrativeDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationStockOptionsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationTables" xlink:href="rubi-20160930.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationValuationAssumptionsDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationValuationAssumptionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/SubsequentEvent" xlink:href="rubi-20160930.xsd#SubsequentEvent" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/SubsequentEventDetails" xlink:href="rubi-20160930.xsd#SubsequentEventDetails" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpensesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinations" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsProFormaInformationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_D21B4F393E145850B66C492057BD8F8B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4AB03F994F9C502A875E1BBB964012C7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D21B4F393E145850B66C492057BD8F8B" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4AB03F994F9C502A875E1BBB964012C7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_B177B341929C586D8DA495A254A35B2E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4AB03F994F9C502A875E1BBB964012C7" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_B177B341929C586D8DA495A254A35B2E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F65C01D96D5AF4BF29E62982CAC5112E_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_B177B341929C586D8DA495A254A35B2E" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F65C01D96D5AF4BF29E62982CAC5112E_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9E57C62A98025D8C82C8185CE30F13D3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_B177B341929C586D8DA495A254A35B2E" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9E57C62A98025D8C82C8185CE30F13D3" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_ChangoIncMember" xlink:label="loc_rubi_ChangoIncMember_2ECD6E106EFC5A07A8E76003E99D4B49" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9E57C62A98025D8C82C8185CE30F13D3" xlink:to="loc_rubi_ChangoIncMember_2ECD6E106EFC5A07A8E76003E99D4B49" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_CF2B8163C6AE5C13AA7667ED69CC20E1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D21B4F393E145850B66C492057BD8F8B" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_CF2B8163C6AE5C13AA7667ED69CC20E1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_2A4B2C2528AD576AB4E39DAD1C92DD7E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D21B4F393E145850B66C492057BD8F8B" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_2A4B2C2528AD576AB4E39DAD1C92DD7E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_DB5CDB25CA47521FB6F841768140B845" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D21B4F393E145850B66C492057BD8F8B" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_DB5CDB25CA47521FB6F841768140B845" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/CommitmentsAndContingenciesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_395F5A7B4176546C84182750A1A81F8C" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_6BFC82312ADF5EAD9140229FB3935A3C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_395F5A7B4176546C84182750A1A81F8C" xlink:to="loc_us-gaap_StatementTable_6BFC82312ADF5EAD9140229FB3935A3C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_ACB6AC06045C5B3CA34EB491DCBF42B0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_6BFC82312ADF5EAD9140229FB3935A3C" xlink:to="loc_us-gaap_StatementClassOfStockAxis_ACB6AC06045C5B3CA34EB491DCBF42B0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_5212E13B4B43198DD09C82FCA9CED768_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_ACB6AC06045C5B3CA34EB491DCBF42B0" xlink:to="loc_us-gaap_ClassOfStockDomain_5212E13B4B43198DD09C82FCA9CED768_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_6BDB9D7EF9BE5C32B77955A684AD05DF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_ACB6AC06045C5B3CA34EB491DCBF42B0" xlink:to="loc_us-gaap_ClassOfStockDomain_6BDB9D7EF9BE5C32B77955A684AD05DF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_EC9F9327B7575344A5E47F0C1C55BA1C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_6BDB9D7EF9BE5C32B77955A684AD05DF" xlink:to="loc_us-gaap_PreferredStockMember_EC9F9327B7575344A5E47F0C1C55BA1C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_F9C21B455D8A549BBA0E7BAB33802188" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_395F5A7B4176546C84182750A1A81F8C" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_F9C21B455D8A549BBA0E7BAB33802188" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_EBCB29CBBD6D50D2BEF2D139C87A6A73" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_395F5A7B4176546C84182750A1A81F8C" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_EBCB29CBBD6D50D2BEF2D139C87A6A73" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_CBFCDB4BCAFA5A80B16173B52BC67ABB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_395F5A7B4176546C84182750A1A81F8C" xlink:to="loc_us-gaap_PreferredStockSharesIssued_CBFCDB4BCAFA5A80B16173B52BC67ABB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_B4655D72E8A65A2A9B59F5FF20AAD2F1" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_395F5A7B4176546C84182750A1A81F8C" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_B4655D72E8A65A2A9B59F5FF20AAD2F1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_710D2004F60856D7BD0A8904B8B675A0" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_395F5A7B4176546C84182750A1A81F8C" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_710D2004F60856D7BD0A8904B8B675A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_B481C0070F3B5F6DBAA3B4B3F9651F98" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_395F5A7B4176546C84182750A1A81F8C" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_B481C0070F3B5F6DBAA3B4B3F9651F98" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_9FF6633C3F1C5FC0B172083A812B1B2F" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_395F5A7B4176546C84182750A1A81F8C" xlink:to="loc_us-gaap_CommonStockSharesIssued_9FF6633C3F1C5FC0B172083A812B1B2F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_8E754F1A0BE150258BCFE7B6F2165A91" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_395F5A7B4176546C84182750A1A81F8C" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_8E754F1A0BE150258BCFE7B6F2165A91" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementOfCashFlows" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsOfOperations" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_147CA2AD4C23D25DAA7302D4FEC71D6F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_A85EB1B3A1A34CB6B7D702D4FEC79546" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_147CA2AD4C23D25DAA7302D4FEC71D6F" xlink:to="loc_us-gaap_StatementTable_A85EB1B3A1A34CB6B7D702D4FEC79546" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPronouncementEarlyAdoptionAxis" xlink:label="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis_A7B70C05ECFA2C13150802D4FEC73DC9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_A85EB1B3A1A34CB6B7D702D4FEC79546" xlink:to="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis_A7B70C05ECFA2C13150802D4FEC73DC9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPrinciplesEarlyAdoptionMember" xlink:label="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_C588C218D3E979E326D802D4FEC79FF1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis_A7B70C05ECFA2C13150802D4FEC73DC9" xlink:to="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_C588C218D3E979E326D802D4FEC79FF1_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPrinciplesEarlyAdoptionMember" xlink:label="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_C588C218D3E979E326D802D4FEC79FF1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis_A7B70C05ECFA2C13150802D4FEC73DC9" xlink:to="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_C588C218D3E979E326D802D4FEC79FF1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPronouncementEarlyAdoptionEffectMember" xlink:label="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionEffectMember_743AEC48A06677FC6AD402D4FEC7EC4F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_C588C218D3E979E326D802D4FEC79FF1" xlink:to="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionEffectMember_743AEC48A06677FC6AD402D4FEC7EC4F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_82A47199FE9B6C401CAF02D4FEC7F010" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_A85EB1B3A1A34CB6B7D702D4FEC79546" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_82A47199FE9B6C401CAF02D4FEC7F010" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_D593A3DD2DCBFF2E81E502D4FEC7596B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_82A47199FE9B6C401CAF02D4FEC7F010" xlink:to="loc_us-gaap_TypeOfAdoptionMember_D593A3DD2DCBFF2E81E502D4FEC7596B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_D593A3DD2DCBFF2E81E502D4FEC7596B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_82A47199FE9B6C401CAF02D4FEC7F010" xlink:to="loc_us-gaap_TypeOfAdoptionMember_D593A3DD2DCBFF2E81E502D4FEC7596B" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_AccountingStandardsUpdate201609Member" xlink:label="loc_rubi_AccountingStandardsUpdate201609Member_2E7D2B0C705874D33D8602D4FEC707A5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_D593A3DD2DCBFF2E81E502D4FEC7596B" xlink:to="loc_rubi_AccountingStandardsUpdate201609Member_2E7D2B0C705874D33D8602D4FEC707A5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_D8205DAE485F37C8352C02D4FEC76AA9" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_A85EB1B3A1A34CB6B7D702D4FEC79546" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_D8205DAE485F37C8352C02D4FEC76AA9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_CA05D4C03528B4A34EBE02D4FEC770CB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_D8205DAE485F37C8352C02D4FEC76AA9" xlink:to="loc_us-gaap_EquityComponentDomain_CA05D4C03528B4A34EBE02D4FEC770CB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_CA05D4C03528B4A34EBE02D4FEC770CB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_D8205DAE485F37C8352C02D4FEC76AA9" xlink:to="loc_us-gaap_EquityComponentDomain_CA05D4C03528B4A34EBE02D4FEC770CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_6042DCB296ACE9C4DA9602D4FEC79691" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_CA05D4C03528B4A34EBE02D4FEC770CB" xlink:to="loc_us-gaap_CommonStockMember_6042DCB296ACE9C4DA9602D4FEC79691" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_6F554D7CAB8432E013B102D4FEC7BD19" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_CA05D4C03528B4A34EBE02D4FEC770CB" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_6F554D7CAB8432E013B102D4FEC7BD19" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_114E8B975FC7119F003202D4FEC7610A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_CA05D4C03528B4A34EBE02D4FEC770CB" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_114E8B975FC7119F003202D4FEC7610A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_4F80424DB684DF8D8EDB02D4FEC7C3F3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_CA05D4C03528B4A34EBE02D4FEC770CB" xlink:to="loc_us-gaap_RetainedEarningsMember_4F80424DB684DF8D8EDB02D4FEC7C3F3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_147CA2AD4C23D25DAA7302D4FEC71D6F" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_E3BBFDBA9E5E2174391E02D4FEC774CD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_E3BBFDBA9E5E2174391E02D4FEC774CD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_5310513D9E49F3EC6F1502D4FEC73574" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_5310513D9E49F3EC6F1502D4FEC73574" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_B0FEB786AF4A1F67228C02D4FEC78B4C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_StockholdersEquity_B0FEB786AF4A1F67228C02D4FEC78B4C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_38333877F60903DE9EF502D4FEC8B569" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_38333877F60903DE9EF502D4FEC8B569" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_064DBE2ED4009DC773BB02D4FEC81669" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_064DBE2ED4009DC773BB02D4FEC81669" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_4F8D780A9C5209DF467902D4FEC8FCD8" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_4F8D780A9C5209DF467902D4FEC8FCD8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation" xlink:label="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_9E1CB3FF34DC3BD6EEF902D4FEC80C43" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_9E1CB3FF34DC3BD6EEF902D4FEC80C43" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet" xlink:label="loc_us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet_0F6D900D5B84DA39C40402D4FEC8BF35" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet_0F6D900D5B84DA39C40402D4FEC8BF35" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross_03A279AC5FD2079F980C02D4FEC8BE52" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross_03A279AC5FD2079F980C02D4FEC8BE52" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_F2B0FB49E07F2E94F91302D4FEC84120" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_F2B0FB49E07F2E94F91302D4FEC84120" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_AE571FB84489FC603C3902D4FEC815E6" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_AE571FB84489FC603C3902D4FEC815E6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_BC90A494EBA9F7F1763802D4FEC8755A" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_BC90A494EBA9F7F1763802D4FEC8755A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_21067E0C7A69DEE1455D02D4FEC84122" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_21067E0C7A69DEE1455D02D4FEC84122" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_EAE4FE31DCECD946599D02D4FEC83E2A" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_EAE4FE31DCECD946599D02D4FEC83E2A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_B14BF29AB721311B0DAD02D4FEC8F995" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_9085A2B74A3408B5630902D4FEC73D72" xlink:to="loc_us-gaap_NetIncomeLoss_B14BF29AB721311B0DAD02D4FEC8F995" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurements" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsChangeInFairValueDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_E90F9BCD08DC53C4901822D39B677C2D" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_24F6F7AA9BBB500A875F694314806269" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_E90F9BCD08DC53C4901822D39B677C2D" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_24F6F7AA9BBB500A875F694314806269" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_04F8D74BE0E75DE497E45BD32DA8A297" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_24F6F7AA9BBB500A875F694314806269" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_04F8D74BE0E75DE497E45BD32DA8A297" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5391E81168C06C93914382FCA8B425CC_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_04F8D74BE0E75DE497E45BD32DA8A297" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5391E81168C06C93914382FCA8B425CC_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7AEA0C596ED252E1A5A0BA0DF2C46043" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_04F8D74BE0E75DE497E45BD32DA8A297" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7AEA0C596ED252E1A5A0BA0DF2C46043" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_ISocketIncMember" xlink:label="loc_rubi_ISocketIncMember_B64D7F0405E857A09FE17F15AA2395FC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7AEA0C596ED252E1A5A0BA0DF2C46043" xlink:to="loc_rubi_ISocketIncMember_B64D7F0405E857A09FE17F15AA2395FC" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_ChangoIncMember" xlink:label="loc_rubi_ChangoIncMember_AB3B779710EF5333A76A5864A573A6E8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7AEA0C596ED252E1A5A0BA0DF2C46043" xlink:to="loc_rubi_ChangoIncMember_AB3B779710EF5333A76A5864A573A6E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B7581536913B53E8B7B8AFC490EB071F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_24F6F7AA9BBB500A875F694314806269" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B7581536913B53E8B7B8AFC490EB071F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_7C9F4F830C5CA5B945CE82FCA8B67464_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B7581536913B53E8B7B8AFC490EB071F" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_7C9F4F830C5CA5B945CE82FCA8B67464_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_7FB372D030D550BF81504AF3A6604D11" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B7581536913B53E8B7B8AFC490EB071F" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_7FB372D030D550BF81504AF3A6604D11" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_168E69BA7AA556F3BB4B1A106D620CBE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_7FB372D030D550BF81504AF3A6604D11" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_168E69BA7AA556F3BB4B1A106D620CBE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByLiabilityClassAxis" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_272AFDC0C80A5EA682870680241CCCD9" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_24F6F7AA9BBB500A875F694314806269" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_272AFDC0C80A5EA682870680241CCCD9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_5737B7CCD71BA23E2EB982FCA8B77D97_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_272AFDC0C80A5EA682870680241CCCD9" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_5737B7CCD71BA23E2EB982FCA8B77D97_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_D23DFFF6D48F5ABA90C992CE45475C98" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_272AFDC0C80A5EA682870680241CCCD9" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_D23DFFF6D48F5ABA90C992CE45475C98" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WarrantMember" xlink:label="loc_us-gaap_WarrantMember_B1E8F0653FB1503CB58149AC8EBA819F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_D23DFFF6D48F5ABA90C992CE45475C98" xlink:to="loc_us-gaap_WarrantMember_B1E8F0653FB1503CB58149AC8EBA819F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_0CBE1CACFEC7567BAE3431A23DD665DA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_E90F9BCD08DC53C4901822D39B677C2D" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_0CBE1CACFEC7567BAE3431A23DD665DA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_DFA1EB61FBCB54CA97839507D89ED698" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_0CBE1CACFEC7567BAE3431A23DD665DA" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_DFA1EB61FBCB54CA97839507D89ED698" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_74C1CFC7B023540D9486C3892F889B7D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_0CBE1CACFEC7567BAE3431A23DD665DA" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_74C1CFC7B023540D9486C3892F889B7D" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisLiabilityConversionofWarrantstoStock" xlink:label="loc_rubi_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisLiabilityConversionofWarrantstoStock_728544A28F6E5ADBABD76B9C4458CB75" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_0CBE1CACFEC7567BAE3431A23DD665DA" xlink:to="loc_rubi_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisLiabilityConversionofWarrantstoStock_728544A28F6E5ADBABD76B9C4458CB75" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsChangeInFairValueLiabilitiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_57770BE18AB050DF915C63AD8C181F67" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_51C9EB8CD0AA52CBA984F221A449348F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_57770BE18AB050DF915C63AD8C181F67" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_51C9EB8CD0AA52CBA984F221A449348F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4E24A31630E150558068C670FE7D3FC7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_51C9EB8CD0AA52CBA984F221A449348F" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4E24A31630E150558068C670FE7D3FC7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_830BA62D5E561E2FC18E14BE125007DD_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4E24A31630E150558068C670FE7D3FC7" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_830BA62D5E561E2FC18E14BE125007DD_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_69E59F7C7A2458B68D97634D4C918644" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4E24A31630E150558068C670FE7D3FC7" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_69E59F7C7A2458B68D97634D4C918644" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_550141273B5258B8804657FFB3BD5B2F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_69E59F7C7A2458B68D97634D4C918644" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_550141273B5258B8804657FFB3BD5B2F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_F71EA245E6545126ACD294095D2C92D4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_51C9EB8CD0AA52CBA984F221A449348F" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_F71EA245E6545126ACD294095D2C92D4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5A9F5F782657EDA86F9714BEF71A7E0E_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_F71EA245E6545126ACD294095D2C92D4" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5A9F5F782657EDA86F9714BEF71A7E0E_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_570D8C0747FA5FB38192A13A9B032D1B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_F71EA245E6545126ACD294095D2C92D4" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_570D8C0747FA5FB38192A13A9B032D1B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_9C301372540A5BCF9535CA3A7C71792F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_570D8C0747FA5FB38192A13A9B032D1B" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_9C301372540A5BCF9535CA3A7C71792F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_CF9C98CB8CF3576CBDFBB06F15F76613" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_51C9EB8CD0AA52CBA984F221A449348F" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_CF9C98CB8CF3576CBDFBB06F15F76613" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F01435ED9B951C4EF94E14BE12503ED1_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_CF9C98CB8CF3576CBDFBB06F15F76613" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F01435ED9B951C4EF94E14BE12503ED1_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_205F71C395AD55FEBF85261ED4721981" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_CF9C98CB8CF3576CBDFBB06F15F76613" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_205F71C395AD55FEBF85261ED4721981" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_ChangoIncMember" xlink:label="loc_rubi_ChangoIncMember_08E5CEA079D65521A0ABABC9F9C35E6A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_205F71C395AD55FEBF85261ED4721981" xlink:to="loc_rubi_ChangoIncMember_08E5CEA079D65521A0ABABC9F9C35E6A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_6B1649DC743A5970B1CF38D644D117C0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_57770BE18AB050DF915C63AD8C181F67" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_6B1649DC743A5970B1CF38D644D117C0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_EC58865D5B675F4DBFBA40282E9CDEC2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_6B1649DC743A5970B1CF38D644D117C0" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_EC58865D5B675F4DBFBA40282E9CDEC2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_5D5508EAC9E45CAF9D8BBD6EBE9B923B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_6B1649DC743A5970B1CF38D644D117C0" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_5D5508EAC9E45CAF9D8BBD6EBE9B923B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsFinancialInstrumentsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_83EC4EC4D8405AF2B16B3210EA7EA497" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_23C97AE478EC52D1B3EDFFF52E95FF76" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_83EC4EC4D8405AF2B16B3210EA7EA497" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_23C97AE478EC52D1B3EDFFF52E95FF76" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_EE2038CF2FB956ED964529F8AAEA96AF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_23C97AE478EC52D1B3EDFFF52E95FF76" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_EE2038CF2FB956ED964529F8AAEA96AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C8895AC8671E4A97C59E2D6544B2C347_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_EE2038CF2FB956ED964529F8AAEA96AF" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C8895AC8671E4A97C59E2D6544B2C347_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C61E27CB173750C79FDF0D9DD40ADE56" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_EE2038CF2FB956ED964529F8AAEA96AF" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C61E27CB173750C79FDF0D9DD40ADE56" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_ISocketIncMember" xlink:label="loc_rubi_ISocketIncMember_43489436B38D58259FD555147CFC593F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C61E27CB173750C79FDF0D9DD40ADE56" xlink:to="loc_rubi_ISocketIncMember_43489436B38D58259FD555147CFC593F" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_ChangoIncMember" xlink:label="loc_rubi_ChangoIncMember_822BB805AEE55886B4514D1E16E9731A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C61E27CB173750C79FDF0D9DD40ADE56" xlink:to="loc_rubi_ChangoIncMember_822BB805AEE55886B4514D1E16E9731A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_DAE50B415F62546DB9EC7DD560A040F5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_23C97AE478EC52D1B3EDFFF52E95FF76" xlink:to="loc_us-gaap_InvestmentTypeAxis_DAE50B415F62546DB9EC7DD560A040F5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_2FCD6410AA4F071A582A2D6544B2E58F_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_DAE50B415F62546DB9EC7DD560A040F5" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_2FCD6410AA4F071A582A2D6544B2E58F_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_74DF3E31160F58388CC52D9528477876" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_DAE50B415F62546DB9EC7DD560A040F5" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_74DF3E31160F58388CC52D9528477876" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_D975C938783D53F5BB689E043834B00C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_74DF3E31160F58388CC52D9528477876" xlink:to="loc_us-gaap_MoneyMarketFundsMember_D975C938783D53F5BB689E043834B00C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_ED113A4EFE595F4C988DDF25BD7699A0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_74DF3E31160F58388CC52D9528477876" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_ED113A4EFE595F4C988DDF25BD7699A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_14ECD79A6B0253C3BC46973BCDC9DA77" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_74DF3E31160F58388CC52D9528477876" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_14ECD79A6B0253C3BC46973BCDC9DA77" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_0CB49DD7FD64539A9969B7231E6D36AD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_23C97AE478EC52D1B3EDFFF52E95FF76" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_0CB49DD7FD64539A9969B7231E6D36AD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_B09434BE3AAE24C3B4352D6544B346AC_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_0CB49DD7FD64539A9969B7231E6D36AD" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_B09434BE3AAE24C3B4352D6544B346AC_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_A29E71BC6C825B2E846922D08E6EE5A0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_0CB49DD7FD64539A9969B7231E6D36AD" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_A29E71BC6C825B2E846922D08E6EE5A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_C66D79397CAE56649107741BD78AF286" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_A29E71BC6C825B2E846922D08E6EE5A0" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_C66D79397CAE56649107741BD78AF286" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7E902B3D43C454EF92FBC993E358336A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_23C97AE478EC52D1B3EDFFF52E95FF76" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7E902B3D43C454EF92FBC993E358336A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2D47C3CB86D6C70A5A4F2D6544B35530_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7E902B3D43C454EF92FBC993E358336A" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2D47C3CB86D6C70A5A4F2D6544B35530_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_24F3BC7295175137AA69AC676A69DFA9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7E902B3D43C454EF92FBC993E358336A" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_24F3BC7295175137AA69AC676A69DFA9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_0B554AAEE1BF505083F78E0F5C32086E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_24F3BC7295175137AA69AC676A69DFA9" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_0B554AAEE1BF505083F78E0F5C32086E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_91805A36E00052EFB159F7CE405EFA86" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_24F3BC7295175137AA69AC676A69DFA9" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_91805A36E00052EFB159F7CE405EFA86" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_B0F526AF00B353D69AA4E8CA55C6C906" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_24F3BC7295175137AA69AC676A69DFA9" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_B0F526AF00B353D69AA4E8CA55C6C906" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_80EA155BF492509EA564D1880493C123" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_83EC4EC4D8405AF2B16B3210EA7EA497" xlink:to="loc_us-gaap_AvailableForSaleSecurities_80EA155BF492509EA564D1880493C123" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_BusinessCombinationContingentConsiderationSharesIssued" xlink:label="loc_rubi_BusinessCombinationContingentConsiderationSharesIssued_417952AE2C275EC98A2ED30AA0955404" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_83EC4EC4D8405AF2B16B3210EA7EA497" xlink:to="loc_rubi_BusinessCombinationContingentConsiderationSharesIssued_417952AE2C275EC98A2ED30AA0955404" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_017C6E436C2A544B91EFCF762B7EBF17" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_C2B9648C284351CC868CB540D468D8D9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_017C6E436C2A544B91EFCF762B7EBF17" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_C2B9648C284351CC868CB540D468D8D9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_23C476F49FF75485908FC582B9CEE72E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_C2B9648C284351CC868CB540D468D8D9" xlink:to="loc_us-gaap_InvestmentTypeAxis_23C476F49FF75485908FC582B9CEE72E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_0F1379D6D79483FC1A572979892A75CF_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_23C476F49FF75485908FC582B9CEE72E" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_0F1379D6D79483FC1A572979892A75CF_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_7F2960EE9F7152F0AEEEFF68A353D88B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_23C476F49FF75485908FC582B9CEE72E" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_7F2960EE9F7152F0AEEEFF68A353D88B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_DDCC1FD9BF1A58C99E5A293FF70598A8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_7F2960EE9F7152F0AEEEFF68A353D88B" xlink:to="loc_us-gaap_MoneyMarketFundsMember_DDCC1FD9BF1A58C99E5A293FF70598A8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_C481D8A927A45CB885DBFAD90200075F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_C2B9648C284351CC868CB540D468D8D9" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_C481D8A927A45CB885DBFAD90200075F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A0302FD2690FBAEB12882979892AA5D3_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_C481D8A927A45CB885DBFAD90200075F" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A0302FD2690FBAEB12882979892AA5D3_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2D7BE6B770505769A95778BA7867106A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_C481D8A927A45CB885DBFAD90200075F" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2D7BE6B770505769A95778BA7867106A" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_ISocketIncMember" xlink:label="loc_rubi_ISocketIncMember_81190426D1435DD29AFDCBE7E4A1CFD7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2D7BE6B770505769A95778BA7867106A" xlink:to="loc_rubi_ISocketIncMember_81190426D1435DD29AFDCBE7E4A1CFD7" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_ChangoIncMember" xlink:label="loc_rubi_ChangoIncMember_C5DA0143E1E05C4086973B6624C2DA59" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2D7BE6B770505769A95778BA7867106A" xlink:to="loc_rubi_ChangoIncMember_C5DA0143E1E05C4086973B6624C2DA59" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B913AEC3F1265E5BBA26E18F1D1404A9" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_C2B9648C284351CC868CB540D468D8D9" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B913AEC3F1265E5BBA26E18F1D1404A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_3E89C39C2FA13076A56D2979892AE58B_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B913AEC3F1265E5BBA26E18F1D1404A9" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_3E89C39C2FA13076A56D2979892AE58B_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_3F28BC89CCE95B23BE98E7CBFAF3556F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B913AEC3F1265E5BBA26E18F1D1404A9" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_3F28BC89CCE95B23BE98E7CBFAF3556F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_0B556400F482583D8C58C7FA1AB61EBF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_3F28BC89CCE95B23BE98E7CBFAF3556F" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_0B556400F482583D8C58C7FA1AB61EBF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_D50E975869E95E5F9CBDFD4BB95C7284" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_C2B9648C284351CC868CB540D468D8D9" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_D50E975869E95E5F9CBDFD4BB95C7284" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_698C1C27F52F661E1D1B2979892A48D3_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_D50E975869E95E5F9CBDFD4BB95C7284" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_698C1C27F52F661E1D1B2979892A48D3_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_80A5F54EEA895398B726642BA54902A3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_D50E975869E95E5F9CBDFD4BB95C7284" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_80A5F54EEA895398B726642BA54902A3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_BC52A013A33557F2976D2CA4C0658FCF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_80A5F54EEA895398B726642BA54902A3" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_BC52A013A33557F2976D2CA4C0658FCF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_A5BE1BC2DCA356AF97637F41A1431C60" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_80A5F54EEA895398B726642BA54902A3" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_A5BE1BC2DCA356AF97637F41A1431C60" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_A9CA9F8019A05925BFE96B70BB5A6C24" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_80A5F54EEA895398B726642BA54902A3" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_A9CA9F8019A05925BFE96B70BB5A6C24" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_6EE0B9E4831158BCA547B634A1686E65" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_017C6E436C2A544B91EFCF762B7EBF17" xlink:to="loc_us-gaap_AvailableForSaleSecurities_6EE0B9E4831158BCA547B634A1686E65" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_BusinessCombinationContingentConsiderationSharesIssued" xlink:label="loc_rubi_BusinessCombinationContingentConsiderationSharesIssued_334D644B2F27506E927AF01AD86C6D15" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_017C6E436C2A544B91EFCF762B7EBF17" xlink:to="loc_rubi_BusinessCombinationContingentConsiderationSharesIssued_334D644B2F27506E927AF01AD86C6D15" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_0ED4245CDEA85A1597935D1089D59987" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_017C6E436C2A544B91EFCF762B7EBF17" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_0ED4245CDEA85A1597935D1089D59987" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_0587200A1B1C575CB95FAC78C6285D60" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_017C6E436C2A544B91EFCF762B7EBF17" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_0587200A1B1C575CB95FAC78C6285D60" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssets" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6EDA4AB9ED98584B9050E53997BB0B03" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_50E838CD95515ED3926B6774F23112C5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6EDA4AB9ED98584B9050E53997BB0B03" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_50E838CD95515ED3926B6774F23112C5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7DC01D495812549BB2127AF2CC8EAAD7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_50E838CD95515ED3926B6774F23112C5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7DC01D495812549BB2127AF2CC8EAAD7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8E639F687CF326B7038B24E6D11DF233_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7DC01D495812549BB2127AF2CC8EAAD7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_8E639F687CF326B7038B24E6D11DF233_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7F70AF27A7AA5E98AFCC68B446F92F52" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7DC01D495812549BB2127AF2CC8EAAD7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7F70AF27A7AA5E98AFCC68B446F92F52" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_AE55CC9647A05ED68521D6715498323D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7F70AF27A7AA5E98AFCC68B446F92F52" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_AE55CC9647A05ED68521D6715498323D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_4331267E969852D29016E68DE6B2EF1A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7F70AF27A7AA5E98AFCC68B446F92F52" xlink:to="loc_us-gaap_CustomerRelationshipsMember_4331267E969852D29016E68DE6B2EF1A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_C69CFA84681A5021BD543CF7C7388C2D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7F70AF27A7AA5E98AFCC68B446F92F52" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_C69CFA84681A5021BD543CF7C7388C2D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_A57C9D87E40655C3852EBCA1942A114F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6EDA4AB9ED98584B9050E53997BB0B03" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_A57C9D87E40655C3852EBCA1942A114F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_72D00B7C529E564A92080FF56392B4E8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6EDA4AB9ED98584B9050E53997BB0B03" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_72D00B7C529E564A92080FF56392B4E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_CA8CB51CC86057B7A748DD0C55FC953B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6EDA4AB9ED98584B9050E53997BB0B03" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_CA8CB51CC86057B7A748DD0C55FC953B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsIntangibleAssetsUsefulLivesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73F6730EF04D5735845A7D2BA41B8870" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_CE55702BF2DE52FF92004B0DA603631E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73F6730EF04D5735845A7D2BA41B8870" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_CE55702BF2DE52FF92004B0DA603631E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_9E43C2D605065234A742856CC627D2BA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_CE55702BF2DE52FF92004B0DA603631E" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_9E43C2D605065234A742856CC627D2BA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_139C5E8672E5A56DBD782D8DBCBDBD2B_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_9E43C2D605065234A742856CC627D2BA" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_139C5E8672E5A56DBD782D8DBCBDBD2B_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_446ED9C57D2F5DB4B0EC1CB323F314DD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_9E43C2D605065234A742856CC627D2BA" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_446ED9C57D2F5DB4B0EC1CB323F314DD" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_ChangoIncMember" xlink:label="loc_rubi_ChangoIncMember_DF83F920B95152AEBD9E79AFE59F7BF5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_446ED9C57D2F5DB4B0EC1CB323F314DD" xlink:to="loc_rubi_ChangoIncMember_DF83F920B95152AEBD9E79AFE59F7BF5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_8D3E80A4939E554E88B6EFED723DFDEF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_CE55702BF2DE52FF92004B0DA603631E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_8D3E80A4939E554E88B6EFED723DFDEF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_99711B1FB956B18D0A092D8DBCBEE9F5_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_8D3E80A4939E554E88B6EFED723DFDEF" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_99711B1FB956B18D0A092D8DBCBEE9F5_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_031D42BFC4155908A6A8BA6E6CDD31B2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_8D3E80A4939E554E88B6EFED723DFDEF" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_031D42BFC4155908A6A8BA6E6CDD31B2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_71898BCBD89E5E788AB2B5CA8BC1BCA8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_031D42BFC4155908A6A8BA6E6CDD31B2" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_71898BCBD89E5E788AB2B5CA8BC1BCA8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_439247E8C1C8583A9CD34A93F0DFD195" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_031D42BFC4155908A6A8BA6E6CDD31B2" xlink:to="loc_us-gaap_CustomerRelationshipsMember_439247E8C1C8583A9CD34A93F0DFD195" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_9EEBCB1FD1E95A679008F10199428E12" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_CE55702BF2DE52FF92004B0DA603631E" xlink:to="loc_us-gaap_RangeAxis_9EEBCB1FD1E95A679008F10199428E12" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_00A9397C5C50D17FC4272D8DBCBE8136_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_9EEBCB1FD1E95A679008F10199428E12" xlink:to="loc_us-gaap_RangeMember_00A9397C5C50D17FC4272D8DBCBE8136_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_1C61D07E828F5C3F924E7BA27CDF43AC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_9EEBCB1FD1E95A679008F10199428E12" xlink:to="loc_us-gaap_RangeMember_1C61D07E828F5C3F924E7BA27CDF43AC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_652C1623A7405BC29D07A0BB82D9E2C0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_1C61D07E828F5C3F924E7BA27CDF43AC" xlink:to="loc_us-gaap_MinimumMember_652C1623A7405BC29D07A0BB82D9E2C0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_6095074A1EFA5338BAF2FB4A2489B615" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_1C61D07E828F5C3F924E7BA27CDF43AC" xlink:to="loc_us-gaap_MaximumMember_6095074A1EFA5338BAF2FB4A2489B615" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_1AD33FC47A6452218673D020B1949CD9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73F6730EF04D5735845A7D2BA41B8870" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_1AD33FC47A6452218673D020B1949CD9" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4CD6F8748F19CD318BF402D4FE335DC1" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_BB660179891694B3348602D4FE33A1EF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4CD6F8748F19CD318BF402D4FE335DC1" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_BB660179891694B3348602D4FE33A1EF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ChangeInAccountingEstimateByTypeAxis" xlink:label="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_BD34DD368B788988DC8502D4FE334BD9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_BB660179891694B3348602D4FE33A1EF" xlink:to="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_BD34DD368B788988DC8502D4FE334BD9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ChangeInAccountingEstimateTypeDomain" xlink:label="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_F182FEC91110B244B2C902D4FE333F61_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_BD34DD368B788988DC8502D4FE334BD9" xlink:to="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_F182FEC91110B244B2C902D4FE333F61_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ChangeInAccountingEstimateTypeDomain" xlink:label="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_F182FEC91110B244B2C902D4FE333F61" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_BD34DD368B788988DC8502D4FE334BD9" xlink:to="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_F182FEC91110B244B2C902D4FE333F61" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IntangibleAssetsAmortizationPeriodMember" xlink:label="loc_us-gaap_IntangibleAssetsAmortizationPeriodMember_BC8EC32C34294FC3153702D4FE33641D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_F182FEC91110B244B2C902D4FE333F61" xlink:to="loc_us-gaap_IntangibleAssetsAmortizationPeriodMember_BC8EC32C34294FC3153702D4FE33641D" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_DevelopedTechnologyRightsAndCustomerRelationshipsMember" xlink:label="loc_rubi_DevelopedTechnologyRightsAndCustomerRelationshipsMember_DF36E176DDB099AD80CB02D4FE33B003" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_F182FEC91110B244B2C902D4FE333F61" xlink:to="loc_rubi_DevelopedTechnologyRightsAndCustomerRelationshipsMember_DF36E176DDB099AD80CB02D4FE33B003" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_299ECDBFED260FF7C2FC02D4FE333C88" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_BB660179891694B3348602D4FE33A1EF" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_299ECDBFED260FF7C2FC02D4FE333C88" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1392DD56F25DFE21DE4902D4FE33EFEC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_299ECDBFED260FF7C2FC02D4FE333C88" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1392DD56F25DFE21DE4902D4FE33EFEC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1392DD56F25DFE21DE4902D4FE33EFEC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_299ECDBFED260FF7C2FC02D4FE333C88" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1392DD56F25DFE21DE4902D4FE33EFEC" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_DevelopedTechnologyRightsAndCustomerRelationshipsMember" xlink:label="loc_rubi_DevelopedTechnologyRightsAndCustomerRelationshipsMember_E9C4FD4991DF5F79312802D4FE3340EF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1392DD56F25DFE21DE4902D4FE33EFEC" xlink:to="loc_rubi_DevelopedTechnologyRightsAndCustomerRelationshipsMember_E9C4FD4991DF5F79312802D4FE3340EF" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_TechnologyBasedIntangibleAssetandCustomerRelationshipsMember" xlink:label="loc_rubi_TechnologyBasedIntangibleAssetandCustomerRelationshipsMember_9AFA58BEFBDD1DA803F802D4FE33EC37" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1392DD56F25DFE21DE4902D4FE33EFEC" xlink:to="loc_rubi_TechnologyBasedIntangibleAssetandCustomerRelationshipsMember_9AFA58BEFBDD1DA803F802D4FE33EC37" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_B8542E668FEE5978B49B02D4FE33695D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4CD6F8748F19CD318BF402D4FE335DC1" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_B8542E668FEE5978B49B02D4FE33695D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted" xlink:label="loc_us-gaap_EarningsPerShareBasicAndDiluted_6CBA0B919671C3913C6402D4FE339AB3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4CD6F8748F19CD318BF402D4FE335DC1" xlink:to="loc_us-gaap_EarningsPerShareBasicAndDiluted_6CBA0B919671C3913C6402D4FE339AB3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_55674B6B5DD9DF2FC9B002D4FE337CFD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4CD6F8748F19CD318BF402D4FE335DC1" xlink:to="loc_us-gaap_EarningsPerShareBasic_55674B6B5DD9DF2FC9B002D4FE337CFD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_1F4FF0FD61895D7EFD5102D4FE33E236" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4CD6F8748F19CD318BF402D4FE335DC1" xlink:to="loc_us-gaap_EarningsPerShareDiluted_1F4FF0FD61895D7EFD5102D4FE33E236" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShare" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareDilutedLineItems" xlink:label="loc_us-gaap_EarningsPerShareDilutedLineItems_1FE7570908566208BEBEF374EE1D983A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_161EECAE3DA1DE8E9A68F374EE1D2D3B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_1FE7570908566208BEBEF374EE1D983A" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_161EECAE3DA1DE8E9A68F374EE1D2D3B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_12B841FBD2E964914A0AF374EE1D5978" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_161EECAE3DA1DE8E9A68F374EE1D2D3B" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_12B841FBD2E964914A0AF374EE1D5978" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_23549F4132D2A9240756F374EE1DD8AC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_12B841FBD2E964914A0AF374EE1D5978" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_23549F4132D2A9240756F374EE1DD8AC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_23549F4132D2A9240756F374EE1DD8AC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_12B841FBD2E964914A0AF374EE1D5978" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_23549F4132D2A9240756F374EE1DD8AC" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_ChangoIncMember" xlink:label="loc_rubi_ChangoIncMember_14F741F369453BB12851F374EE1D1D60" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_23549F4132D2A9240756F374EE1DD8AC" xlink:to="loc_rubi_ChangoIncMember_14F741F369453BB12851F374EE1D1D60" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_A504296C53C3F84602A8F374EE1D5DA7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_161EECAE3DA1DE8E9A68F374EE1D2D3B" xlink:to="loc_us-gaap_AwardTypeAxis_A504296C53C3F84602A8F374EE1D5DA7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4DDF1B5EFB4B7F097852F374EE1D6730_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_A504296C53C3F84602A8F374EE1D5DA7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4DDF1B5EFB4B7F097852F374EE1D6730_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4DDF1B5EFB4B7F097852F374EE1D6730" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_A504296C53C3F84602A8F374EE1D5DA7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4DDF1B5EFB4B7F097852F374EE1D6730" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_624D239D6167F59C64CEF374EE1D1C28" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4DDF1B5EFB4B7F097852F374EE1D6730" xlink:to="loc_us-gaap_EmployeeStockOptionMember_624D239D6167F59C64CEF374EE1D1C28" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_A11FB736E6B9E5568483F374EE1D16A1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4DDF1B5EFB4B7F097852F374EE1D6730" xlink:to="loc_us-gaap_RestrictedStockMember_A11FB736E6B9E5568483F374EE1D16A1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_348969B813B2576BAF40F374EE1DC7C2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4DDF1B5EFB4B7F097852F374EE1D6730" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_348969B813B2576BAF40F374EE1DC7C2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_CB3FEFEE166D79478C8DF374EE1DE89B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4DDF1B5EFB4B7F097852F374EE1D6730" xlink:to="loc_us-gaap_EmployeeStockMember_CB3FEFEE166D79478C8DF374EE1DE89B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_EE0ADE93D47873C6781DF374EE1D1D00" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_1FE7570908566208BEBEF374EE1D983A" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_EE0ADE93D47873C6781DF374EE1D1D00" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_04A637BDBA8C3895C2C3F374EE1D5959" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_1FE7570908566208BEBEF374EE1D983A" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_04A637BDBA8C3895C2C3F374EE1D5959" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesRestrictedStock" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesRestrictedStock_65457EA9F2E06D244336F374EE1DEAAB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_1FE7570908566208BEBEF374EE1D983A" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesRestrictedStock_65457EA9F2E06D244336F374EE1DEAAB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesContingentlyIssuable" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesContingentlyIssuable_6C970173BEF36FD32133F374EE1D1B0C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_1FE7570908566208BEBEF374EE1D983A" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesContingentlyIssuable_6C970173BEF36FD32133F374EE1D1B0C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_4C47CBD2B55287276FBAF374EE1D9CAD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_1FE7570908566208BEBEF374EE1D983A" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_4C47CBD2B55287276FBAF374EE1D9CAD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_A3D407C5BC75E351CCF1F374EE1DBCE1" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_1FE7570908566208BEBEF374EE1D983A" xlink:to="loc_us-gaap_EarningsPerShareBasic_A3D407C5BC75E351CCF1F374EE1DBCE1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_4303ADA5FDDD2D52CEDAF374EE1D5343" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_1FE7570908566208BEBEF374EE1D983A" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_4303ADA5FDDD2D52CEDAF374EE1D5343" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_IncrementalCommonSharesAttributableToDilutiveEffectOfEscrowShares" xlink:label="loc_rubi_IncrementalCommonSharesAttributableToDilutiveEffectOfEscrowShares_151D2D59B208A29D047DF374EE1D9140" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_1FE7570908566208BEBEF374EE1D983A" xlink:to="loc_rubi_IncrementalCommonSharesAttributableToDilutiveEffectOfEscrowShares_151D2D59B208A29D047DF374EE1D9140" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToContingentlyIssuableShares" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToContingentlyIssuableShares_D3A399598E436374F78DF374EE1DD327" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_1FE7570908566208BEBEF374EE1D983A" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToContingentlyIssuableShares_D3A399598E436374F78DF374EE1DD327" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_0D2C5B507D9141761E06F374EE1D443F" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_1FE7570908566208BEBEF374EE1D983A" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_0D2C5B507D9141761E06F374EE1D443F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_32CFEAC932BD4EF3938CF374EE1D2838" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_1FE7570908566208BEBEF374EE1D983A" xlink:to="loc_us-gaap_EarningsPerShareDiluted_32CFEAC932BD4EF3938CF374EE1D2838" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_BC9A5F97B0212A018597F374EE1C76B4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_337B67F7900C70A7FDFDF374EE1C4FD9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_BC9A5F97B0212A018597F374EE1C76B4" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_337B67F7900C70A7FDFDF374EE1C4FD9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_197049267960E517CE68F374EE1CB2CE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_337B67F7900C70A7FDFDF374EE1C4FD9" xlink:to="loc_us-gaap_StatementScenarioAxis_197049267960E517CE68F374EE1CB2CE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_8CABC7F40125B174CDAEF374EE1C20FC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_197049267960E517CE68F374EE1CB2CE" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_8CABC7F40125B174CDAEF374EE1C20FC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_8CABC7F40125B174CDAEF374EE1C20FC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_197049267960E517CE68F374EE1CB2CE" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_8CABC7F40125B174CDAEF374EE1C20FC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProFormaMember" xlink:label="loc_us-gaap_ProFormaMember_C3DC5CECF767581C31F4F374EE1C42A5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_8CABC7F40125B174CDAEF374EE1C20FC" xlink:to="loc_us-gaap_ProFormaMember_C3DC5CECF767581C31F4F374EE1C42A5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_B0DE0C8ADDDCB0C1B7C3F374EE1C2279" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_337B67F7900C70A7FDFDF374EE1C4FD9" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_B0DE0C8ADDDCB0C1B7C3F374EE1C2279" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD57A0B7C51B8E7AB058F374EE1CD336_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_B0DE0C8ADDDCB0C1B7C3F374EE1C2279" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD57A0B7C51B8E7AB058F374EE1CD336_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD57A0B7C51B8E7AB058F374EE1CD336" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_B0DE0C8ADDDCB0C1B7C3F374EE1C2279" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD57A0B7C51B8E7AB058F374EE1CD336" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_ISocketIncMember" xlink:label="loc_rubi_ISocketIncMember_A3A98D35F5E4D27B0BF5F374EE1C0C8F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD57A0B7C51B8E7AB058F374EE1CD336" xlink:to="loc_rubi_ISocketIncMember_A3A98D35F5E4D27B0BF5F374EE1C0C8F" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_ChangoIncMember" xlink:label="loc_rubi_ChangoIncMember_3350BF7D5D6290E55776F374EE1C130A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD57A0B7C51B8E7AB058F374EE1CD336" xlink:to="loc_rubi_ChangoIncMember_3350BF7D5D6290E55776F374EE1C130A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_79EFCF649D3ADC0F3735F374EE1C490A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_337B67F7900C70A7FDFDF374EE1C4FD9" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_79EFCF649D3ADC0F3735F374EE1C490A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12A7774717F0F6D1DB20F374EE1CE561_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_79EFCF649D3ADC0F3735F374EE1C490A" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12A7774717F0F6D1DB20F374EE1CE561_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12A7774717F0F6D1DB20F374EE1CE561" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_79EFCF649D3ADC0F3735F374EE1C490A" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12A7774717F0F6D1DB20F374EE1CE561" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockOptionMember" xlink:label="loc_us-gaap_StockOptionMember_FE0A757EA0124FD58667F374EE1CF507" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12A7774717F0F6D1DB20F374EE1CE561" xlink:to="loc_us-gaap_StockOptionMember_FE0A757EA0124FD58667F374EE1CF507" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_04811BC7340B4DBA9FEAF374EE1C35E7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12A7774717F0F6D1DB20F374EE1CE561" xlink:to="loc_us-gaap_RestrictedStockMember_04811BC7340B4DBA9FEAF374EE1C35E7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_56EA01B8F54D921E8B1BF374EE1C48D0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12A7774717F0F6D1DB20F374EE1CE561" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_56EA01B8F54D921E8B1BF374EE1C48D0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_67BB8F99734C6F1D1473F374EE1C0CA4" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12A7774717F0F6D1DB20F374EE1CE561" xlink:to="loc_us-gaap_EmployeeStockMember_67BB8F99734C6F1D1473F374EE1C0CA4" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_SharesHeldinEscrowMember" xlink:label="loc_rubi_SharesHeldinEscrowMember_8171033F16FFD75DE986F374EE1C5BB4" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12A7774717F0F6D1DB20F374EE1CE561" xlink:to="loc_rubi_SharesHeldinEscrowMember_8171033F16FFD75DE986F374EE1C5BB4" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_ContingentSharesMember" xlink:label="loc_rubi_ContingentSharesMember_CE18FCB5E1098B41EECBF374EE1C235C" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12A7774717F0F6D1DB20F374EE1CE561" xlink:to="loc_rubi_ContingentSharesMember_CE18FCB5E1098B41EECBF374EE1C235C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_BF231ECC45BC8809F228F374EE1CBEDD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_BC9A5F97B0212A018597F374EE1C76B4" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_BF231ECC45BC8809F228F374EE1CBEDD" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_BusinessCombinationContingentConsiderationSharesIssued" xlink:label="loc_rubi_BusinessCombinationContingentConsiderationSharesIssued_F99AF853306D3F8DEBF5F374EE1CDA5C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_BC9A5F97B0212A018597F374EE1C76B4" xlink:to="loc_rubi_BusinessCombinationContingentConsiderationSharesIssued_F99AF853306D3F8DEBF5F374EE1CDA5C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockDividendsIncomeStatementImpact" xlink:label="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_48BA949B5C4C39135595F374EE1C72C0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_BC9A5F97B0212A018597F374EE1C76B4" xlink:to="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_48BA949B5C4C39135595F374EE1C72C0" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmounts" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsAmortizedCostAndFairValueOfMarketableSecuritiesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsInvestmentsInMarketableSecuritiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_0554F7979E7B514DBA3C8F784039F3E6" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_FF3EB495E9B652A0965E7852EEFF40C6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_0554F7979E7B514DBA3C8F784039F3E6" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_FF3EB495E9B652A0965E7852EEFF40C6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_660A15337E5B5A28A732A330458ED7F6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_FF3EB495E9B652A0965E7852EEFF40C6" xlink:to="loc_us-gaap_InvestmentTypeAxis_660A15337E5B5A28A732A330458ED7F6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_8E67BFCAD8707B465EB95239F41126F4_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_660A15337E5B5A28A732A330458ED7F6" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_8E67BFCAD8707B465EB95239F41126F4_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_4003B8084F0950838D24C38A02135B4D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_660A15337E5B5A28A732A330458ED7F6" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_4003B8084F0950838D24C38A02135B4D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShortTermInvestmentsMember" xlink:label="loc_us-gaap_ShortTermInvestmentsMember_25CE777C075F5191A7EADEC0F2FAF6D3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_4003B8084F0950838D24C38A02135B4D" xlink:to="loc_us-gaap_ShortTermInvestmentsMember_25CE777C075F5191A7EADEC0F2FAF6D3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherLongTermInvestmentsMember" xlink:label="loc_us-gaap_OtherLongTermInvestmentsMember_5813FEBC026859E3BC2DBECF877ACC77" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_4003B8084F0950838D24C38A02135B4D" xlink:to="loc_us-gaap_OtherLongTermInvestmentsMember_5813FEBC026859E3BC2DBECF877ACC77" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_1931D72EB72255248F5E6448F1685722" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_FF3EB495E9B652A0965E7852EEFF40C6" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_1931D72EB72255248F5E6448F1685722" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F38E962D2ED1E96EA85F5239F4118417_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_1931D72EB72255248F5E6448F1685722" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F38E962D2ED1E96EA85F5239F4118417_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_4F5CCC05AD305C63B83EF8171CFEF9EB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_1931D72EB72255248F5E6448F1685722" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_4F5CCC05AD305C63B83EF8171CFEF9EB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_ABDAD007D0EC55C995A0130A2941ED43" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_4F5CCC05AD305C63B83EF8171CFEF9EB" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_ABDAD007D0EC55C995A0130A2941ED43" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_C56FD80FBDFF5D0AA2E1EC0D858CA07C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_4F5CCC05AD305C63B83EF8171CFEF9EB" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_C56FD80FBDFF5D0AA2E1EC0D858CA07C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_361A4EF8F07D5BF28E70B8F42FA8E857" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_0554F7979E7B514DBA3C8F784039F3E6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_361A4EF8F07D5BF28E70B8F42FA8E857" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5450C128E80A56D792F6715FA157D2ED" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_0554F7979E7B514DBA3C8F784039F3E6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5450C128E80A56D792F6715FA157D2ED" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_FC1DCCCA37345B2D8841E6C1B406DAB7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_0554F7979E7B514DBA3C8F784039F3E6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_FC1DCCCA37345B2D8841E6C1B406DAB7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_E2A385BCC8DC56DBBF62BF54627DEED3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_0554F7979E7B514DBA3C8F784039F3E6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_E2A385BCC8DC56DBBF62BF54627DEED3" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems_9B86C037E6E4944D50B9F7B482BD148F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable" xlink:label="loc_us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable_8562B7EB29EC5F702623F7B482BDD327" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems_9B86C037E6E4944D50B9F7B482BD148F" xlink:to="loc_us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable_8562B7EB29EC5F702623F7B482BDD327" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_7DA8F6CC90A1F711BD75F7B482BD7372" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable_8562B7EB29EC5F702623F7B482BDD327" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_7DA8F6CC90A1F711BD75F7B482BD7372" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1EE5711EC2A373B60B4FF7B482BDFB49_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_7DA8F6CC90A1F711BD75F7B482BD7372" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1EE5711EC2A373B60B4FF7B482BDFB49_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1EE5711EC2A373B60B4FF7B482BDFB49" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_7DA8F6CC90A1F711BD75F7B482BD7372" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1EE5711EC2A373B60B4FF7B482BDFB49" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNoncurrentAssetsMember" xlink:label="loc_us-gaap_OtherNoncurrentAssetsMember_ED771F198977099B0FAEF7B482BDDDE8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_1EE5711EC2A373B60B4FF7B482BDFB49" xlink:to="loc_us-gaap_OtherNoncurrentAssetsMember_ED771F198977099B0FAEF7B482BDDDE8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember" xlink:label="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_AB72B09B56A2F276F03EF7B482BD0CF3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_1EE5711EC2A373B60B4FF7B482BDFB49" xlink:to="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_AB72B09B56A2F276F03EF7B482BD0CF3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_056E9D13987393A2AEB2F7B482BD2860" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems_9B86C037E6E4944D50B9F7B482BD148F" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_056E9D13987393A2AEB2F7B482BD2860" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_AvailableforsaleSecuritiesWeightedaverageRemainingContractualMaturity" xlink:label="loc_rubi_AvailableforsaleSecuritiesWeightedaverageRemainingContractualMaturity_29C4E6359E3DE7862639F7B482BD85AB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems_9B86C037E6E4944D50B9F7B482BD148F" xlink:to="loc_rubi_AvailableforsaleSecuritiesWeightedaverageRemainingContractualMaturity_29C4E6359E3DE7862639F7B482BD85AB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_D1FAF16AB6BD720463ADF7B482BD9815" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems_9B86C037E6E4944D50B9F7B482BD148F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_D1FAF16AB6BD720463ADF7B482BD9815" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_AccountsPayableRighttoOffsetCurrent" xlink:label="loc_rubi_AccountsPayableRighttoOffsetCurrent_873C2BB98AB3A9D76E86F7B482BD0BB6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems_9B86C037E6E4944D50B9F7B482BD148F" xlink:to="loc_rubi_AccountsPayableRighttoOffsetCurrent_873C2BB98AB3A9D76E86F7B482BD0BB6" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F45E283FFBC75681BA72AFA999916967" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_623311E50A5D5FB8AE2FFAE54F569C52" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F45E283FFBC75681BA72AFA999916967" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_623311E50A5D5FB8AE2FFAE54F569C52" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_8EF1B35AC1EC54F9B36402D25ADB390D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_623311E50A5D5FB8AE2FFAE54F569C52" xlink:to="loc_us-gaap_AwardTypeAxis_8EF1B35AC1EC54F9B36402D25ADB390D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_24186C05ECE6CFBC918A2D5B2DB19BB3_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_8EF1B35AC1EC54F9B36402D25ADB390D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_24186C05ECE6CFBC918A2D5B2DB19BB3_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3CA61B367EC65F63AEF77DA6C0546911" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_8EF1B35AC1EC54F9B36402D25ADB390D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3CA61B367EC65F63AEF77DA6C0546911" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_E5FFBF5E5E815A8AA56CBF9D4BFED30A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3CA61B367EC65F63AEF77DA6C0546911" xlink:to="loc_us-gaap_EmployeeStockOptionMember_E5FFBF5E5E815A8AA56CBF9D4BFED30A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_9D7201AEBDEE5740BF06FD00289E7793" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3CA61B367EC65F63AEF77DA6C0546911" xlink:to="loc_us-gaap_RestrictedStockMember_9D7201AEBDEE5740BF06FD00289E7793" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_51DF08E25364555A983562D6BB35DF9C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F45E283FFBC75681BA72AFA999916967" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_51DF08E25364555A983562D6BB35DF9C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DB22958ECB9E7742DC6C02D4FDE5B66E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3582C4F2FBBCCDA700AC02D4FDE543C6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DB22958ECB9E7742DC6C02D4FDE5B66E" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3582C4F2FBBCCDA700AC02D4FDE543C6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_4614B79F991118642D9102D4FDE5BFAF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3582C4F2FBBCCDA700AC02D4FDE543C6" xlink:to="loc_us-gaap_PlanNameAxis_4614B79F991118642D9102D4FDE5BFAF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_29D9399A3FD3261884E402D4FDE5682D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_4614B79F991118642D9102D4FDE5BFAF" xlink:to="loc_us-gaap_PlanNameDomain_29D9399A3FD3261884E402D4FDE5682D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_29D9399A3FD3261884E402D4FDE5682D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_4614B79F991118642D9102D4FDE5BFAF" xlink:to="loc_us-gaap_PlanNameDomain_29D9399A3FD3261884E402D4FDE5682D" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_A2014EmployeeStockPurchasePlanMember" xlink:label="loc_rubi_A2014EmployeeStockPurchasePlanMember_9B10D5F3762A57E2C8BA02D4FDE55776" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_29D9399A3FD3261884E402D4FDE5682D" xlink:to="loc_rubi_A2014EmployeeStockPurchasePlanMember_9B10D5F3762A57E2C8BA02D4FDE55776" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_80CE3643083CF0DFA6E902D4FDE5B4FF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3582C4F2FBBCCDA700AC02D4FDE543C6" xlink:to="loc_us-gaap_AwardTypeAxis_80CE3643083CF0DFA6E902D4FDE5B4FF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AACD2D15BBE966AB93D902D4FDE5ED75_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_80CE3643083CF0DFA6E902D4FDE5B4FF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AACD2D15BBE966AB93D902D4FDE5ED75_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AACD2D15BBE966AB93D902D4FDE5ED75" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_80CE3643083CF0DFA6E902D4FDE5B4FF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AACD2D15BBE966AB93D902D4FDE5ED75" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_51E24BFDAD09D500F39502D4FDE50A15" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AACD2D15BBE966AB93D902D4FDE5ED75" xlink:to="loc_us-gaap_EmployeeStockMember_51E24BFDAD09D500F39502D4FDE50A15" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_3619B918406AF581AFD902D4FDE55FE9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DB22958ECB9E7742DC6C02D4FDE5B66E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_3619B918406AF581AFD902D4FDE55FE9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_AB98C17E2C728035C1F502D4FDE5A34A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DB22958ECB9E7742DC6C02D4FDE5B66E" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_AB98C17E2C728035C1F502D4FDE5A34A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_1946FF9C269375F276D802D4FDE54AE7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DB22958ECB9E7742DC6C02D4FDE5B66E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_1946FF9C269375F276D802D4FDE54AE7" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardIncreaseinSharesAuthorizedPercentofOutstandingStock" xlink:label="loc_rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardIncreaseinSharesAuthorizedPercentofOutstandingStock_D40F4E49D7252046F5C202D4FDE5E6C4" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DB22958ECB9E7742DC6C02D4FDE5B66E" xlink:to="loc_rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardIncreaseinSharesAuthorizedPercentofOutstandingStock_D40F4E49D7252046F5C202D4FDE5E6C4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_45A2DBDC9AA9B195655A02D4FDE58009" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DB22958ECB9E7742DC6C02D4FDE5B66E" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_45A2DBDC9AA9B195655A02D4FDE58009" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_6A54DAFE726B3E58138702D4FDE5C040" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DB22958ECB9E7742DC6C02D4FDE5B66E" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_6A54DAFE726B3E58138702D4FDE5C040" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_0EF83D385992F7C3728002D4FDE58206" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DB22958ECB9E7742DC6C02D4FDE5B66E" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_0EF83D385992F7C3728002D4FDE58206" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_45A3C0D46CDC9667CFF102D4FDE5A7BB" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DB22958ECB9E7742DC6C02D4FDE5B66E" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_45A3C0D46CDC9667CFF102D4FDE5A7BB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_18628DA07C1593930E1602D4FDE566DD" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DB22958ECB9E7742DC6C02D4FDE5B66E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_18628DA07C1593930E1602D4FDE566DD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_876D423F3A6BD9CFCDE002D4FDE589C8" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DB22958ECB9E7742DC6C02D4FDE5B66E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_876D423F3A6BD9CFCDE002D4FDE589C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_68DB8E2B2F45B2EE1EA302D4FDE5C349" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DB22958ECB9E7742DC6C02D4FDE5B66E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_68DB8E2B2F45B2EE1EA302D4FDE5C349" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationExpenseDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_24ABBAE6FAF9500FA86783C2C1B1B87F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_448BE16B47E35C31AB49DE8022632E78" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_24ABBAE6FAF9500FA86783C2C1B1B87F" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_448BE16B47E35C31AB49DE8022632E78" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_2B04B59F3887533CA189B8380AB26490" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_448BE16B47E35C31AB49DE8022632E78" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_2B04B59F3887533CA189B8380AB26490" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_386B4B505D7AC6D3AFE8A70C2518B00D_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_2B04B59F3887533CA189B8380AB26490" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_386B4B505D7AC6D3AFE8A70C2518B00D_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_1306964934FB5D59BB4063C815D8FCB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_2B04B59F3887533CA189B8380AB26490" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_1306964934FB5D59BB4063C815D8FCB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_5DD9FC532D695B34B877086DC6A9EDBB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_1306964934FB5D59BB4063C815D8FCB9" xlink:to="loc_us-gaap_CostOfSalesMember_5DD9FC532D695B34B877086DC6A9EDBB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_ECB43EB357E05646BA95CAE1B4FA33F7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_1306964934FB5D59BB4063C815D8FCB9" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_ECB43EB357E05646BA95CAE1B4FA33F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_D0AC49EAF2615F678BD89595D223357C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_1306964934FB5D59BB4063C815D8FCB9" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_D0AC49EAF2615F678BD89595D223357C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_1F6D3EAB0CD65D5895DA9ED12F31A287" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_1306964934FB5D59BB4063C815D8FCB9" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_1F6D3EAB0CD65D5895DA9ED12F31A287" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_FFF5B2EF3A325DC9A413E0554BC5ACF2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_24ABBAE6FAF9500FA86783C2C1B1B87F" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_FFF5B2EF3A325DC9A413E0554BC5ACF2" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockActivityDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC786E57E7235E37B09895FFCDEDEFB1" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_73D047F9400558FFBCC044B61E8C32EC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC786E57E7235E37B09895FFCDEDEFB1" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_73D047F9400558FFBCC044B61E8C32EC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_F0571BDD2F3150E187CF8664C98C5A61" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_73D047F9400558FFBCC044B61E8C32EC" xlink:to="loc_us-gaap_AwardTypeAxis_F0571BDD2F3150E187CF8664C98C5A61" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_53939E1DDEF52114041882FCAA2111F9_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_F0571BDD2F3150E187CF8664C98C5A61" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_53939E1DDEF52114041882FCAA2111F9_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3B255626927A5D4A95C247DF352A81F5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_F0571BDD2F3150E187CF8664C98C5A61" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3B255626927A5D4A95C247DF352A81F5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_F32E5E9C7EB859479EE8047948BC3995" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3B255626927A5D4A95C247DF352A81F5" xlink:to="loc_us-gaap_RestrictedStockMember_F32E5E9C7EB859479EE8047948BC3995" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_6886B302B77B5BB6A0813F9F5291D0BD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC786E57E7235E37B09895FFCDEDEFB1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_6886B302B77B5BB6A0813F9F5291D0BD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_593E29E20C0E55FA9549B50DB315D3EA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_6886B302B77B5BB6A0813F9F5291D0BD" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_593E29E20C0E55FA9549B50DB315D3EA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_509A45FD768E54DD8A2E2A62A5CFFBED" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_6886B302B77B5BB6A0813F9F5291D0BD" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_509A45FD768E54DD8A2E2A62A5CFFBED" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_CB3CFA9C7B0C582E8D0D3419B9DC02FA" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_6886B302B77B5BB6A0813F9F5291D0BD" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_CB3CFA9C7B0C582E8D0D3419B9DC02FA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_D2A25422DFEA56F991342D15EA6CFBB0" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_6886B302B77B5BB6A0813F9F5291D0BD" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_D2A25422DFEA56F991342D15EA6CFBB0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_B2ACAAA9A25251F3A48346B5304C4FD9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC786E57E7235E37B09895FFCDEDEFB1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_B2ACAAA9A25251F3A48346B5304C4FD9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_AFBBFDFD572B5CEC95F64B3DC447610E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_B2ACAAA9A25251F3A48346B5304C4FD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_AFBBFDFD572B5CEC95F64B3DC447610E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_E94B66D00B94581583DB5B70A449FCBF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_B2ACAAA9A25251F3A48346B5304C4FD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_E94B66D00B94581583DB5B70A449FCBF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_95ED10B60E035B63AF15ED4F9B7F4F3C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_B2ACAAA9A25251F3A48346B5304C4FD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_95ED10B60E035B63AF15ED4F9B7F4F3C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_EEF8593EE3B75432880ECFCCE806814B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_B2ACAAA9A25251F3A48346B5304C4FD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_EEF8593EE3B75432880ECFCCE806814B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8DCAFC8F7A79A3F36836F917CBB51DB6" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_228C4C6D36E77CAB97F5F917CBB51186" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8DCAFC8F7A79A3F36836F917CBB51DB6" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_228C4C6D36E77CAB97F5F917CBB51186" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_4050A8E381A6F7F3FE95F91909C71E21" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_228C4C6D36E77CAB97F5F917CBB51186" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_4050A8E381A6F7F3FE95F91909C71E21" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_844A7AF5E976E992ECB1F919F639A6D8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_4050A8E381A6F7F3FE95F91909C71E21" xlink:to="loc_us-gaap_TypeOfAdoptionMember_844A7AF5E976E992ECB1F919F639A6D8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_844A7AF5E976E992ECB1F919F639A6D8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_4050A8E381A6F7F3FE95F91909C71E21" xlink:to="loc_us-gaap_TypeOfAdoptionMember_844A7AF5E976E992ECB1F919F639A6D8" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_AccountingStandardsUpdate201609Member" xlink:label="loc_rubi_AccountingStandardsUpdate201609Member_038D58D42F9BEAF80633F91909F6BA76" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_844A7AF5E976E992ECB1F919F639A6D8" xlink:to="loc_rubi_AccountingStandardsUpdate201609Member_038D58D42F9BEAF80633F91909F6BA76" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPronouncementEarlyAdoptionAxis" xlink:label="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis_D4B21D12F578B9CAE466F917CBB503E5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_228C4C6D36E77CAB97F5F917CBB51186" xlink:to="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis_D4B21D12F578B9CAE466F917CBB503E5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPrinciplesEarlyAdoptionMember" xlink:label="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_168F2E12021F3340D94CF917CBB580F4_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis_D4B21D12F578B9CAE466F917CBB503E5" xlink:to="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_168F2E12021F3340D94CF917CBB580F4_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPrinciplesEarlyAdoptionMember" xlink:label="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_168F2E12021F3340D94CF917CBB580F4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis_D4B21D12F578B9CAE466F917CBB503E5" xlink:to="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_168F2E12021F3340D94CF917CBB580F4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPronouncementEarlyAdoptionEffectMember" xlink:label="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionEffectMember_6B4E7EE3DE8F58D1C98AF917CBB517FA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_168F2E12021F3340D94CF917CBB580F4" xlink:to="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionEffectMember_6B4E7EE3DE8F58D1C98AF917CBB517FA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_0D37219F0D666D0758AFF917CBB53919" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_228C4C6D36E77CAB97F5F917CBB51186" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_0D37219F0D666D0758AFF917CBB53919" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_778CB65D9C4439006BBDF917CBB52E75_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_0D37219F0D666D0758AFF917CBB53919" xlink:to="loc_us-gaap_EquityComponentDomain_778CB65D9C4439006BBDF917CBB52E75_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_778CB65D9C4439006BBDF917CBB52E75" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_0D37219F0D666D0758AFF917CBB53919" xlink:to="loc_us-gaap_EquityComponentDomain_778CB65D9C4439006BBDF917CBB52E75" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_5E46473BCC079DAE60C0F917CBB5AF24" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_778CB65D9C4439006BBDF917CBB52E75" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_5E46473BCC079DAE60C0F917CBB5AF24" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_5741FE8E7290848C4167F917CBB5D199" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_228C4C6D36E77CAB97F5F917CBB51186" xlink:to="loc_us-gaap_AwardTypeAxis_5741FE8E7290848C4167F917CBB5D199" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22247635A9B9D4B142FBF917CBB5A19D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_5741FE8E7290848C4167F917CBB5D199" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22247635A9B9D4B142FBF917CBB5A19D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22247635A9B9D4B142FBF917CBB5A19D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_5741FE8E7290848C4167F917CBB5D199" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22247635A9B9D4B142FBF917CBB5A19D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_5F3922775A086B6314DAF917CBB5F67C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22247635A9B9D4B142FBF917CBB5A19D" xlink:to="loc_us-gaap_RestrictedStockMember_5F3922775A086B6314DAF917CBB5F67C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_E31CCCD12355BAEC5C32F917CBB50F92" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_228C4C6D36E77CAB97F5F917CBB51186" xlink:to="loc_us-gaap_VestingAxis_E31CCCD12355BAEC5C32F917CBB50F92" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_A6909940FB9C23593744F917CBB529DF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_E31CCCD12355BAEC5C32F917CBB50F92" xlink:to="loc_us-gaap_VestingDomain_A6909940FB9C23593744F917CBB529DF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_A6909940FB9C23593744F917CBB529DF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_E31CCCD12355BAEC5C32F917CBB50F92" xlink:to="loc_us-gaap_VestingDomain_A6909940FB9C23593744F917CBB529DF" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_VestingRequisiteServiceConditionsMember" xlink:label="loc_rubi_VestingRequisiteServiceConditionsMember_F4C968400ABAE2523A1DF917CBB57811" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_A6909940FB9C23593744F917CBB529DF" xlink:to="loc_rubi_VestingRequisiteServiceConditionsMember_F4C968400ABAE2523A1DF917CBB57811" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_VestingStockPricePerformanceMember" xlink:label="loc_rubi_VestingStockPricePerformanceMember_B0DD905F72761CABCDF2F917CBB57CD4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_A6909940FB9C23593744F917CBB529DF" xlink:to="loc_rubi_VestingStockPricePerformanceMember_B0DD905F72761CABCDF2F917CBB57CD4" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_VestingMarketingConditionsMember" xlink:label="loc_rubi_VestingMarketingConditionsMember_491F4F0C1D38C55728FAF917CBB522B6" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_A6909940FB9C23593744F917CBB529DF" xlink:to="loc_rubi_VestingMarketingConditionsMember_491F4F0C1D38C55728FAF917CBB522B6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_F65507510FC530348BDDF917CBB5EED4" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_A6909940FB9C23593744F917CBB529DF" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_F65507510FC530348BDDF917CBB5EED4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_748F7BCDBCFF98A1251EF917CBB5516A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8DCAFC8F7A79A3F36836F917CBB51DB6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_748F7BCDBCFF98A1251EF917CBB5516A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_5A738CEB1092FF86222CF917CBB5157D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8DCAFC8F7A79A3F36836F917CBB51DB6" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_5A738CEB1092FF86222CF917CBB5157D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_F39B3A7CC93FB0E0E7C0F917CBB514F1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8DCAFC8F7A79A3F36836F917CBB51DB6" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_F39B3A7CC93FB0E0E7C0F917CBB514F1" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_EffectiveIncomeTaxRateReconciliationSharebasedCompensationExcessTaxBenefitAmount" xlink:label="loc_rubi_EffectiveIncomeTaxRateReconciliationSharebasedCompensationExcessTaxBenefitAmount_FC5C6CD7EA9C2C0C95A3F917CBB536AB" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8DCAFC8F7A79A3F36836F917CBB51DB6" xlink:to="loc_rubi_EffectiveIncomeTaxRateReconciliationSharebasedCompensationExcessTaxBenefitAmount_FC5C6CD7EA9C2C0C95A3F917CBB536AB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_629674E14B03548EBC7AF917CBB59441" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8DCAFC8F7A79A3F36836F917CBB51DB6" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_629674E14B03548EBC7AF917CBB59441" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_13C9C623369F3B1B29CEF917CBB5946A" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8DCAFC8F7A79A3F36836F917CBB51DB6" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_13C9C623369F3B1B29CEF917CBB5946A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_D1E400A674C57DA5B9A2F917CBB5892C" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8DCAFC8F7A79A3F36836F917CBB51DB6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_D1E400A674C57DA5B9A2F917CBB5892C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_6A0384C5329436BFF1CCF917CBB52403" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8DCAFC8F7A79A3F36836F917CBB51DB6" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_6A0384C5329436BFF1CCF917CBB52403" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_DE1FF545F8B1EE0C4BD4F917CBB58ED4" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8DCAFC8F7A79A3F36836F917CBB51DB6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_DE1FF545F8B1EE0C4BD4F917CBB58ED4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_6E4DAA592E5A15B026CFF917CBB566EC" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8DCAFC8F7A79A3F36836F917CBB51DB6" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_6E4DAA592E5A15B026CFF917CBB566EC" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DA5D94D6180552AE853914006822C530" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_FE3A9B324AB6526CB1E5355F4EE198B1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DA5D94D6180552AE853914006822C530" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_FE3A9B324AB6526CB1E5355F4EE198B1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_AFFB5AC1A9D757ADA0D1BE6932592600" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_FE3A9B324AB6526CB1E5355F4EE198B1" xlink:to="loc_us-gaap_AwardTypeAxis_AFFB5AC1A9D757ADA0D1BE6932592600" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0943FDEA49FA3EDD655082FCA62E79F5_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_AFFB5AC1A9D757ADA0D1BE6932592600" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0943FDEA49FA3EDD655082FCA62E79F5_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0905B159F9865469AE5A75B9A7D1E682" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_AFFB5AC1A9D757ADA0D1BE6932592600" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0905B159F9865469AE5A75B9A7D1E682" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_D39FFDB76A995DDFBF593B209A2889F8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0905B159F9865469AE5A75B9A7D1E682" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_D39FFDB76A995DDFBF593B209A2889F8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_0089CCD955FE58F087873ADAD40A0C2A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DA5D94D6180552AE853914006822C530" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_0089CCD955FE58F087873ADAD40A0C2A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_BD02E94C25CA5024BA47D285EB1F96AD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_0089CCD955FE58F087873ADAD40A0C2A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_BD02E94C25CA5024BA47D285EB1F96AD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_66798EFFA0B957279E89CF4951FE93BF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_0089CCD955FE58F087873ADAD40A0C2A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_66798EFFA0B957279E89CF4951FE93BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_56EA51C7D79257A1A85FEE7A6B82058F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_0089CCD955FE58F087873ADAD40A0C2A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_56EA51C7D79257A1A85FEE7A6B82058F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_4D14949490315850AD7A1CB8E16FA916" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_0089CCD955FE58F087873ADAD40A0C2A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_4D14949490315850AD7A1CB8E16FA916" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_AB8EC71DC3E853AF8C76F7C31289A5D2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DA5D94D6180552AE853914006822C530" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_AB8EC71DC3E853AF8C76F7C31289A5D2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_C4C00119812F5DFC9B4FC5562E76AFD3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_AB8EC71DC3E853AF8C76F7C31289A5D2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_C4C00119812F5DFC9B4FC5562E76AFD3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_7E5F764489CE53FF94B3EE6AE59CB7CF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_AB8EC71DC3E853AF8C76F7C31289A5D2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_7E5F764489CE53FF94B3EE6AE59CB7CF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_F13691CC40F15093A6804CB8859AE772" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_AB8EC71DC3E853AF8C76F7C31289A5D2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_F13691CC40F15093A6804CB8859AE772" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_89A0EEE1CD295D73A2490D977CEE447B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_AB8EC71DC3E853AF8C76F7C31289A5D2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_89A0EEE1CD295D73A2490D977CEE447B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_22800BB6365C5D669D460A34AF6E713E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_EBBF2CEC6DFA572F8E5D6E7094E6279D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_22800BB6365C5D669D460A34AF6E713E" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_EBBF2CEC6DFA572F8E5D6E7094E6279D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_D0F71C200D29581298FF8A44F04E23EE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_EBBF2CEC6DFA572F8E5D6E7094E6279D" xlink:to="loc_us-gaap_AwardTypeAxis_D0F71C200D29581298FF8A44F04E23EE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_567B17585FCB072F78C082FCA6F52449_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_D0F71C200D29581298FF8A44F04E23EE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_567B17585FCB072F78C082FCA6F52449_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0E7093AE6A34590AA3297E6021EC23E6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_D0F71C200D29581298FF8A44F04E23EE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0E7093AE6A34590AA3297E6021EC23E6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_DE486D4A23AD5A028F01A5C97E80C2A4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0E7093AE6A34590AA3297E6021EC23E6" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_DE486D4A23AD5A028F01A5C97E80C2A4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_E9FBAD526725557BA4B79071A62FF323" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_EBBF2CEC6DFA572F8E5D6E7094E6279D" xlink:to="loc_us-gaap_VestingAxis_E9FBAD526725557BA4B79071A62FF323" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_A1D064D5D028C8198CCB82FCA6F6DA64_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_E9FBAD526725557BA4B79071A62FF323" xlink:to="loc_us-gaap_VestingDomain_A1D064D5D028C8198CCB82FCA6F6DA64_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_82D6BF50D6EA54DFB60EDAB285D94FB6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_E9FBAD526725557BA4B79071A62FF323" xlink:to="loc_us-gaap_VestingDomain_82D6BF50D6EA54DFB60EDAB285D94FB6" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_VestingStockPricePerformanceMember" xlink:label="loc_rubi_VestingStockPricePerformanceMember_1672842503525930BAE529B37703F90A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_82D6BF50D6EA54DFB60EDAB285D94FB6" xlink:to="loc_rubi_VestingStockPricePerformanceMember_1672842503525930BAE529B37703F90A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_42C93E42B5335178955485EECC92DDA2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_82D6BF50D6EA54DFB60EDAB285D94FB6" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_42C93E42B5335178955485EECC92DDA2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_B5E0970D5F8D5E44AB6C1C238043795F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_22800BB6365C5D669D460A34AF6E713E" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_B5E0970D5F8D5E44AB6C1C238043795F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_CA77FE94869D584A8A9DC76FF1D0581F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_22800BB6365C5D669D460A34AF6E713E" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_CA77FE94869D584A8A9DC76FF1D0581F" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D1552804357D5CCCBF4E02DD55E49128" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2EE4F12F9C2852DAAAFD8A45D0709D8F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D1552804357D5CCCBF4E02DD55E49128" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2EE4F12F9C2852DAAAFD8A45D0709D8F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_86B8B5876FF55454B876C582C93BBB0A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2EE4F12F9C2852DAAAFD8A45D0709D8F" xlink:to="loc_us-gaap_AwardTypeAxis_86B8B5876FF55454B876C582C93BBB0A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F035D9CA7025911A651482FCAC22B1E2_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_86B8B5876FF55454B876C582C93BBB0A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F035D9CA7025911A651482FCAC22B1E2_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9AFE1496BC4353258776A0A35334A152" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_86B8B5876FF55454B876C582C93BBB0A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9AFE1496BC4353258776A0A35334A152" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_9F316CE1854E538DB2B3FE47D94A3748" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9AFE1496BC4353258776A0A35334A152" xlink:to="loc_us-gaap_EmployeeStockOptionMember_9F316CE1854E538DB2B3FE47D94A3748" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_2393C350A74652CC9BBF65F99ED41F0E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D1552804357D5CCCBF4E02DD55E49128" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_2393C350A74652CC9BBF65F99ED41F0E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_DA85EEDC5D2B5FE393D8818AE2D5AC8C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D1552804357D5CCCBF4E02DD55E49128" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_DA85EEDC5D2B5FE393D8818AE2D5AC8C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_A5B5B8A4F44F5994BD6E5D1EF3A52870" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D1552804357D5CCCBF4E02DD55E49128" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_A5B5B8A4F44F5994BD6E5D1EF3A52870" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_85B9438E52D05F168277CD260D53E622" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D1552804357D5CCCBF4E02DD55E49128" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_85B9438E52D05F168277CD260D53E622" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_DC3DB0AB6D5452CFA40B7E182F27A560" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D1552804357D5CCCBF4E02DD55E49128" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_DC3DB0AB6D5452CFA40B7E182F27A560" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationValuationAssumptionsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_762DABDA3F0750DF8D0C9DB57C56D0EB" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7F27DC1683AA5031A4988F3BAA4D4CFA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_762DABDA3F0750DF8D0C9DB57C56D0EB" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7F27DC1683AA5031A4988F3BAA4D4CFA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_2B6F4A1B209254F98F752386FFD48722" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7F27DC1683AA5031A4988F3BAA4D4CFA" xlink:to="loc_us-gaap_AwardTypeAxis_2B6F4A1B209254F98F752386FFD48722" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_72D395CF830CFAB1B63AA7019391E8E7_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_2B6F4A1B209254F98F752386FFD48722" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_72D395CF830CFAB1B63AA7019391E8E7_08A8ECB3B9A05E27AD9894360715CB23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_47B05F023CB75723A9C2E22FFD20C45B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_2B6F4A1B209254F98F752386FFD48722" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_47B05F023CB75723A9C2E22FFD20C45B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_42D18AFFE2FF549385066CE6DAB1E761" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_47B05F023CB75723A9C2E22FFD20C45B" xlink:to="loc_us-gaap_EmployeeStockOptionMember_42D18AFFE2FF549385066CE6DAB1E761" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_2424772BFD905DFDA681F9F1EB0A7B02" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_47B05F023CB75723A9C2E22FFD20C45B" xlink:to="loc_us-gaap_EmployeeStockMember_2424772BFD905DFDA681F9F1EB0A7B02" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_AD6600FFB7A5541A9977D6DD8AEE0F5B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_762DABDA3F0750DF8D0C9DB57C56D0EB" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_AD6600FFB7A5541A9977D6DD8AEE0F5B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_4ABD42BF8EF15CFAA9FDA428B3C1EE20" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_762DABDA3F0750DF8D0C9DB57C56D0EB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_4ABD42BF8EF15CFAA9FDA428B3C1EE20" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_530699B02801574A945ADEA33E9C2DB8" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_762DABDA3F0750DF8D0C9DB57C56D0EB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_530699B02801574A945ADEA33E9C2DB8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_50B24C1964B35809954E848771417E68" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_762DABDA3F0750DF8D0C9DB57C56D0EB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_50B24C1964B35809954E848771417E68" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/SubsequentEvent" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/SubsequentEventDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_91BAE8324CEF92FFD2B125969AD0196B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_B522332CF60AE7ED775E25969ACE873B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_91BAE8324CEF92FFD2B125969AD0196B" xlink:to="loc_us-gaap_SubsequentEventTable_B522332CF60AE7ED775E25969ACE873B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_F8F0EE31B5368738E3DA25969ACFEC4C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_B522332CF60AE7ED775E25969ACE873B" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_F8F0EE31B5368738E3DA25969ACFEC4C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_0D47DA3FE725EC2BDE7025969ACFE92F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_F8F0EE31B5368738E3DA25969ACFEC4C" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_0D47DA3FE725EC2BDE7025969ACFE92F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_0D47DA3FE725EC2BDE7025969ACFE92F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_F8F0EE31B5368738E3DA25969ACFEC4C" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_0D47DA3FE725EC2BDE7025969ACFE92F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_532E818194226569BF2825969ACFDBE6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_0D47DA3FE725EC2BDE7025969ACFE92F" xlink:to="loc_us-gaap_SubsequentEventMember_532E818194226569BF2825969ACFDBE6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringAndRelatedCostNumberOfPositionsEliminated" xlink:label="loc_us-gaap_RestructuringAndRelatedCostNumberOfPositionsEliminated_34633AE60C7930F3692825969AD02DCA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_91BAE8324CEF92FFD2B125969AD0196B" xlink:to="loc_us-gaap_RestructuringAndRelatedCostNumberOfPositionsEliminated_34633AE60C7930F3692825969AD02DCA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringAndRelatedCostNumberOfPositionsEliminatedPeriodPercent" xlink:label="loc_us-gaap_RestructuringAndRelatedCostNumberOfPositionsEliminatedPeriodPercent_7B786F2152F57F626CBD25969AD0C744" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_91BAE8324CEF92FFD2B125969AD0196B" xlink:to="loc_us-gaap_RestructuringAndRelatedCostNumberOfPositionsEliminatedPeriodPercent_7B786F2152F57F626CBD25969AD0C744" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_57F62AB96EBD8973AE5325969AD04A6F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_91BAE8324CEF92FFD2B125969AD0196B" xlink:to="loc_us-gaap_RestructuringCharges_57F62AB96EBD8973AE5325969AD04A6F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringAndRelatedCostExpectedCost1" xlink:label="loc_us-gaap_RestructuringAndRelatedCostExpectedCost1_A36CB8106BCE15D2E48E25969AD0B427" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_91BAE8324CEF92FFD2B125969AD0196B" xlink:to="loc_us-gaap_RestructuringAndRelatedCostExpectedCost1_A36CB8106BCE15D2E48E25969AD0B427" xlink:type="arc" />
  </definitionLink>
</linkbase>





