<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="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">
  <link:roleRef roleURI="http://www.rubiconproject.com/role/CommitmentsAndContingencies" xlink:href="rubi-20190331.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/CommitmentsAndContingenciesDetails" xlink:href="rubi-20190331.xsd#CommitmentsAndContingenciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/CondensedConsolidatedBalanceSheets" xlink:href="rubi-20190331.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="rubi-20190331.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/CondensedConsolidatedStatementOfCashFlows" xlink:href="rubi-20190331.xsd#CondensedConsolidatedStatementOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:href="rubi-20190331.xsd#CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="rubi-20190331.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/CondensedConsolidatedStatementsOfStockholdersEquity" xlink:href="rubi-20190331.xsd#CondensedConsolidatedStatementsOfStockholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/Debt" xlink:href="rubi-20190331.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/DebtDetails" xlink:href="rubi-20190331.xsd#DebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/DocumentAndEntityInformation" xlink:href="rubi-20190331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurements" xlink:href="rubi-20190331.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsFinancialInstrumentsDetails" xlink:href="rubi-20190331.xsd#FairValueMeasurementsFinancialInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsNarrativeDetails" xlink:href="rubi-20190331.xsd#FairValueMeasurementsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsTables" xlink:href="rubi-20190331.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxes" xlink:href="rubi-20190331.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxesNarrativeDetails" xlink:href="rubi-20190331.xsd#IncomeTaxesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssets" xlink:href="rubi-20190331.xsd#IntangibleAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsDetails" xlink:href="rubi-20190331.xsd#IntangibleAssetsFiniteLivedIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:href="rubi-20190331.xsd#IntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsNarrativeDetails" xlink:href="rubi-20190331.xsd#IntangibleAssetsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsTables" xlink:href="rubi-20190331.xsd#IntangibleAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/LeaseObligations" xlink:href="rubi-20190331.xsd#LeaseObligations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/LeaseObligationsDetails" xlink:href="rubi-20190331.xsd#LeaseObligationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/LeaseObligationsScheduleOfLeaseLiabilityMaturitiesDetails" xlink:href="rubi-20190331.xsd#LeaseObligationsScheduleOfLeaseLiabilityMaturitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/LeaseObligationsTables" xlink:href="rubi-20190331.xsd#LeaseObligationsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShare" xlink:href="rubi-20190331.xsd#NetIncomeLossPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareBasicAndDilutedEarningsPerShareDetails" xlink:href="rubi-20190331.xsd#NetIncomeLossPerShareBasicAndDilutedEarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareSharesExcludedAndIncludedInCalculationOfDilutedEarningsPerShareDetails" xlink:href="rubi-20190331.xsd#NetIncomeLossPerShareSharesExcludedAndIncludedInCalculationOfDilutedEarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareTables" xlink:href="rubi-20190331.xsd#NetIncomeLossPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:href="rubi-20190331.xsd#OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesAdoptionOfAsc842Details" xlink:href="rubi-20190331.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesAdoptionOfAsc842Details" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="rubi-20190331.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmounts" xlink:href="rubi-20190331.xsd#OtherBalanceSheetAmounts" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsAccountsPayableAndAccruedExpensesDetails" xlink:href="rubi-20190331.xsd#OtherBalanceSheetAmountsAccountsPayableAndAccruedExpensesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsInvestmentsInMarketableSecuritiesDetails" xlink:href="rubi-20190331.xsd#OtherBalanceSheetAmountsInvestmentsInMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsNarrativeDetails" xlink:href="rubi-20190331.xsd#OtherBalanceSheetAmountsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsTables" xlink:href="rubi-20190331.xsd#OtherBalanceSheetAmountsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RestructuringAndOtherExitCosts" xlink:href="rubi-20190331.xsd#RestructuringAndOtherExitCosts" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RestructuringAndOtherExitCostsScheduleOfRestructuringAndOtherExitCostsDetails" xlink:href="rubi-20190331.xsd#RestructuringAndOtherExitCostsScheduleOfRestructuringAndOtherExitCostsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RestructuringAndOtherExitCostsTables" xlink:href="rubi-20190331.xsd#RestructuringAndOtherExitCostsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/Revenues" xlink:href="rubi-20190331.xsd#Revenues" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RevenuesDetails" xlink:href="rubi-20190331.xsd#RevenuesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RevenuesRevenueDisaggregatedByGeographicLocationDetails" xlink:href="rubi-20190331.xsd#RevenuesRevenueDisaggregatedByGeographicLocationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RevenuesRevenueDisaggregatedBySalesDistributionChannelDetails" xlink:href="rubi-20190331.xsd#RevenuesRevenueDisaggregatedBySalesDistributionChannelDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RevenuesTables" xlink:href="rubi-20190331.xsd#RevenuesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensation" xlink:href="rubi-20190331.xsd#StockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationDetails" xlink:href="rubi-20190331.xsd#StockBasedCompensationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:href="rubi-20190331.xsd#StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockActivityDetails" xlink:href="rubi-20190331.xsd#StockBasedCompensationRestrictedStockActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockNarrativeDetails" xlink:href="rubi-20190331.xsd#StockBasedCompensationRestrictedStockNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:href="rubi-20190331.xsd#StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsNarrativeDetails" xlink:href="rubi-20190331.xsd#StockBasedCompensationRestrictedStockUnitsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationStockBasedCompensationExpenseDetails" xlink:href="rubi-20190331.xsd#StockBasedCompensationStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsNarrativeDetails" xlink:href="rubi-20190331.xsd#StockBasedCompensationStockOptionsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:href="rubi-20190331.xsd#StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationTables" xlink:href="rubi-20190331.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationValuationAssumptionsDetails" xlink:href="rubi-20190331.xsd#StockBasedCompensationValuationAssumptionsDetails" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link: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" />
  <link: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" />
  <link: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" />
  <link: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" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/CommitmentsAndContingenciesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsLineItems" xlink:label="loc_us-gaap_OtherCommitmentsLineItems_90AF7C9CFEE41A68D79073968192ACBC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCommitmentsTable" xlink:label="loc_us-gaap_OtherCommitmentsTable_B093D2694823EED26CB47396818A3575" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_90AF7C9CFEE41A68D79073968192ACBC" xlink:to="loc_us-gaap_OtherCommitmentsTable_B093D2694823EED26CB47396818A3575" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeAxis" xlink:label="loc_us-gaap_LeaseArrangementTypeAxis_C595F39F7C4F107D52B97396818A8EBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_B093D2694823EED26CB47396818A3575" xlink:to="loc_us-gaap_LeaseArrangementTypeAxis_C595F39F7C4F107D52B97396818A8EBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_018B10EAD0CB8B36EF427396818BE0AF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_C595F39F7C4F107D52B97396818A8EBC" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_018B10EAD0CB8B36EF427396818BE0AF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_018B10EAD0CB8B36EF427396818BE0AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_C595F39F7C4F107D52B97396818A8EBC" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_018B10EAD0CB8B36EF427396818BE0AF" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DataCentersForCloudBasedServicesMember" xlink:label="loc_rubi_DataCentersForCloudBasedServicesMember_4F7B92F177DE3AE578F9739681904C33" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_018B10EAD0CB8B36EF427396818BE0AF" xlink:to="loc_rubi_DataCentersForCloudBasedServicesMember_4F7B92F177DE3AE578F9739681904C33" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_OfficeLeaseMember" xlink:label="loc_rubi_OfficeLeaseMember_C1EEC20F593D53135585739681916860" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_018B10EAD0CB8B36EF427396818BE0AF" xlink:to="loc_rubi_OfficeLeaseMember_C1EEC20F593D53135585739681916860" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_0CA6063F23B9FE4A5E0673968191D742" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_B093D2694823EED26CB47396818A3575" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_0CA6063F23B9FE4A5E0673968191D742" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_B98F13B8949974604FDB7396819176E4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_0CA6063F23B9FE4A5E0673968191D742" xlink:to="loc_us-gaap_LossContingencyNatureDomain_B98F13B8949974604FDB7396819176E4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_B98F13B8949974604FDB7396819176E4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_0CA6063F23B9FE4A5E0673968191D742" xlink:to="loc_us-gaap_LossContingencyNatureDomain_B98F13B8949974604FDB7396819176E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialStandbyLetterOfCreditMember" xlink:label="loc_us-gaap_FinancialStandbyLetterOfCreditMember_3322720B214145D71FDA7396819208D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_B98F13B8949974604FDB7396819176E4" xlink:to="loc_us-gaap_FinancialStandbyLetterOfCreditMember_3322720B214145D71FDA7396819208D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseAndRentalExpense" xlink:label="loc_us-gaap_LeaseAndRentalExpense_471118A8B8458AA9052273968192E066" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_90AF7C9CFEE41A68D79073968192ACBC" xlink:to="loc_us-gaap_LeaseAndRentalExpense_471118A8B8458AA9052273968192E066" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_E1C00659CA82FF77A54473968192CAF7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_90AF7C9CFEE41A68D79073968192ACBC" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_E1C00659CA82FF77A54473968192CAF7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/CondensedConsolidatedStatementOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/CondensedConsolidatedStatementsOfOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/CondensedConsolidatedStatementsOfStockholdersEquity" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_471662F584F7BD93CE71336ADB9B5A28" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_CB39393834714B3E2E43336ADB994E94" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_471662F584F7BD93CE71336ADB9B5A28" xlink:to="loc_us-gaap_StatementTable_CB39393834714B3E2E43336ADB994E94" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_A8100E9E3100D0CCCE36336ADB9A4621" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_CB39393834714B3E2E43336ADB994E94" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_A8100E9E3100D0CCCE36336ADB9A4621" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_5E07EB037F29571BDC6E336ADB9A4F32_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_A8100E9E3100D0CCCE36336ADB9A4621" xlink:to="loc_us-gaap_EquityComponentDomain_5E07EB037F29571BDC6E336ADB9A4F32_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_5E07EB037F29571BDC6E336ADB9A4F32" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_A8100E9E3100D0CCCE36336ADB9A4621" xlink:to="loc_us-gaap_EquityComponentDomain_5E07EB037F29571BDC6E336ADB9A4F32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_133C7D7664576DE8011E336ADB9A731E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_5E07EB037F29571BDC6E336ADB9A4F32" xlink:to="loc_us-gaap_CommonStockMember_133C7D7664576DE8011E336ADB9A731E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_F1B27C10EFEB89B8A399336ADB9A16C3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_5E07EB037F29571BDC6E336ADB9A4F32" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_F1B27C10EFEB89B8A399336ADB9A16C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_E851DD6DCFCC5170867E336ADB9B85CA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_5E07EB037F29571BDC6E336ADB9A4F32" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_E851DD6DCFCC5170867E336ADB9B85CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_ABDBA67E9A360F0FF2A2336ADB9BF850" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_5E07EB037F29571BDC6E336ADB9A4F32" xlink:to="loc_us-gaap_RetainedEarningsMember_ABDBA67E9A360F0FF2A2336ADB9BF850" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_471662F584F7BD93CE71336ADB9B5A28" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_E37ACDD6671D47396CCA336ADB9B93A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_E37ACDD6671D47396CCA336ADB9B93A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_652881D826F1E1171649336ADB9C6220" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:to="loc_us-gaap_StockholdersEquity_652881D826F1E1171649336ADB9C6220" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_D713502038923C653943336ADB9C406F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_D713502038923C653943336ADB9C406F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_5F1A402F079D7F9B81E8336ADB9C98E3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_5F1A402F079D7F9B81E8336ADB9C98E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_D0D9AE90CC13E079DEF8336ADB9C5423" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_D0D9AE90CC13E079DEF8336ADB9C5423" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_26179A27B2E1E5885A66336ADB9D2367" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_26179A27B2E1E5885A66336ADB9D2367" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_72D5A4EED4FC6077083D336ADB9D64FC" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_72D5A4EED4FC6077083D336ADB9D64FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_9CA56024AADB393CAA8B336ADB9DA06A" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_9CA56024AADB393CAA8B336ADB9DA06A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation" xlink:label="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_2DB34216B977BD7D43BF336ADB9D184A" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:to="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_2DB34216B977BD7D43BF336ADB9D184A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_E3E71E3EBAA0E2408926336ADB9DB5F6" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:to="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_E3E71E3EBAA0E2408926336ADB9DB5F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_96FBC241C6C20DDEECAA336ADB9E07F7" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_96FBC241C6C20DDEECAA336ADB9E07F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_BDD207B010D08FEA11DA336ADB9E014D" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_BDD207B010D08FEA11DA336ADB9E014D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_12CE241B1D9B12BF510F336ADB9EBB99" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_F22DFA133A3632671368336ADB9B91D0" xlink:to="loc_us-gaap_NetIncomeLoss_12CE241B1D9B12BF510F336ADB9EBB99" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/Debt" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/DebtDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_91703F529F895FD3BAA6332A0B53B30F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_FAF67B62EDC241D8468F332A0B4CADB6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_91703F529F895FD3BAA6332A0B53B30F" xlink:to="loc_us-gaap_DebtInstrumentTable_FAF67B62EDC241D8468F332A0B4CADB6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtCovenantTermsAxis" xlink:label="loc_rubi_DebtCovenantTermsAxis_4DA1D2A92367B35B305B332A0B4C97AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_FAF67B62EDC241D8468F332A0B4CADB6" xlink:to="loc_rubi_DebtCovenantTermsAxis_4DA1D2A92367B35B305B332A0B4C97AE" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtCovenantTermsDomain" xlink:label="loc_rubi_DebtCovenantTermsDomain_EAB845092488EFB1D78E332A0B4CD729_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_rubi_DebtCovenantTermsAxis_4DA1D2A92367B35B305B332A0B4C97AE" xlink:to="loc_rubi_DebtCovenantTermsDomain_EAB845092488EFB1D78E332A0B4CD729_default" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtCovenantTermsDomain" xlink:label="loc_rubi_DebtCovenantTermsDomain_EAB845092488EFB1D78E332A0B4CD729" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_rubi_DebtCovenantTermsAxis_4DA1D2A92367B35B305B332A0B4C97AE" xlink:to="loc_rubi_DebtCovenantTermsDomain_EAB845092488EFB1D78E332A0B4CD729" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_CovenantTermScenarioOneMember" xlink:label="loc_rubi_CovenantTermScenarioOneMember_1D10F389014AAE064333332A0B4DD268" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtCovenantTermsDomain_EAB845092488EFB1D78E332A0B4CD729" xlink:to="loc_rubi_CovenantTermScenarioOneMember_1D10F389014AAE064333332A0B4DD268" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_CovenantTermScenarioTwoMember" xlink:label="loc_rubi_CovenantTermScenarioTwoMember_2AED3206B23D5EBB47A4332A0B4DD1CD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtCovenantTermsDomain_EAB845092488EFB1D78E332A0B4CD729" xlink:to="loc_rubi_CovenantTermScenarioTwoMember_2AED3206B23D5EBB47A4332A0B4DD1CD" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxis" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxis_3DE5D2ECDCE119A46663332A0B4DC35C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_FAF67B62EDC241D8468F332A0B4CADB6" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxis_3DE5D2ECDCE119A46663332A0B4DC35C" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain_7935B270C065FB6ED115332A0B4E5DB6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxis_3DE5D2ECDCE119A46663332A0B4DC35C" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain_7935B270C065FB6ED115332A0B4E5DB6_default" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain_7935B270C065FB6ED115332A0B4E5DB6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxis_3DE5D2ECDCE119A46663332A0B4DC35C" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain_7935B270C065FB6ED115332A0B4E5DB6" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_StreamlinePeriodAppliesMember" xlink:label="loc_rubi_StreamlinePeriodAppliesMember_B30F29E8F22DE03F6E82332A0B4E00F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain_7935B270C065FB6ED115332A0B4E5DB6" xlink:to="loc_rubi_StreamlinePeriodAppliesMember_B30F29E8F22DE03F6E82332A0B4E00F0" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_StreamlinePeriodDoesNotApplyMember" xlink:label="loc_rubi_StreamlinePeriodDoesNotApplyMember_ECD7B572A739C8F9F11E332A0B4F6360" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodDomain_7935B270C065FB6ED115332A0B4E5DB6" xlink:to="loc_rubi_StreamlinePeriodDoesNotApplyMember_ECD7B572A739C8F9F11E332A0B4F6360" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_74215D56D21852878E23332A0B4F3D94" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_FAF67B62EDC241D8468F332A0B4CADB6" xlink:to="loc_us-gaap_CreditFacilityAxis_74215D56D21852878E23332A0B4F3D94" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_2C8F16579D810E04F305332A0B4F43AC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_74215D56D21852878E23332A0B4F3D94" xlink:to="loc_us-gaap_CreditFacilityDomain_2C8F16579D810E04F305332A0B4F43AC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_2C8F16579D810E04F305332A0B4F43AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_74215D56D21852878E23332A0B4F3D94" xlink:to="loc_us-gaap_CreditFacilityDomain_2C8F16579D810E04F305332A0B4F43AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_81EFFEFA874DA740E1AA332A0B50221D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_2C8F16579D810E04F305332A0B4F43AC" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_81EFFEFA874DA740E1AA332A0B50221D" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtInstrumentCovenantCompliancePeriodAxis" xlink:label="loc_rubi_DebtInstrumentCovenantCompliancePeriodAxis_F389CF0AB32FBDA5A78C332A0B50CBE6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_FAF67B62EDC241D8468F332A0B4CADB6" xlink:to="loc_rubi_DebtInstrumentCovenantCompliancePeriodAxis_F389CF0AB32FBDA5A78C332A0B50CBE6" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtInstrumentCovenantCompliancePeriodDomain" xlink:label="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_CAC36E8B513CD517BF26332A0B50EF7E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_rubi_DebtInstrumentCovenantCompliancePeriodAxis_F389CF0AB32FBDA5A78C332A0B50CBE6" xlink:to="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_CAC36E8B513CD517BF26332A0B50EF7E_default" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtInstrumentCovenantCompliancePeriodDomain" xlink:label="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_CAC36E8B513CD517BF26332A0B50EF7E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_rubi_DebtInstrumentCovenantCompliancePeriodAxis_F389CF0AB32FBDA5A78C332A0B50CBE6" xlink:to="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_CAC36E8B513CD517BF26332A0B50EF7E" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtInstrumentCovenantCompliancePeriodOneMember" xlink:label="loc_rubi_DebtInstrumentCovenantCompliancePeriodOneMember_AF76A841F5A712025B30332A0B51C57E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_CAC36E8B513CD517BF26332A0B50EF7E" xlink:to="loc_rubi_DebtInstrumentCovenantCompliancePeriodOneMember_AF76A841F5A712025B30332A0B51C57E" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_CovenantCompliancePeriodTwoMember" xlink:label="loc_rubi_CovenantCompliancePeriodTwoMember_5032F50C3620F6F34F2A332A0B512E53" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_CAC36E8B513CD517BF26332A0B50EF7E" xlink:to="loc_rubi_CovenantCompliancePeriodTwoMember_5032F50C3620F6F34F2A332A0B512E53" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_CovenantCompliancePeriodThreeMember" xlink:label="loc_rubi_CovenantCompliancePeriodThreeMember_22FB92A4FD0FB2966E08332A0B518702" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_CAC36E8B513CD517BF26332A0B50EF7E" xlink:to="loc_rubi_CovenantCompliancePeriodThreeMember_22FB92A4FD0FB2966E08332A0B518702" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_855ED8EEC193FD66BAD9332A0B5134CC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_FAF67B62EDC241D8468F332A0B4CADB6" xlink:to="loc_us-gaap_DebtInstrumentAxis_855ED8EEC193FD66BAD9332A0B5134CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_A647A455C1985EEC117F332A0B523D32_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_855ED8EEC193FD66BAD9332A0B5134CC" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_A647A455C1985EEC117F332A0B523D32_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_A647A455C1985EEC117F332A0B523D32" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_855ED8EEC193FD66BAD9332A0B5134CC" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_A647A455C1985EEC117F332A0B523D32" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_LoanAgreementMember" xlink:label="loc_rubi_LoanAgreementMember_79BDAB60237FDA6DE8D8332A0B5265C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_A647A455C1985EEC117F332A0B523D32" xlink:to="loc_rubi_LoanAgreementMember_79BDAB60237FDA6DE8D8332A0B5265C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_357468C9B1AF07CD5CC9332A0B522C9A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_FAF67B62EDC241D8468F332A0B4CADB6" xlink:to="loc_us-gaap_VariableRateAxis_357468C9B1AF07CD5CC9332A0B522C9A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_B50F06ED495F166AE46E332A0B538333_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_357468C9B1AF07CD5CC9332A0B522C9A" xlink:to="loc_us-gaap_VariableRateDomain_B50F06ED495F166AE46E332A0B538333_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_B50F06ED495F166AE46E332A0B538333" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_357468C9B1AF07CD5CC9332A0B522C9A" xlink:to="loc_us-gaap_VariableRateDomain_B50F06ED495F166AE46E332A0B538333" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_EE798739067DB29EDD93332A0B530910" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_B50F06ED495F166AE46E332A0B538333" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_EE798739067DB29EDD93332A0B530910" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrimeRateMember" xlink:label="loc_us-gaap_PrimeRateMember_AEB6A1B1DFD7F564391D332A0B53D57A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_B50F06ED495F166AE46E332A0B538333" xlink:to="loc_us-gaap_PrimeRateMember_AEB6A1B1DFD7F564391D332A0B53D57A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4550635660A0D733868E332A0B53EBD2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_91703F529F895FD3BAA6332A0B53B30F" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4550635660A0D733868E332A0B53EBD2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_703ED3B420492D04C315332A0B542DF1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_91703F529F895FD3BAA6332A0B53B30F" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_703ED3B420492D04C315332A0B542DF1" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_LineOfCreditFacilityBorrowingCapacityReserve" xlink:label="loc_rubi_LineOfCreditFacilityBorrowingCapacityReserve_2B9ACE42F9CA13B8F4DF332A0B548BD8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_91703F529F895FD3BAA6332A0B53B30F" xlink:to="loc_rubi_LineOfCreditFacilityBorrowingCapacityReserve_2B9ACE42F9CA13B8F4DF332A0B548BD8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredFinanceCostsNet" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_7788EFB4B8EFDAD04430332A0B54FF4F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_91703F529F895FD3BAA6332A0B53B30F" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_7788EFB4B8EFDAD04430332A0B54FF4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_E57BB0F9062AABA88351332A0B54C490" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_91703F529F895FD3BAA6332A0B53B30F" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_E57BB0F9062AABA88351332A0B54C490" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_BA77B5B61D1F77DA07CD332A0B547402" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_91703F529F895FD3BAA6332A0B53B30F" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_BA77B5B61D1F77DA07CD332A0B547402" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtInstrumentAdjustedQuickRatioRequirementInStreamlinePeriod" xlink:label="loc_rubi_DebtInstrumentAdjustedQuickRatioRequirementInStreamlinePeriod_47C89C6B72BCE1CBF966332A0B5582B0" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_91703F529F895FD3BAA6332A0B53B30F" xlink:to="loc_rubi_DebtInstrumentAdjustedQuickRatioRequirementInStreamlinePeriod_47C89C6B72BCE1CBF966332A0B5582B0" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtInstrumentAdjustedQuickRatio1" xlink:label="loc_rubi_DebtInstrumentAdjustedQuickRatio1_4977BB449C0AD1EEF8E8332A0B5553E2" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_91703F529F895FD3BAA6332A0B53B30F" xlink:to="loc_rubi_DebtInstrumentAdjustedQuickRatio1_4977BB449C0AD1EEF8E8332A0B5553E2" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMaximum" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMaximum_FCB7AADB23BCF4B3B4B8332A0B55C070" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_91703F529F895FD3BAA6332A0B53B30F" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMaximum_FCB7AADB23BCF4B3B4B8332A0B55C070" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMinimum" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMinimum_59E35923EBCC9406189A332A0B55757E" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_91703F529F895FD3BAA6332A0B53B30F" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMinimum_59E35923EBCC9406189A332A0B55757E" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DebtInstrumentCovenantComplianceAdjustedEBITDAVarianceFromProjections" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEBITDAVarianceFromProjections_1054E7F88932FE911E39332A0B55FE65" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_91703F529F895FD3BAA6332A0B53B30F" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEBITDAVarianceFromProjections_1054E7F88932FE911E39332A0B55FE65" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsFinancialInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_00349D937138BE80FB9D2E3A631C7931" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_CC776E0A49CDCF436D772E3A631483DD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_00349D937138BE80FB9D2E3A631C7931" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_CC776E0A49CDCF436D772E3A631483DD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_712910F073D12346621E2E3A6314D927" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_CC776E0A49CDCF436D772E3A631483DD" xlink:to="loc_us-gaap_InvestmentTypeAxis_712910F073D12346621E2E3A6314D927" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_13CDC7CBDFC420824AA62E3A6319D2BE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_712910F073D12346621E2E3A6314D927" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_13CDC7CBDFC420824AA62E3A6319D2BE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_13CDC7CBDFC420824AA62E3A6319D2BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_712910F073D12346621E2E3A6314D927" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_13CDC7CBDFC420824AA62E3A6319D2BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_7636B94B12767CF1B60A2E3A631A0771" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_13CDC7CBDFC420824AA62E3A6319D2BE" xlink:to="loc_us-gaap_MoneyMarketFundsMember_7636B94B12767CF1B60A2E3A631A0771" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_D421BF16534AF47E39AB2E3A631A4AA4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_13CDC7CBDFC420824AA62E3A6319D2BE" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_D421BF16534AF47E39AB2E3A631A4AA4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_8574F68E4BA0012D761A2E3A631ADE1D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_CC776E0A49CDCF436D772E3A631483DD" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_8574F68E4BA0012D761A2E3A631ADE1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_5AAF2AB581E4A67CBE822E3A631B609A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_8574F68E4BA0012D761A2E3A631ADE1D" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_5AAF2AB581E4A67CBE822E3A631B609A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_5AAF2AB581E4A67CBE822E3A631B609A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_8574F68E4BA0012D761A2E3A631ADE1D" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_5AAF2AB581E4A67CBE822E3A631B609A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_4DC242E9DFB27B16C3CF2E3A631B207E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_5AAF2AB581E4A67CBE822E3A631B609A" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_4DC242E9DFB27B16C3CF2E3A631B207E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_5A74D063C0307F2DD6362E3A631B7F31" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_CC776E0A49CDCF436D772E3A631483DD" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_5A74D063C0307F2DD6362E3A631B7F31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0B5A534A39FFEC93F62A2E3A631B45CD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_5A74D063C0307F2DD6362E3A631B7F31" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0B5A534A39FFEC93F62A2E3A631B45CD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0B5A534A39FFEC93F62A2E3A631B45CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_5A74D063C0307F2DD6362E3A631B7F31" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0B5A534A39FFEC93F62A2E3A631B45CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_B6FFBE5609C2B8CF3F222E3A631CC81B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0B5A534A39FFEC93F62A2E3A631B45CD" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_B6FFBE5609C2B8CF3F222E3A631CC81B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_911DD4AC3B987948C2942E3A631C64B6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0B5A534A39FFEC93F62A2E3A631B45CD" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_911DD4AC3B987948C2942E3A631C64B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_AE09DF5F84333B82D0EF2E3A631C869C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0B5A534A39FFEC93F62A2E3A631B45CD" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_AE09DF5F84333B82D0EF2E3A631C869C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_1B0ADF2B696717B729072E3A631CD1E6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_00349D937138BE80FB9D2E3A631C7931" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_1B0ADF2B696717B729072E3A631CD1E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_F57CE128F17EC11DC7ED2E3A631DBCA7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_00349D937138BE80FB9D2E3A631C7931" xlink:to="loc_us-gaap_AvailableForSaleSecurities_F57CE128F17EC11DC7ED2E3A631DBCA7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_136AD174756D4B2D9688320669ACFA74" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_46C5E3E3E1549CF6EA76320669AA7699" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_136AD174756D4B2D9688320669ACFA74" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_46C5E3E3E1549CF6EA76320669AA7699" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_C65A4E949F2218A90A75320669AAABD3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_46C5E3E3E1549CF6EA76320669AA7699" xlink:to="loc_us-gaap_InvestmentTypeAxis_C65A4E949F2218A90A75320669AAABD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_8C9E3CAA04F1E1A96CE5320669AAF61D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_C65A4E949F2218A90A75320669AAABD3" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_8C9E3CAA04F1E1A96CE5320669AAF61D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_8C9E3CAA04F1E1A96CE5320669AAF61D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_C65A4E949F2218A90A75320669AAABD3" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_8C9E3CAA04F1E1A96CE5320669AAF61D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_A6E86778479DE5B1C897320669AA1772" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_8C9E3CAA04F1E1A96CE5320669AAF61D" xlink:to="loc_us-gaap_MoneyMarketFundsMember_A6E86778479DE5B1C897320669AA1772" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_C8E420543E8DAD15D278320669ABBD65" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_46C5E3E3E1549CF6EA76320669AA7699" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_C8E420543E8DAD15D278320669ABBD65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_9085205A532BE20AC07C320669AB1D91_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_C8E420543E8DAD15D278320669ABBD65" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_9085205A532BE20AC07C320669AB1D91_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_9085205A532BE20AC07C320669AB1D91" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_C8E420543E8DAD15D278320669ABBD65" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_9085205A532BE20AC07C320669AB1D91" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_6415B623C3567DF44990320669AB0B95" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_9085205A532BE20AC07C320669AB1D91" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_6415B623C3567DF44990320669AB0B95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_36F8F25030773EB466B9320669AC86FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_136AD174756D4B2D9688320669ACFA74" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_36F8F25030773EB466B9320669AC86FD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3D3FD5A7C0722C92F51C3206694DC81C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4221DFC275BF5EA5EF0C32066946DFEE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3D3FD5A7C0722C92F51C3206694DC81C" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4221DFC275BF5EA5EF0C32066946DFEE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3AFA3C3E452B5CF0FC1732066947C236" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_4221DFC275BF5EA5EF0C32066946DFEE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3AFA3C3E452B5CF0FC1732066947C236" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_BA489F6F15B61DD2CA5B3206694C7FC1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3AFA3C3E452B5CF0FC1732066947C236" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_BA489F6F15B61DD2CA5B3206694C7FC1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_BA489F6F15B61DD2CA5B3206694C7FC1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3AFA3C3E452B5CF0FC1732066947C236" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_BA489F6F15B61DD2CA5B3206694C7FC1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_773715AE90860DAA574C3206694DD9FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_BA489F6F15B61DD2CA5B3206694C7FC1" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_773715AE90860DAA574C3206694DD9FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_EBFEBC277277653B30FC3206694D2C6F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_BA489F6F15B61DD2CA5B3206694C7FC1" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_EBFEBC277277653B30FC3206694D2C6F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TrademarksMember" xlink:label="loc_us-gaap_TrademarksMember_29C1EA0723D160722CFC3206694D9DA0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_BA489F6F15B61DD2CA5B3206694C7FC1" xlink:to="loc_us-gaap_TrademarksMember_29C1EA0723D160722CFC3206694D9DA0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_E6B89F8B83EBB7B99F6B3206694D4D90" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3D3FD5A7C0722C92F51C3206694DC81C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_E6B89F8B83EBB7B99F6B3206694D4D90" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_2FE68640634D89BD6CBF3206694E1191" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3D3FD5A7C0722C92F51C3206694DC81C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_2FE68640634D89BD6CBF3206694E1191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_E807E611EBD2D8FAA7993206694EC8A7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3D3FD5A7C0722C92F51C3206694DC81C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_E807E611EBD2D8FAA7993206694EC8A7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsNarrativeDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/LeaseObligations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/LeaseObligationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LesseeLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_B52B0780148C6E83007274C8ED402A12" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LesseeLeaseDescriptionTable" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_C35ADA48BC292EE769E974C8ED3EFB7E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_B52B0780148C6E83007274C8ED402A12" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_C35ADA48BC292EE769E974C8ED3EFB7E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_0323D617457404088A4174C8ED3EFA8B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_C35ADA48BC292EE769E974C8ED3EFB7E" xlink:to="loc_us-gaap_RangeAxis_0323D617457404088A4174C8ED3EFA8B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_EE72ACE635FF0C68018D74C8ED3F9538_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_0323D617457404088A4174C8ED3EFA8B" xlink:to="loc_us-gaap_RangeMember_EE72ACE635FF0C68018D74C8ED3F9538_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_EE72ACE635FF0C68018D74C8ED3F9538" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_0323D617457404088A4174C8ED3EFA8B" xlink:to="loc_us-gaap_RangeMember_EE72ACE635FF0C68018D74C8ED3F9538" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_199094B6C8DEE50A374874C8ED3FBE0A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_EE72ACE635FF0C68018D74C8ED3F9538" xlink:to="loc_us-gaap_MinimumMember_199094B6C8DEE50A374874C8ED3FBE0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_E6B21DA8BBDB971E7A3774C8ED4090E6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_EE72ACE635FF0C68018D74C8ED3F9538" xlink:to="loc_us-gaap_MaximumMember_E6B21DA8BBDB971E7A3774C8ED4090E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract" xlink:label="loc_us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract_49B22570FA10ECA18E4F74C8ED415613" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_B52B0780148C6E83007274C8ED402A12" xlink:to="loc_us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract_49B22570FA10ECA18E4F74C8ED415613" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm_951655837EA123268E6874C8ED412722" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_B52B0780148C6E83007274C8ED402A12" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm_951655837EA123268E6874C8ED412722" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_52834BDBE3BB1C3518A074C8ED41EA72" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_B52B0780148C6E83007274C8ED402A12" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_52834BDBE3BB1C3518A074C8ED41EA72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeaseExpense" xlink:label="loc_us-gaap_OperatingLeaseExpense_30FDB1DDD15A37BCBF7D74C8ED41ED61" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_B52B0780148C6E83007274C8ED402A12" xlink:to="loc_us-gaap_OperatingLeaseExpense_30FDB1DDD15A37BCBF7D74C8ED41ED61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShortTermLeaseCost" xlink:label="loc_us-gaap_ShortTermLeaseCost_556BE22817A51C4644E174C8ED4106BE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_B52B0780148C6E83007274C8ED402A12" xlink:to="loc_us-gaap_ShortTermLeaseCost_556BE22817A51C4644E174C8ED4106BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesRentExpenseNet" xlink:label="loc_us-gaap_OperatingLeasesRentExpenseNet_E822075B0EF97455A11474C8ED41ECBD" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_B52B0780148C6E83007274C8ED402A12" xlink:to="loc_us-gaap_OperatingLeasesRentExpenseNet_E822075B0EF97455A11474C8ED41ECBD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubleaseIncome" xlink:label="loc_us-gaap_SubleaseIncome_ECEDEB79DFEB4DDEDA1674C8ED425B95" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_B52B0780148C6E83007274C8ED402A12" xlink:to="loc_us-gaap_SubleaseIncome_ECEDEB79DFEB4DDEDA1674C8ED425B95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesIncomeStatementSubleaseRevenue" xlink:label="loc_us-gaap_OperatingLeasesIncomeStatementSubleaseRevenue_BDFBE7C168E6C480097574C8ED429FE0" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_B52B0780148C6E83007274C8ED402A12" xlink:to="loc_us-gaap_OperatingLeasesIncomeStatementSubleaseRevenue_BDFBE7C168E6C480097574C8ED429FE0" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_LesseeOperatingLeaseLeaseNotyetCommencedExpectedLeaseLiabilities" xlink:label="loc_rubi_LesseeOperatingLeaseLeaseNotyetCommencedExpectedLeaseLiabilities_77CF1B32606615F7B61974C8ED42D7B6" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_B52B0780148C6E83007274C8ED402A12" xlink:to="loc_rubi_LesseeOperatingLeaseLeaseNotyetCommencedExpectedLeaseLiabilities_77CF1B32606615F7B61974C8ED42D7B6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/LeaseObligationsScheduleOfLeaseLiabilityMaturitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/LeaseObligationsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareBasicAndDilutedEarningsPerShareDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareSharesExcludedAndIncludedInCalculationOfDilutedEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_E48D6F08CDC3138207362E3A6377AD89" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_4990D5D2182E942225EE2E3A6375057E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_E48D6F08CDC3138207362E3A6377AD89" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_4990D5D2182E942225EE2E3A6375057E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_50C626FC9AE9AF1F14B62E3A6375DCDD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_4990D5D2182E942225EE2E3A6375057E" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_50C626FC9AE9AF1F14B62E3A6375DCDD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_20923F5C7B1297B4986F2E3A63754D02_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_50C626FC9AE9AF1F14B62E3A6375DCDD" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_20923F5C7B1297B4986F2E3A63754D02_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_20923F5C7B1297B4986F2E3A63754D02" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_50C626FC9AE9AF1F14B62E3A6375DCDD" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_20923F5C7B1297B4986F2E3A63754D02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockOptionMember" xlink:label="loc_us-gaap_StockOptionMember_C700C886B415790EE34C2E3A63765A99" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_20923F5C7B1297B4986F2E3A63754D02" xlink:to="loc_us-gaap_StockOptionMember_C700C886B415790EE34C2E3A63765A99" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_008B39B825029083DA932E3A63763055" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_20923F5C7B1297B4986F2E3A63754D02" xlink:to="loc_us-gaap_RestrictedStockMember_008B39B825029083DA932E3A63763055" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_64E8E8F9B4AFB0727CE62E3A63767836" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_20923F5C7B1297B4986F2E3A63754D02" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_64E8E8F9B4AFB0727CE62E3A63767836" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_EmployeeStockPurchasePlanMember" xlink:label="loc_rubi_EmployeeStockPurchasePlanMember_6E75FA924378F15069F72E3A6377F718" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_20923F5C7B1297B4986F2E3A63754D02" xlink:to="loc_rubi_EmployeeStockPurchasePlanMember_6E75FA924378F15069F72E3A6377F718" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_E55F04A26A399463FD732E3A6377AED0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_E48D6F08CDC3138207362E3A6377AD89" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_E55F04A26A399463FD732E3A6377AED0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesAdoptionOfAsc842Details" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_B522D1EE63AF380CFEE56E9BE97E9453" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_107B3256B58E71FD6FFC6E9BE97DA78E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_B522D1EE63AF380CFEE56E9BE97E9453" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_107B3256B58E71FD6FFC6E9BE97DA78E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_2E0E5BBF75F6C44A02A26E9BE97DA94D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_107B3256B58E71FD6FFC6E9BE97DA78E" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_2E0E5BBF75F6C44A02A26E9BE97DA94D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_97C7129D1D1F914749AC6E9BE97E2F37_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_2E0E5BBF75F6C44A02A26E9BE97DA94D" xlink:to="loc_us-gaap_TypeOfAdoptionMember_97C7129D1D1F914749AC6E9BE97E2F37_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_97C7129D1D1F914749AC6E9BE97E2F37" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_2E0E5BBF75F6C44A02A26E9BE97DA94D" xlink:to="loc_us-gaap_TypeOfAdoptionMember_97C7129D1D1F914749AC6E9BE97E2F37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_270C846C06C57FDB755D6E9BE97E508D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_97C7129D1D1F914749AC6E9BE97E2F37" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_270C846C06C57FDB755D6E9BE97E508D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_A7B19C7CF000C2F787526E9BE97FAD3B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_B522D1EE63AF380CFEE56E9BE97E9453" xlink:to="loc_us-gaap_OperatingLeaseLiability_A7B19C7CF000C2F787526E9BE97FAD3B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_7A8F2A71089A436072DB6E9BE97F79B9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_B522D1EE63AF380CFEE56E9BE97E9453" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_7A8F2A71089A436072DB6E9BE97F79B9" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmounts" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsAccountsPayableAndAccruedExpensesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsInvestmentsInMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7EA85CB676D628EE9B48476AD050154D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_6BE5EBBFF89D2DA6ED08476AD04DFB16" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7EA85CB676D628EE9B48476AD050154D" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_6BE5EBBFF89D2DA6ED08476AD04DFB16" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_504A33D2188AEE4CEFB8476AD04D19B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_6BE5EBBFF89D2DA6ED08476AD04DFB16" xlink:to="loc_us-gaap_InvestmentTypeAxis_504A33D2188AEE4CEFB8476AD04D19B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_7900740673BDE0E339BC476AD04E658E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_504A33D2188AEE4CEFB8476AD04D19B3" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_7900740673BDE0E339BC476AD04E658E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_7900740673BDE0E339BC476AD04E658E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_504A33D2188AEE4CEFB8476AD04D19B3" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_7900740673BDE0E339BC476AD04E658E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShortTermInvestmentsMember" xlink:label="loc_us-gaap_ShortTermInvestmentsMember_71D284D1EFBDB37399B8476AD04FF2E8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_7900740673BDE0E339BC476AD04E658E" xlink:to="loc_us-gaap_ShortTermInvestmentsMember_71D284D1EFBDB37399B8476AD04FF2E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_92E9EAD3E6EA548692E5476AD04FC212" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_6BE5EBBFF89D2DA6ED08476AD04DFB16" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_92E9EAD3E6EA548692E5476AD04FC212" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_74B5F3BDA6486C32E24F476AD04F81C2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_92E9EAD3E6EA548692E5476AD04FC212" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_74B5F3BDA6486C32E24F476AD04F81C2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_74B5F3BDA6486C32E24F476AD04F81C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_92E9EAD3E6EA548692E5476AD04FC212" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_74B5F3BDA6486C32E24F476AD04F81C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_5A6627ED085218F7D9C7476AD050757F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_74B5F3BDA6486C32E24F476AD04F81C2" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_5A6627ED085218F7D9C7476AD050757F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_7E0B69289753381E33E4476AD0512A25" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7EA85CB676D628EE9B48476AD050154D" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_7E0B69289753381E33E4476AD0512A25" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_328388BC978A0F427BA7476AD051A65E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7EA85CB676D628EE9B48476AD050154D" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_328388BC978A0F427BA7476AD051A65E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_4731AD0D4B60FA2088BF476AD0512050" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7EA85CB676D628EE9B48476AD050154D" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_4731AD0D4B60FA2088BF476AD0512050" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_8B4C4F3994F0F47713B2476AD051BFA2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7EA85CB676D628EE9B48476AD050154D" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_8B4C4F3994F0F47713B2476AD051BFA2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsNarrativeDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RestructuringAndOtherExitCosts" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RestructuringAndOtherExitCostsScheduleOfRestructuringAndOtherExitCostsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RestructuringAndOtherExitCostsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/Revenues" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RevenuesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RevenuesRevenueDisaggregatedByGeographicLocationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_A8F10983E2A45ED3B32368DA2888887B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_09B74D6B799F583DAFAC66E6DD5911AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_A8F10983E2A45ED3B32368DA2888887B" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_09B74D6B799F583DAFAC66E6DD5911AE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_6273D2FE740151FD984043C283347DBD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_09B74D6B799F583DAFAC66E6DD5911AE" xlink:to="loc_us-gaap_StatementGeographicalAxis_6273D2FE740151FD984043C283347DBD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_7CA4839F99AE5B1C9BAFF2B452ADC5A5_AD7D1A22407152709EFE257A9C999E97" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_6273D2FE740151FD984043C283347DBD" xlink:to="loc_us-gaap_SegmentGeographicalDomain_7CA4839F99AE5B1C9BAFF2B452ADC5A5_AD7D1A22407152709EFE257A9C999E97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_775E70DA0D95509E9447806136B66721" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_6273D2FE740151FD984043C283347DBD" xlink:to="loc_us-gaap_SegmentGeographicalDomain_775E70DA0D95509E9447806136B66721" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_32BAC3A9D55C56449CF0D3964F9958EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_775E70DA0D95509E9447806136B66721" xlink:to="loc_country_US_32BAC3A9D55C56449CF0D3964F9958EA" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_OtherInternationalMember" xlink:label="loc_rubi_OtherInternationalMember_4A01FAEDF8D851CBA5B9D2FF38AEAD1E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_775E70DA0D95509E9447806136B66721" xlink:to="loc_rubi_OtherInternationalMember_4A01FAEDF8D851CBA5B9D2FF38AEAD1E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_2C846D8541D65480BF0D916951CBADC0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_A8F10983E2A45ED3B32368DA2888887B" xlink:to="loc_us-gaap_Revenues_2C846D8541D65480BF0D916951CBADC0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RevenuesRevenueDisaggregatedBySalesDistributionChannelDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_038979CE208253DAB59F726675D5C207" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_42A83FA576115226A9F41251230D101E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_038979CE208253DAB59F726675D5C207" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_42A83FA576115226A9F41251230D101E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelAxis" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelAxis_9BA077BB15475D89B96F85A89852742E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_42A83FA576115226A9F41251230D101E" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelAxis_9BA077BB15475D89B96F85A89852742E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelDomain" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelDomain_A482ED4198C25C915E7ED39BF29E6743_AD7D1A22407152709EFE257A9C999E97" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_9BA077BB15475D89B96F85A89852742E" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_A482ED4198C25C915E7ED39BF29E6743_AD7D1A22407152709EFE257A9C999E97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelDomain" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelDomain_105CD38764BD521E963611518D634747" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_9BA077BB15475D89B96F85A89852742E" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_105CD38764BD521E963611518D634747" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_DesktopMember" xlink:label="loc_rubi_DesktopMember_9CA52D7A4337595AB4DF658E33DE29DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_105CD38764BD521E963611518D634747" xlink:to="loc_rubi_DesktopMember_9CA52D7A4337595AB4DF658E33DE29DE" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_MobileMember" xlink:label="loc_rubi_MobileMember_02961FC520B55B8698330C01AC430599" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_105CD38764BD521E963611518D634747" xlink:to="loc_rubi_MobileMember_02961FC520B55B8698330C01AC430599" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_B452F873E4B3579EB75E1AC7F8B8DAB4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_038979CE208253DAB59F726675D5C207" xlink:to="loc_us-gaap_Revenues_B452F873E4B3579EB75E1AC7F8B8DAB4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_B78378269BCB5737A062B42892BC57F3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_038979CE208253DAB59F726675D5C207" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_B78378269BCB5737A062B42892BC57F3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RevenuesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_101E354BC619D6AB9D3974DCC2710A0F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_892FCA90B85440EDAA3D74DCC26F0F56" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_101E354BC619D6AB9D3974DCC2710A0F" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_892FCA90B85440EDAA3D74DCC26F0F56" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_69DE1C9A84C54B13D9E874DCC26F1040" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_892FCA90B85440EDAA3D74DCC26F0F56" xlink:to="loc_us-gaap_AwardTypeAxis_69DE1C9A84C54B13D9E874DCC26F1040" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F5DEB5453CCDCAFFD1BD74DCC26F7D54_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_69DE1C9A84C54B13D9E874DCC26F1040" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F5DEB5453CCDCAFFD1BD74DCC26F7D54_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F5DEB5453CCDCAFFD1BD74DCC26F7D54" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_69DE1C9A84C54B13D9E874DCC26F1040" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F5DEB5453CCDCAFFD1BD74DCC26F7D54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_5D65F53C51CC9D0C94B674DCC270E206" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F5DEB5453CCDCAFFD1BD74DCC26F7D54" xlink:to="loc_us-gaap_EmployeeStockOptionMember_5D65F53C51CC9D0C94B674DCC270E206" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_RestrictedStockUnitsAndRestrictedStockAwardsMember" xlink:label="loc_rubi_RestrictedStockUnitsAndRestrictedStockAwardsMember_BB7659F9857C558FD29874DF56A8EFD0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F5DEB5453CCDCAFFD1BD74DCC26F7D54" xlink:to="loc_rubi_RestrictedStockUnitsAndRestrictedStockAwardsMember_BB7659F9857C558FD29874DF56A8EFD0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_36DB2119BAF39F86FB8374DCC27013D0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_892FCA90B85440EDAA3D74DCC26F0F56" xlink:to="loc_us-gaap_VestingAxis_36DB2119BAF39F86FB8374DCC27013D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_388F2DF788EE340D0C8874DCC271B5CA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_36DB2119BAF39F86FB8374DCC27013D0" xlink:to="loc_us-gaap_VestingDomain_388F2DF788EE340D0C8874DCC271B5CA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_388F2DF788EE340D0C8874DCC271B5CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_36DB2119BAF39F86FB8374DCC27013D0" xlink:to="loc_us-gaap_VestingDomain_388F2DF788EE340D0C8874DCC271B5CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_BF2B1B5DE152E87BAD2274DCC271C2CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_388F2DF788EE340D0C8874DCC271B5CA" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_BF2B1B5DE152E87BAD2274DCC271C2CF" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_TwoYearRSUsMember" xlink:label="loc_rubi_TwoYearRSUsMember_74F1310BCBE024D4085374DCC577A7EB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_388F2DF788EE340D0C8874DCC271B5CA" xlink:to="loc_rubi_TwoYearRSUsMember_74F1310BCBE024D4085374DCC577A7EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_C172CFB9EF9F2DC1DDE474DCC271459C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_101E354BC619D6AB9D3974DCC2710A0F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_C172CFB9EF9F2DC1DDE474DCC271459C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_B965E83B02C0E8C9234874DCC2724133" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_101E354BC619D6AB9D3974DCC2710A0F" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_B965E83B02C0E8C9234874DCC2724133" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_93BCA0F7E3599A1FB67874DCC2721253" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_101E354BC619D6AB9D3974DCC2710A0F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_93BCA0F7E3599A1FB67874DCC2721253" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F5D163CB6CBA02ACF2EC30FEFE5BD8A7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B5AD2C0C3B2A87556F0330FEFE5912FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F5D163CB6CBA02ACF2EC30FEFE5BD8A7" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B5AD2C0C3B2A87556F0330FEFE5912FD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_6DEC3E536B725B01BA0930FEFE5984AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B5AD2C0C3B2A87556F0330FEFE5912FD" xlink:to="loc_us-gaap_PlanNameAxis_6DEC3E536B725B01BA0930FEFE5984AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_58912EE0DB1CE2EA213A30FEFE5A0ED9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_6DEC3E536B725B01BA0930FEFE5984AB" xlink:to="loc_us-gaap_PlanNameDomain_58912EE0DB1CE2EA213A30FEFE5A0ED9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_58912EE0DB1CE2EA213A30FEFE5A0ED9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_6DEC3E536B725B01BA0930FEFE5984AB" xlink:to="loc_us-gaap_PlanNameDomain_58912EE0DB1CE2EA213A30FEFE5A0ED9" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_A2014EmployeeStockPurchasePlanMember" xlink:label="loc_rubi_A2014EmployeeStockPurchasePlanMember_57ADFD3867715BE037BC30FEFE5AC67A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_58912EE0DB1CE2EA213A30FEFE5A0ED9" xlink:to="loc_rubi_A2014EmployeeStockPurchasePlanMember_57ADFD3867715BE037BC30FEFE5AC67A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_A07074CF30873768B45230FEFE5A3577" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B5AD2C0C3B2A87556F0330FEFE5912FD" xlink:to="loc_us-gaap_AwardTypeAxis_A07074CF30873768B45230FEFE5A3577" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_24EB84D694ADDC8D5E6830FEFE5BCD62_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_A07074CF30873768B45230FEFE5A3577" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_24EB84D694ADDC8D5E6830FEFE5BCD62_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_24EB84D694ADDC8D5E6830FEFE5BCD62" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_A07074CF30873768B45230FEFE5A3577" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_24EB84D694ADDC8D5E6830FEFE5BCD62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_D639887369B261C22C4830FEFE5B49C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_24EB84D694ADDC8D5E6830FEFE5BCD62" xlink:to="loc_us-gaap_EmployeeStockMember_D639887369B261C22C4830FEFE5B49C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_7BEE1EBF2EDF230C004C30FEFE5B15A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F5D163CB6CBA02ACF2EC30FEFE5BD8A7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_7BEE1EBF2EDF230C004C30FEFE5B15A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_CF3A924DFB45605DE30030FEFE5C96EA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F5D163CB6CBA02ACF2EC30FEFE5BD8A7" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_CF3A924DFB45605DE30030FEFE5C96EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_9BB063506DE91A110B60310D71F44F1B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F5D163CB6CBA02ACF2EC30FEFE5BD8A7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_9BB063506DE91A110B60310D71F44F1B" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_EvergreenAnnualIncrease" xlink:label="loc_rubi_EvergreenAnnualIncrease_DF12140CECA721B24D9831278896776F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F5D163CB6CBA02ACF2EC30FEFE5BD8A7" xlink:to="loc_rubi_EvergreenAnnualIncrease_DF12140CECA721B24D9831278896776F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A55ABF14BF16BB75BC694AF2C593A4EC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6AB7B57382F6007C61DC4AF2C5922D6C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A55ABF14BF16BB75BC694AF2C593A4EC" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6AB7B57382F6007C61DC4AF2C5922D6C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_73A5218D56A6E46CA4EC4AF2C5922DDE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6AB7B57382F6007C61DC4AF2C5922D6C" xlink:to="loc_us-gaap_AwardTypeAxis_73A5218D56A6E46CA4EC4AF2C5922DDE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9669EDDDCA69BDB51AE44AF2C59332B9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_73A5218D56A6E46CA4EC4AF2C5922DDE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9669EDDDCA69BDB51AE44AF2C59332B9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9669EDDDCA69BDB51AE44AF2C59332B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_73A5218D56A6E46CA4EC4AF2C5922DDE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9669EDDDCA69BDB51AE44AF2C59332B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_B2F0E6081CB2B15696B14AF2C593668B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9669EDDDCA69BDB51AE44AF2C59332B9" xlink:to="loc_us-gaap_RestrictedStockMember_B2F0E6081CB2B15696B14AF2C593668B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward_59B9A565B3F4E702E0034AFA2FE05EAA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A55ABF14BF16BB75BC694AF2C593A4EC" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward_59B9A565B3F4E702E0034AFA2FE05EAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_A8A64ABCE4C033C499B24AF2C593DE1B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward_59B9A565B3F4E702E0034AFA2FE05EAA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_A8A64ABCE4C033C499B24AF2C593DE1B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_18246E4484D8CE97F5DD4AF2C594B10B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward_59B9A565B3F4E702E0034AFA2FE05EAA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_18246E4484D8CE97F5DD4AF2C594B10B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_4A00B1625CA73DDD3F874AF2C594F158" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward_59B9A565B3F4E702E0034AFA2FE05EAA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_4A00B1625CA73DDD3F874AF2C594F158" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_AA3B9B58FCEF1911711B4AF2C595A292" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward_59B9A565B3F4E702E0034AFA2FE05EAA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_AA3B9B58FCEF1911711B4AF2C595A292" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedWeightedAverageGrantDateFairValue1RollForward" xlink:label="loc_rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedWeightedAverageGrantDateFairValue1RollForward_79D263CBF240DDBDFA774AFDAD5F6D4D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A55ABF14BF16BB75BC694AF2C593A4EC" xlink:to="loc_rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedWeightedAverageGrantDateFairValue1RollForward_79D263CBF240DDBDFA774AFDAD5F6D4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_B68FC506E9CECE84FF0A4AFDAD67B9BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedWeightedAverageGrantDateFairValue1RollForward_79D263CBF240DDBDFA774AFDAD5F6D4D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_B68FC506E9CECE84FF0A4AFDAD67B9BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_AA80FEBD29DC0AB08A2A4AFDAD67B312" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedWeightedAverageGrantDateFairValue1RollForward_79D263CBF240DDBDFA774AFDAD5F6D4D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_AA80FEBD29DC0AB08A2A4AFDAD67B312" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_587DAB649C5D20F67FD94AFDAD67C7B6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedWeightedAverageGrantDateFairValue1RollForward_79D263CBF240DDBDFA774AFDAD5F6D4D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_587DAB649C5D20F67FD94AFDAD67C7B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_C422E93C19C4D041587E4AFDAD675BBC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsNonvestedWeightedAverageGrantDateFairValue1RollForward_79D263CBF240DDBDFA774AFDAD5F6D4D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_C422E93C19C4D041587E4AFDAD675BBC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_53B936361BB2009709CA30FEFE76DC33" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6A7FB9234A923CC7753830FEFE74BD99" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_53B936361BB2009709CA30FEFE76DC33" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6A7FB9234A923CC7753830FEFE74BD99" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_EBC8BE797A4C1CD9666630FEFE750120" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6A7FB9234A923CC7753830FEFE74BD99" xlink:to="loc_us-gaap_AwardTypeAxis_EBC8BE797A4C1CD9666630FEFE750120" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_EC66FF10B6B8D0665FB230FEFE755AA2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_EBC8BE797A4C1CD9666630FEFE750120" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_EC66FF10B6B8D0665FB230FEFE755AA2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_EC66FF10B6B8D0665FB230FEFE755AA2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_EBC8BE797A4C1CD9666630FEFE750120" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_EC66FF10B6B8D0665FB230FEFE755AA2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_4BB8AB385EE3B993A01D30FEFE751709" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_EC66FF10B6B8D0665FB230FEFE755AA2" xlink:to="loc_us-gaap_RestrictedStockMember_4BB8AB385EE3B993A01D30FEFE751709" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_B3D4094AFFB3BED6699030FEFE764A44" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_53B936361BB2009709CA30FEFE76DC33" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_B3D4094AFFB3BED6699030FEFE764A44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_51845D94315BF4A90AA030FEFE7663C5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_53B936361BB2009709CA30FEFE76DC33" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_51845D94315BF4A90AA030FEFE7663C5" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E16F34B4FD2B7E39F4774AF2C58488E9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0D5CC3653136DF053A6F4AF2C5837100" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E16F34B4FD2B7E39F4774AF2C58488E9" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0D5CC3653136DF053A6F4AF2C5837100" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_698150327EBC369BEA1B4AF2C583322B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0D5CC3653136DF053A6F4AF2C5837100" xlink:to="loc_us-gaap_AwardTypeAxis_698150327EBC369BEA1B4AF2C583322B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_47EA3437FA1E415E6A234AF2C584B5FF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_698150327EBC369BEA1B4AF2C583322B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_47EA3437FA1E415E6A234AF2C584B5FF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_47EA3437FA1E415E6A234AF2C584B5FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_698150327EBC369BEA1B4AF2C583322B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_47EA3437FA1E415E6A234AF2C584B5FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_F4F5EA0B2836D7162E034AF2C584836C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_47EA3437FA1E415E6A234AF2C584B5FF" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_F4F5EA0B2836D7162E034AF2C584836C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0BEEBB06FB6E3C21C0B04AF2C584327C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E16F34B4FD2B7E39F4774AF2C58488E9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0BEEBB06FB6E3C21C0B04AF2C584327C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_534A3FC1F516288A93C24AF2C585E8D6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E16F34B4FD2B7E39F4774AF2C58488E9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_534A3FC1F516288A93C24AF2C585E8D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_E46F191F02C17C2FE24A4AF2C5858941" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E16F34B4FD2B7E39F4774AF2C58488E9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_E46F191F02C17C2FE24A4AF2C5858941" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_C9EFA3D74BE9E2B0C1854AF2C585EA37" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E16F34B4FD2B7E39F4774AF2C58488E9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_C9EFA3D74BE9E2B0C1854AF2C585EA37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_45E6BEE05F15F02B764E4AF2C586A956" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E16F34B4FD2B7E39F4774AF2C58488E9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_45E6BEE05F15F02B764E4AF2C586A956" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_492D86FDEED6823B36584AF2C586403B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_45E6BEE05F15F02B764E4AF2C586A956" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_492D86FDEED6823B36584AF2C586403B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_63B786C5D7AC4E5B64114AF2C5864819" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_45E6BEE05F15F02B764E4AF2C586A956" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_63B786C5D7AC4E5B64114AF2C5864819" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_4D17724A7ACB6822718D4AF2C586F434" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_45E6BEE05F15F02B764E4AF2C586A956" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_4D17724A7ACB6822718D4AF2C586F434" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_8187DABC619C550B20964AF2C5864C16" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_45E6BEE05F15F02B764E4AF2C586A956" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_8187DABC619C550B20964AF2C5864C16" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EF1B0D5D166564D7875D74DF88DDDBC4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AF214C211699FC252DF074DF88DC350F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EF1B0D5D166564D7875D74DF88DDDBC4" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AF214C211699FC252DF074DF88DC350F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_56FFE84611691D0F305074E07A583906" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AF214C211699FC252DF074DF88DC350F" xlink:to="loc_us-gaap_VestingAxis_56FFE84611691D0F305074E07A583906" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_941AF43F553C0F5EBC9374E07A68FAFE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_56FFE84611691D0F305074E07A583906" xlink:to="loc_us-gaap_VestingDomain_941AF43F553C0F5EBC9374E07A68FAFE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_941AF43F553C0F5EBC9374E07A68FAFE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_56FFE84611691D0F305074E07A583906" xlink:to="loc_us-gaap_VestingDomain_941AF43F553C0F5EBC9374E07A68FAFE" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_TwoYearRSUsMember" xlink:label="loc_rubi_TwoYearRSUsMember_3DA596C0F5915EDF837274E07AF9E437" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_941AF43F553C0F5EBC9374E07A68FAFE" xlink:to="loc_rubi_TwoYearRSUsMember_3DA596C0F5915EDF837274E07AF9E437" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_3CC97290A7C3C349D20F74DF88DCDA78" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AF214C211699FC252DF074DF88DC350F" xlink:to="loc_us-gaap_AwardTypeAxis_3CC97290A7C3C349D20F74DF88DCDA78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_044DB00597EFD968274A74DF88DDC65E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_3CC97290A7C3C349D20F74DF88DCDA78" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_044DB00597EFD968274A74DF88DDC65E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_044DB00597EFD968274A74DF88DDC65E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_3CC97290A7C3C349D20F74DF88DCDA78" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_044DB00597EFD968274A74DF88DDC65E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_E61961E970EB5DD9B2BC74DF88DDF008" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_044DB00597EFD968274A74DF88DDC65E" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_E61961E970EB5DD9B2BC74DF88DDF008" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_1B6B52E09475C8782D0774DF88DD8A40" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EF1B0D5D166564D7875D74DF88DDDBC4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_1B6B52E09475C8782D0774DF88DD8A40" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsAggregateIntrinsicValueNonvestedIncludedInRestrictedStockUnitsGranted" xlink:label="loc_rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsAggregateIntrinsicValueNonvestedIncludedInRestrictedStockUnitsGranted_FD6D4F80BB1D797CB28374E610C5BAC2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EF1B0D5D166564D7875D74DF88DDDBC4" xlink:to="loc_rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsAggregateIntrinsicValueNonvestedIncludedInRestrictedStockUnitsGranted_FD6D4F80BB1D797CB28374E610C5BAC2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_3E6FE253BDC1DD447E0E74DF88DE9267" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EF1B0D5D166564D7875D74DF88DDDBC4" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_3E6FE253BDC1DD447E0E74DF88DE9267" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_7E8FA4C77CFD45076AF474DF88DED828" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EF1B0D5D166564D7875D74DF88DDDBC4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_7E8FA4C77CFD45076AF474DF88DED828" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_30C01F346B64A0A22F3474DF88DE2B0F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EF1B0D5D166564D7875D74DF88DDDBC4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_30C01F346B64A0A22F3474DF88DE2B0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested_46325C5F7FAD26E267F374DF88DE979A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EF1B0D5D166564D7875D74DF88DDDBC4" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested_46325C5F7FAD26E267F374DF88DE979A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_37917DEEFC9F2426215B74DF88DEDB6E" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EF1B0D5D166564D7875D74DF88DDDBC4" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_37917DEEFC9F2426215B74DF88DEDB6E" xlink:type="arc" />
    <link:loc xlink:href="rubi-20190331.xsd#rubi_EmployeeServiceShareBasedCompensationNonVestedRestrictedStockUnitsCompensationCostNotYetRecognizedPeriodforRecognition" xlink:label="loc_rubi_EmployeeServiceShareBasedCompensationNonVestedRestrictedStockUnitsCompensationCostNotYetRecognizedPeriodforRecognition_5FD3930F3764540D328174DF88DF957E" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EF1B0D5D166564D7875D74DF88DDDBC4" xlink:to="loc_rubi_EmployeeServiceShareBasedCompensationNonVestedRestrictedStockUnitsCompensationCostNotYetRecognizedPeriodforRecognition_5FD3930F3764540D328174DF88DF957E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationStockBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_9463A1A2DC4E3D2AA09C30FEFBE74170" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_2DF8071B16B112131AC430FEFBE5304B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_9463A1A2DC4E3D2AA09C30FEFBE74170" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_2DF8071B16B112131AC430FEFBE5304B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_705B6986A0C6B5B1F9BD30FEFBE55B29" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_2DF8071B16B112131AC430FEFBE5304B" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_705B6986A0C6B5B1F9BD30FEFBE55B29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_4903FD31B1138D8B1BAC30FEFBE545AC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_705B6986A0C6B5B1F9BD30FEFBE55B29" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_4903FD31B1138D8B1BAC30FEFBE545AC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_4903FD31B1138D8B1BAC30FEFBE545AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_705B6986A0C6B5B1F9BD30FEFBE55B29" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_4903FD31B1138D8B1BAC30FEFBE545AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_4576F0A535FD2F06EDD530FEFBE6438B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_4903FD31B1138D8B1BAC30FEFBE545AC" xlink:to="loc_us-gaap_CostOfSalesMember_4576F0A535FD2F06EDD530FEFBE6438B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_8BC70CA5DF69FF1D61D230FEFBE6EAA1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_4903FD31B1138D8B1BAC30FEFBE545AC" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_8BC70CA5DF69FF1D61D230FEFBE6EAA1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_B535572A7A360451EA2730FEFBE60EA3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_4903FD31B1138D8B1BAC30FEFBE545AC" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_B535572A7A360451EA2730FEFBE60EA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_468238BA83BB1A9E589E30FEFBE68372" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_4903FD31B1138D8B1BAC30FEFBE545AC" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_468238BA83BB1A9E589E30FEFBE68372" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringChargesMember" xlink:label="loc_us-gaap_RestructuringChargesMember_6BEC2099820D3CEC026730FEFBE6B7AE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_4903FD31B1138D8B1BAC30FEFBE545AC" xlink:to="loc_us-gaap_RestructuringChargesMember_6BEC2099820D3CEC026730FEFBE6B7AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_077EFAF56D6B3796961230FEFBE760A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_9463A1A2DC4E3D2AA09C30FEFBE74170" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_077EFAF56D6B3796961230FEFBE760A6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8CFEA65ECFFE56D2D825336ADAD3F6C5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_22303DECDC753AB570A6336ADAD28AFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8CFEA65ECFFE56D2D825336ADAD3F6C5" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_22303DECDC753AB570A6336ADAD28AFB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_84C2F6504AC2EDFA3D64336ADAD287C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_22303DECDC753AB570A6336ADAD28AFB" xlink:to="loc_us-gaap_AwardTypeAxis_84C2F6504AC2EDFA3D64336ADAD287C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6F0623B6C4D3BBB4D492336ADAD2D76E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_84C2F6504AC2EDFA3D64336ADAD287C2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6F0623B6C4D3BBB4D492336ADAD2D76E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6F0623B6C4D3BBB4D492336ADAD2D76E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_84C2F6504AC2EDFA3D64336ADAD287C2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6F0623B6C4D3BBB4D492336ADAD2D76E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_773D2279426536E9B9D1336ADAD3D391" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6F0623B6C4D3BBB4D492336ADAD2D76E" xlink:to="loc_us-gaap_EmployeeStockOptionMember_773D2279426536E9B9D1336ADAD3D391" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_1CE593C9321377F40F1F336ADAD468CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8CFEA65ECFFE56D2D825336ADAD3F6C5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_1CE593C9321377F40F1F336ADAD468CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_AA2E66113188AC9661F2336ADAD4CD2F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8CFEA65ECFFE56D2D825336ADAD3F6C5" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_AA2E66113188AC9661F2336ADAD4CD2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_A4B9196D70F1463FEC00336ADAD43627" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8CFEA65ECFFE56D2D825336ADAD3F6C5" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_A4B9196D70F1463FEC00336ADAD43627" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_32E5EDFA534137A5AD58336ADAD4C6B9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8CFEA65ECFFE56D2D825336ADAD3F6C5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_32E5EDFA534137A5AD58336ADAD4C6B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_DFDCE76211A80B9BF5F4336ADAD540EC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8CFEA65ECFFE56D2D825336ADAD3F6C5" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_DFDCE76211A80B9BF5F4336ADAD540EC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationValuationAssumptionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0CAE69330BE688B565014AF2C59E2B2C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_07CB0AEAFF207B874BAD4AF2C59D625C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0CAE69330BE688B565014AF2C59E2B2C" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_07CB0AEAFF207B874BAD4AF2C59D625C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_CE170EDE512E3D776E4B4AF2C59D04F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_07CB0AEAFF207B874BAD4AF2C59D625C" xlink:to="loc_us-gaap_AwardTypeAxis_CE170EDE512E3D776E4B4AF2C59D04F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_C51AE67E1CFD461241044AF2C59D663D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_CE170EDE512E3D776E4B4AF2C59D04F6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_C51AE67E1CFD461241044AF2C59D663D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_C51AE67E1CFD461241044AF2C59D663D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_CE170EDE512E3D776E4B4AF2C59D04F6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_C51AE67E1CFD461241044AF2C59D663D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_18F36133C261FFFFC0D54AF2C59E3A4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_C51AE67E1CFD461241044AF2C59D663D" xlink:to="loc_us-gaap_EmployeeStockOptionMember_18F36133C261FFFFC0D54AF2C59E3A4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_19C0E4FECBE78E20F2154AF2C59E62FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0CAE69330BE688B565014AF2C59E2B2C" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_19C0E4FECBE78E20F2154AF2C59E62FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_5BC00F6BF0022A65292B4AF2C59F0B60" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0CAE69330BE688B565014AF2C59E2B2C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_5BC00F6BF0022A65292B4AF2C59F0B60" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_C8AF462BA4A4FEC738814AF2C59FEA20" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0CAE69330BE688B565014AF2C59E2B2C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_C8AF462BA4A4FEC738814AF2C59FEA20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_56D93989ACB8DAD7DA3F4AF2C59F7388" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0CAE69330BE688B565014AF2C59E2B2C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_56D93989ACB8DAD7DA3F4AF2C59F7388" xlink:type="arc" />
  </link:definitionLink>
</link:linkbase>
