<?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/AccountsPayableAndAccruedExpenses" xlink:href="rubi-20181231.xsd#AccountsPayableAndAccruedExpenses" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpensesDetails" xlink:href="rubi-20181231.xsd#AccountsPayableAndAccruedExpensesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpensesTables" xlink:href="rubi-20181231.xsd#AccountsPayableAndAccruedExpensesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/AccumulatedOtherComprehensiveLoss" xlink:href="rubi-20181231.xsd#AccumulatedOtherComprehensiveLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/AccumulatedOtherComprehensiveLossScheduleOfComponentsOfAccumulatedOtherComprehensiveLossDetails" xlink:href="rubi-20181231.xsd#AccumulatedOtherComprehensiveLossScheduleOfComponentsOfAccumulatedOtherComprehensiveLossDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/AccumulatedOtherComprehensiveLossTables" xlink:href="rubi-20181231.xsd#AccumulatedOtherComprehensiveLossTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinations" xlink:href="rubi-20181231.xsd#BusinessCombinations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsAcquiredIntangibleAssetsAndEstimatedUsefulLivesDetails" xlink:href="rubi-20181231.xsd#BusinessCombinationsAcquiredIntangibleAssetsAndEstimatedUsefulLivesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsAllocationOfTotalPurchaseConsiderationsDetails" xlink:href="rubi-20181231.xsd#BusinessCombinationsAllocationOfTotalPurchaseConsiderationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsNarrativeDetails" xlink:href="rubi-20181231.xsd#BusinessCombinationsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsProFormaInformationDetails" xlink:href="rubi-20181231.xsd#BusinessCombinationsProFormaInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsTables" xlink:href="rubi-20181231.xsd#BusinessCombinationsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/CommitmentsAndContingencies" xlink:href="rubi-20181231.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/CommitmentsAndContingenciesDetails" xlink:href="rubi-20181231.xsd#CommitmentsAndContingenciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/CommitmentsAndContingenciesTables" xlink:href="rubi-20181231.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedBalanceSheets" xlink:href="rubi-20181231.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="rubi-20181231.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementOfCashFlows" xlink:href="rubi-20181231.xsd#ConsolidatedStatementOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:href="rubi-20181231.xsd#ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsOfOperations" xlink:href="rubi-20181231.xsd#ConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsOfStockholdersEquityDeficit" xlink:href="rubi-20181231.xsd#ConsolidatedStatementsOfStockholdersEquityDeficit" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/Debt" xlink:href="rubi-20181231.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/DebtNarrativeDetails" xlink:href="rubi-20181231.xsd#DebtNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/DocumentAndEntityInformation" xlink:href="rubi-20181231.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurements" xlink:href="rubi-20181231.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsFinancialInstrumentsDetails" xlink:href="rubi-20181231.xsd#FairValueMeasurementsFinancialInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsNarrativeDetails" xlink:href="rubi-20181231.xsd#FairValueMeasurementsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsTables" xlink:href="rubi-20181231.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/GoodwillAndIntangibleAssets" xlink:href="rubi-20181231.xsd#GoodwillAndIntangibleAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsFiniteLivedIntangibleAssetsDetails" xlink:href="rubi-20181231.xsd#GoodwillAndIntangibleAssetsFiniteLivedIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:href="rubi-20181231.xsd#GoodwillAndIntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsGoodwillActivityDetails" xlink:href="rubi-20181231.xsd#GoodwillAndIntangibleAssetsGoodwillActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsNarrativeDetails" xlink:href="rubi-20181231.xsd#GoodwillAndIntangibleAssetsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsTables" xlink:href="rubi-20181231.xsd#GoodwillAndIntangibleAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxes" xlink:href="rubi-20181231.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxesAdditionalInformationDetails" xlink:href="rubi-20181231.xsd#IncomeTaxesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxesComponentsOfIncomeTaxExpenseBenefitDetails" xlink:href="rubi-20181231.xsd#IncomeTaxesComponentsOfIncomeTaxExpenseBenefitDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:href="rubi-20181231.xsd#IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxesEffectiveIncomeTaxRateReconciliationDetails" xlink:href="rubi-20181231.xsd#IncomeTaxesEffectiveIncomeTaxRateReconciliationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxesIncomeBeforeIncomeTaxDomesticAndForeignDetails" xlink:href="rubi-20181231.xsd#IncomeTaxesIncomeBeforeIncomeTaxDomesticAndForeignDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxesNarrativeDetails" xlink:href="rubi-20181231.xsd#IncomeTaxesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxesTables" xlink:href="rubi-20181231.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:href="rubi-20181231.xsd#IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/InternalUseSoftwareDevelopmentCosts" xlink:href="rubi-20181231.xsd#InternalUseSoftwareDevelopmentCosts" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/InternalUseSoftwareDevelopmentCostsDetails" xlink:href="rubi-20181231.xsd#InternalUseSoftwareDevelopmentCostsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/InternalUseSoftwareDevelopmentCostsNarrativeDetails" xlink:href="rubi-20181231.xsd#InternalUseSoftwareDevelopmentCostsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/InternalUseSoftwareDevelopmentCostsTables" xlink:href="rubi-20181231.xsd#InternalUseSoftwareDevelopmentCostsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/InvestmentsInvestmentsInMarketableSecuritiesDetails" xlink:href="rubi-20181231.xsd#InvestmentsInvestmentsInMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/InvestmentsInvestmentsNotes" xlink:href="rubi-20181231.xsd#InvestmentsInvestmentsNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/InvestmentsNarrativeDetails" xlink:href="rubi-20181231.xsd#InvestmentsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/InvestmentsTables" xlink:href="rubi-20181231.xsd#InvestmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/NatureOfOperations" xlink:href="rubi-20181231.xsd#NatureOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShare" xlink:href="rubi-20181231.xsd#NetIncomeLossPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareBasicAndDilutedEarningsPerShareDetails" xlink:href="rubi-20181231.xsd#NetIncomeLossPerShareBasicAndDilutedEarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareSharesExcludedAndIncludedInCalculationOfDilutedEarningsPerShareDetails" xlink:href="rubi-20181231.xsd#NetIncomeLossPerShareSharesExcludedAndIncludedInCalculationOfDilutedEarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareTables" xlink:href="rubi-20181231.xsd#NetIncomeLossPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:href="rubi-20181231.xsd#OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesIntangibleAssetsDetails" xlink:href="rubi-20181231.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:href="rubi-20181231.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="rubi-20181231.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPropertyAndEquipmentDetails" xlink:href="rubi-20181231.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesPropertyAndEquipmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesTables" xlink:href="rubi-20181231.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/PropertyAndEquipment" xlink:href="rubi-20181231.xsd#PropertyAndEquipment" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/PropertyAndEquipmentDetails" xlink:href="rubi-20181231.xsd#PropertyAndEquipmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/PropertyAndEquipmentNarrativeDetails" xlink:href="rubi-20181231.xsd#PropertyAndEquipmentNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/PropertyAndEquipmentTables" xlink:href="rubi-20181231.xsd#PropertyAndEquipmentTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/QuarterlyFinancialDataUnaudited" xlink:href="rubi-20181231.xsd#QuarterlyFinancialDataUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:href="rubi-20181231.xsd#QuarterlyFinancialDataUnauditedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/QuarterlyFinancialDataUnauditedTables" xlink:href="rubi-20181231.xsd#QuarterlyFinancialDataUnauditedTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RelatedPartyTransaction" xlink:href="rubi-20181231.xsd#RelatedPartyTransaction" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RestructuringAndOtherExitCosts" xlink:href="rubi-20181231.xsd#RestructuringAndOtherExitCosts" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RestructuringAndOtherExitCostsNarrativeDetails" xlink:href="rubi-20181231.xsd#RestructuringAndOtherExitCostsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RestructuringAndOtherExitCostsScheduleOfRestructuringAndOtherExitCostsDetails" xlink:href="rubi-20181231.xsd#RestructuringAndOtherExitCostsScheduleOfRestructuringAndOtherExitCostsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RestructuringAndOtherExitCostsTables" xlink:href="rubi-20181231.xsd#RestructuringAndOtherExitCostsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/Revenues" xlink:href="rubi-20181231.xsd#Revenues" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RevenuesDetails" xlink:href="rubi-20181231.xsd#RevenuesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RevenuesRevenueDisaggregatedByGeographicLocationDetails" xlink:href="rubi-20181231.xsd#RevenuesRevenueDisaggregatedByGeographicLocationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RevenuesRevenueDisaggregatedBySalesDistributionChannelDetails" xlink:href="rubi-20181231.xsd#RevenuesRevenueDisaggregatedBySalesDistributionChannelDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/RevenuesTables" xlink:href="rubi-20181231.xsd#RevenuesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensation" xlink:href="rubi-20181231.xsd#StockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationDetails" xlink:href="rubi-20181231.xsd#StockBasedCompensationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:href="rubi-20181231.xsd#StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationExpenseDetails" xlink:href="rubi-20181231.xsd#StockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockActivityDetails" xlink:href="rubi-20181231.xsd#StockBasedCompensationRestrictedStockActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockNarrativeDetails" xlink:href="rubi-20181231.xsd#StockBasedCompensationRestrictedStockNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:href="rubi-20181231.xsd#StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsNarrativeDetails" xlink:href="rubi-20181231.xsd#StockBasedCompensationStockOptionsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:href="rubi-20181231.xsd#StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationTables" xlink:href="rubi-20181231.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationValuationAssumptionsDetails" xlink:href="rubi-20181231.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/AccountsPayableAndAccruedExpenses" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpensesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpensesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/AccumulatedOtherComprehensiveLoss" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/AccumulatedOtherComprehensiveLossScheduleOfComponentsOfAccumulatedOtherComprehensiveLossDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_123670180294EDE04EFF3055420DBF27" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_D7D0C59C150225EDEA0D3055420CCA89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_123670180294EDE04EFF3055420DBF27" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_D7D0C59C150225EDEA0D3055420CCA89" 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_8BFEE44169FE27C991D73055420C9F6F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_D7D0C59C150225EDEA0D3055420CCA89" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_8BFEE44169FE27C991D73055420C9F6F" 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_EF4385FAEAE70C6A58CE3055420C5F86_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_8BFEE44169FE27C991D73055420C9F6F" xlink:to="loc_us-gaap_EquityComponentDomain_EF4385FAEAE70C6A58CE3055420C5F86_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_EF4385FAEAE70C6A58CE3055420C5F86" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_8BFEE44169FE27C991D73055420C9F6F" xlink:to="loc_us-gaap_EquityComponentDomain_EF4385FAEAE70C6A58CE3055420C5F86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_AD8E8195EFC2CFD622E73074EF8B68AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_EF4385FAEAE70C6A58CE3055420C5F86" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_AD8E8195EFC2CFD622E73074EF8B68AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedTranslationAdjustmentMember" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_4085FE0F9CF8F7445E7F3055420DC203" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_EF4385FAEAE70C6A58CE3055420C5F86" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_4085FE0F9CF8F7445E7F3055420DC203" 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_C394EFEFB4BEB43BA8D63055420DCF62" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_EF4385FAEAE70C6A58CE3055420C5F86" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_C394EFEFB4BEB43BA8D63055420DCF62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AOCIAttributableToParentNetOfTaxRollForward" xlink:label="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_2F24AC3986D8E8076CFF3055420D84A8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_123670180294EDE04EFF3055420DBF27" xlink:to="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_2F24AC3986D8E8076CFF3055420D84A8" 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_2CCEB4E8DF4B53F50A8A3055420EB1DD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_2F24AC3986D8E8076CFF3055420D84A8" xlink:to="loc_us-gaap_StockholdersEquity_2CCEB4E8DF4B53F50A8A3055420EB1DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_8BDB591BA14FAEA6AD123055420E6BB4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_2F24AC3986D8E8076CFF3055420D84A8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_8BDB591BA14FAEA6AD123055420E6BB4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_7C309ED9B188103D8A2F3055420EE884" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_2F24AC3986D8E8076CFF3055420D84A8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_7C309ED9B188103D8A2F3055420EE884" 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_0995914441A6BEF418603055420EB863" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_2F24AC3986D8E8076CFF3055420D84A8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0995914441A6BEF418603055420EB863" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/AccumulatedOtherComprehensiveLossTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsAcquiredIntangibleAssetsAndEstimatedUsefulLivesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_34B51D3BE4A145216D171AEBC3F90EFD" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_F20EA1DF1E65C26E19A41AEBC3F6F21F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_34B51D3BE4A145216D171AEBC3F90EFD" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_F20EA1DF1E65C26E19A41AEBC3F6F21F" 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_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_36CE7E9F2BA1BBF4596A1AEBC3F6AC44" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_F20EA1DF1E65C26E19A41AEBC3F6F21F" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_36CE7E9F2BA1BBF4596A1AEBC3F6AC44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5E877DD9ADC27364F5901AEBC3F7A9BB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_36CE7E9F2BA1BBF4596A1AEBC3F6AC44" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5E877DD9ADC27364F5901AEBC3F7A9BB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5E877DD9ADC27364F5901AEBC3F7A9BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_36CE7E9F2BA1BBF4596A1AEBC3F6AC44" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5E877DD9ADC27364F5901AEBC3F7A9BB" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_NToggleMember" xlink:label="loc_rubi_NToggleMember_870F175C35F0410E5C781AEE1F697C4E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5E877DD9ADC27364F5901AEBC3F7A9BB" xlink:to="loc_rubi_NToggleMember_870F175C35F0410E5C781AEE1F697C4E" xlink:type="arc" />
    <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_9734C139DD1B682911751AEBC3F81F6F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_F20EA1DF1E65C26E19A41AEBC3F6F21F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9734C139DD1B682911751AEBC3F81F6F" 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_D6A164A3D7F0C3522FB01AEBC3F8DF1B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9734C139DD1B682911751AEBC3F81F6F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D6A164A3D7F0C3522FB01AEBC3F8DF1B_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_D6A164A3D7F0C3522FB01AEBC3F8DF1B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9734C139DD1B682911751AEBC3F81F6F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D6A164A3D7F0C3522FB01AEBC3F8DF1B" 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_27464BCDD258DE7288A41AEE4E5053CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D6A164A3D7F0C3522FB01AEBC3F8DF1B" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_27464BCDD258DE7288A41AEE4E5053CE" 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_498B9CB34D85F77165C91AEE7DA0421F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D6A164A3D7F0C3522FB01AEBC3F8DF1B" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_498B9CB34D85F77165C91AEE7DA0421F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TrademarksAndTradeNamesMember" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_FC69DAC401DD7DC7A6551AEEB9A284E6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D6A164A3D7F0C3522FB01AEBC3F8DF1B" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_FC69DAC401DD7DC7A6551AEEB9A284E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_FEBF620943FA33FEC7E71AEC04C74325" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_34B51D3BE4A145216D171AEBC3F90EFD" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_FEBF620943FA33FEC7E71AEC04C74325" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_2D5A8CD09CA16DEDC2031AECDA35D338" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_34B51D3BE4A145216D171AEBC3F90EFD" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_2D5A8CD09CA16DEDC2031AECDA35D338" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsAllocationOfTotalPurchaseConsiderationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_025AA83FFF83CCC4BEC81AE2BDFEF6ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_025AA83FFF83CCC4BEC81AE2BDFEF6ED" 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_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_5360A357D71ED7D8A7501AE2BDFFA555" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_025AA83FFF83CCC4BEC81AE2BDFEF6ED" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_5360A357D71ED7D8A7501AE2BDFFA555" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_995321837553EE8FA0561AE2BE008429_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_5360A357D71ED7D8A7501AE2BDFFA555" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_995321837553EE8FA0561AE2BE008429_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_995321837553EE8FA0561AE2BE008429" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_5360A357D71ED7D8A7501AE2BDFFA555" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_995321837553EE8FA0561AE2BE008429" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_NToggleMember" xlink:label="loc_rubi_NToggleMember_5753DE0E43EF32D2EB2B1AE80C235DF6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_995321837553EE8FA0561AE2BE008429" xlink:to="loc_rubi_NToggleMember_5753DE0E43EF32D2EB2B1AE80C235DF6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_245A56E6A38D89F074BD1AE31D690168" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_245A56E6A38D89F074BD1AE31D690168" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_C492CE0FEDF7129AFD0B1AE364E5AFDE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_C492CE0FEDF7129AFD0B1AE364E5AFDE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_718F372632A5CC8FFAE71AE3AB3B3365" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_718F372632A5CC8FFAE71AE3AB3B3365" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_112E148341DE3518E4421AE404FD6240" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_112E148341DE3518E4421AE404FD6240" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_7D6D3ECBF0B3E6EF9FD31AE5A91AE0C9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_7D6D3ECBF0B3E6EF9FD31AE5A91AE0C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_1A48FEF40F94FDF8B9541AE4DF8DF475" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_1A48FEF40F94FDF8B9541AE4DF8DF475" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_3842BD9EF1FB90063AA21AE48F76ADDD" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:to="loc_us-gaap_Goodwill_3842BD9EF1FB90063AA21AE48F76ADDD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_9E10DF9C2894AC43B8211AE5F5D7A157" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_9E10DF9C2894AC43B8211AE5F5D7A157" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_2D266A45CD44EE34B44C1AE673C7F490" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_2D266A45CD44EE34B44C1AE673C7F490" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_F5ECDCDBEF20C61867941AE6C318AE2F" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_F5ECDCDBEF20C61867941AE6C318AE2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_DE85EC82AE363D3CC4E31AE709725DA9" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_DE85EC82AE363D3CC4E31AE709725DA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_FD5D9CC7D7EA6F6552EE1AE748BB4FBC" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_FD5D9CC7D7EA6F6552EE1AE748BB4FBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_94642380677472DC05641AE78FF3BB80" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9907FE9363994C7596011AE2BE09C151" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_94642380677472DC05641AE78FF3BB80" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_3D66B17FB29A5A3C077F30C3748A9970" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_EB30761F031DAC19414E30C37489FEFE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3D66B17FB29A5A3C077F30C3748A9970" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_EB30761F031DAC19414E30C37489FEFE" 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_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_AAF76C2ED54D32783D1430C374899D5A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_EB30761F031DAC19414E30C37489FEFE" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_AAF76C2ED54D32783D1430C374899D5A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3ACBB7B90FA9AF05826930C37489A813_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_AAF76C2ED54D32783D1430C374899D5A" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3ACBB7B90FA9AF05826930C37489A813_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3ACBB7B90FA9AF05826930C37489A813" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_AAF76C2ED54D32783D1430C374899D5A" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3ACBB7B90FA9AF05826930C37489A813" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_NToggleMember" xlink:label="loc_rubi_NToggleMember_BD4F95E77DFFAA28946730C3748A1FF4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3ACBB7B90FA9AF05826930C37489A813" xlink:to="loc_rubi_NToggleMember_BD4F95E77DFFAA28946730C3748A1FF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_20199EEC25756B66EEFF30C3748A8EF8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3D66B17FB29A5A3C077F30C3748A9970" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_20199EEC25756B66EEFF30C3748A8EF8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_41E3058DEE60397D24B730C3748B16B6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3D66B17FB29A5A3C077F30C3748A9970" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_41E3058DEE60397D24B730C3748B16B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAcquiredFromAcquisition" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition_A1B1015D7021E48D17E730C3748B9FFB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3D66B17FB29A5A3C077F30C3748A9970" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition_A1B1015D7021E48D17E730C3748B9FFB" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_BusinessCombinationInTheMoneyOptionsAssumed" xlink:label="loc_rubi_BusinessCombinationInTheMoneyOptionsAssumed_BC6B090E91F50A72B33130C3748B9294" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3D66B17FB29A5A3C077F30C3748A9970" xlink:to="loc_rubi_BusinessCombinationInTheMoneyOptionsAssumed_BC6B090E91F50A72B33130C3748B9294" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_BusinessCombinationRestrictedStockAssumed" xlink:label="loc_rubi_BusinessCombinationRestrictedStockAssumed_F0C336AB23669E67C9FF30C3748BB95D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3D66B17FB29A5A3C077F30C3748A9970" xlink:to="loc_rubi_BusinessCombinationRestrictedStockAssumed_F0C336AB23669E67C9FF30C3748BB95D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_2B4ADD7F3358B3D5194B30C3748B4FC6" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3D66B17FB29A5A3C077F30C3748A9970" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_2B4ADD7F3358B3D5194B30C3748B4FC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_5ADFF39AC70D7647ECCC30C3748C736B" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3D66B17FB29A5A3C077F30C3748A9970" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_5ADFF39AC70D7647ECCC30C3748C736B" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_BusinessCombinationNetOperatingLossAcquired" xlink:label="loc_rubi_BusinessCombinationNetOperatingLossAcquired_5A91AF6433109D50BE4330C3748CE02C" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3D66B17FB29A5A3C077F30C3748A9970" xlink:to="loc_rubi_BusinessCombinationNetOperatingLossAcquired_5A91AF6433109D50BE4330C3748CE02C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_131D5C01E45D39744BB130C3748C6771" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3D66B17FB29A5A3C077F30C3748A9970" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_131D5C01E45D39744BB130C3748C6771" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_84D0E758BF42EFD3C39630C3748C2C41" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3D66B17FB29A5A3C077F30C3748A9970" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_84D0E758BF42EFD3C39630C3748C2C41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GoodwillImpairmentLoss" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_18BABD2E7A583118DA9430C3748DBBC7" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3D66B17FB29A5A3C077F30C3748A9970" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_18BABD2E7A583118DA9430C3748DBBC7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsProFormaInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_12BC2490C54EEE147EF01AF048F4DA96" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_39C2BC675179A7A9091D1AF048E8A2BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_12BC2490C54EEE147EF01AF048F4DA96" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_39C2BC675179A7A9091D1AF048E8A2BD" 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_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_D3C8E9FBAC514C6F93BD1AF048E951C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_39C2BC675179A7A9091D1AF048E8A2BD" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_D3C8E9FBAC514C6F93BD1AF048E951C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F93C373DDA6D3AE49B3D1AF048E9A09C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D3C8E9FBAC514C6F93BD1AF048E951C0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F93C373DDA6D3AE49B3D1AF048E9A09C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F93C373DDA6D3AE49B3D1AF048E9A09C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D3C8E9FBAC514C6F93BD1AF048E951C0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F93C373DDA6D3AE49B3D1AF048E9A09C" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_NToggleMember" xlink:label="loc_rubi_NToggleMember_D85E4F9FAC0864F091D21AF22A19A685" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F93C373DDA6D3AE49B3D1AF048E9A09C" xlink:to="loc_rubi_NToggleMember_D85E4F9FAC0864F091D21AF22A19A685" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_1FA4A1373DCE605AC8541AF0D38274F3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_12BC2490C54EEE147EF01AF048F4DA96" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_1FA4A1373DCE605AC8541AF0D38274F3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_83EA98DC22541DA4472F1AF1211C34B0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_12BC2490C54EEE147EF01AF048F4DA96" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_83EA98DC22541DA4472F1AF1211C34B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_140DC13560BECE77A72C1AF19080EB96" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_12BC2490C54EEE147EF01AF048F4DA96" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_140DC13560BECE77A72C1AF19080EB96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_D7B11DCB091A52D742721AF1CFEA10EA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_12BC2490C54EEE147EF01AF048F4DA96" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_D7B11DCB091A52D742721AF1CFEA10EA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsTables" xlink:type="extended" />
  <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_7CA2183158981BACE1AA30C3734C280E" 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_9CCE7A8CA0B51A55306530C3734A353E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_7CA2183158981BACE1AA30C3734C280E" xlink:to="loc_us-gaap_OtherCommitmentsTable_9CCE7A8CA0B51A55306530C3734A353E" 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_B4148F5C3095D13AF05630C3734AC11A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_9CCE7A8CA0B51A55306530C3734A353E" xlink:to="loc_us-gaap_LeaseArrangementTypeAxis_B4148F5C3095D13AF05630C3734AC11A" 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_D943E6CD4EF5E0DAAA8E30C3734BF79F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_B4148F5C3095D13AF05630C3734AC11A" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_D943E6CD4EF5E0DAAA8E30C3734BF79F_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_D943E6CD4EF5E0DAAA8E30C3734BF79F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_B4148F5C3095D13AF05630C3734AC11A" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_D943E6CD4EF5E0DAAA8E30C3734BF79F" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DataCentersForCloudBasedServicesMember" xlink:label="loc_rubi_DataCentersForCloudBasedServicesMember_29BDFC4B497B2A8374F930C3734BDDB0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_D943E6CD4EF5E0DAAA8E30C3734BF79F" xlink:to="loc_rubi_DataCentersForCloudBasedServicesMember_29BDFC4B497B2A8374F930C3734BDDB0" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OfficeLeaseMember" xlink:label="loc_rubi_OfficeLeaseMember_30BC1A7FBAAAC91DA83430C3734BB6A6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_D943E6CD4EF5E0DAAA8E30C3734BF79F" xlink:to="loc_rubi_OfficeLeaseMember_30BC1A7FBAAAC91DA83430C3734BB6A6" 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_DBCB987AA427B905CF2830C3734C28E8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_9CCE7A8CA0B51A55306530C3734A353E" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_DBCB987AA427B905CF2830C3734C28E8" 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_F6065402E4236A4D214430C3734C50E8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_DBCB987AA427B905CF2830C3734C28E8" xlink:to="loc_us-gaap_LossContingencyNatureDomain_F6065402E4236A4D214430C3734C50E8_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_F6065402E4236A4D214430C3734C50E8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_DBCB987AA427B905CF2830C3734C28E8" xlink:to="loc_us-gaap_LossContingencyNatureDomain_F6065402E4236A4D214430C3734C50E8" 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_157920263EBE0200D19630C3734CEAAD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_F6065402E4236A4D214430C3734C50E8" xlink:to="loc_us-gaap_FinancialStandbyLetterOfCreditMember_157920263EBE0200D19630C3734CEAAD" 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_A6F075BEBE12C43333D230C3734DE086" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_7CA2183158981BACE1AA30C3734C280E" xlink:to="loc_us-gaap_LeaseAndRentalExpense_A6F075BEBE12C43333D230C3734DE086" 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_65626D714333A038940530C3734DEE45" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_7CA2183158981BACE1AA30C3734C280E" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_65626D714333A038940530C3734DEE45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_184C6C9B710D4B2AA3C030C3734DF532" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_7CA2183158981BACE1AA30C3734C280E" xlink:to="loc_us-gaap_OperatingExpensesAbstract_184C6C9B710D4B2AA3C030C3734DF532" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_F37B58AD19110B15FF6030C3734E5F21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_184C6C9B710D4B2AA3C030C3734DF532" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_F37B58AD19110B15FF6030C3734E5F21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_673DAF5D90B269DAC6F130C3734E6F85" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_184C6C9B710D4B2AA3C030C3734DF532" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_673DAF5D90B269DAC6F130C3734E6F85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_B3EDCA5E933A4E46735330C3734FF4FD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_184C6C9B710D4B2AA3C030C3734DF532" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_B3EDCA5E933A4E46735330C3734FF4FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_DDCA91824F61F30F14EB30C3734FFE52" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_184C6C9B710D4B2AA3C030C3734DF532" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_DDCA91824F61F30F14EB30C3734FFE52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_E04B147EC28243235D4530C3734F6448" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_184C6C9B710D4B2AA3C030C3734DF532" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_E04B147EC28243235D4530C3734F6448" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_2380FE934B096AB16E3730C3734FBC81" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_184C6C9B710D4B2AA3C030C3734DF532" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_2380FE934B096AB16E3730C3734FBC81" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LesseeOperatingSubleaseDescriptionAbstract" xlink:label="loc_us-gaap_LesseeOperatingSubleaseDescriptionAbstract_616C9ED523BA1F039B6230C37350E487" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_7CA2183158981BACE1AA30C3734C280E" xlink:to="loc_us-gaap_LesseeOperatingSubleaseDescriptionAbstract_616C9ED523BA1F039B6230C37350E487" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinNextTwelveMonths" xlink:label="loc_rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinNextTwelveMonths_8518CEE518E73314B14830C37350C99C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeOperatingSubleaseDescriptionAbstract_616C9ED523BA1F039B6230C37350E487" xlink:to="loc_rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinNextTwelveMonths_8518CEE518E73314B14830C37350C99C" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinTwoYears" xlink:label="loc_rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinTwoYears_0D4ABF84A063D825C05130C37351CF2A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeOperatingSubleaseDescriptionAbstract_616C9ED523BA1F039B6230C37350E487" xlink:to="loc_rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinTwoYears_0D4ABF84A063D825C05130C37351CF2A" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinThreeYears" xlink:label="loc_rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinThreeYears_4DA1C80C7A27DA2F815530C373517792" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeOperatingSubleaseDescriptionAbstract_616C9ED523BA1F039B6230C37350E487" xlink:to="loc_rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinThreeYears_4DA1C80C7A27DA2F815530C373517792" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinFourYears" xlink:label="loc_rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinFourYears_99A16629847B39630B0530C373513205" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeOperatingSubleaseDescriptionAbstract_616C9ED523BA1F039B6230C37350E487" xlink:to="loc_rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinFourYears_99A16629847B39630B0530C373513205" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinFiveYears" xlink:label="loc_rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinFiveYears_150135C2AD544FBC1E8630C37351C7B0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeOperatingSubleaseDescriptionAbstract_616C9ED523BA1F039B6230C37350E487" xlink:to="loc_rubi_OperatingLeasesRentExpenseSubleaseRentalsDueinFiveYears_150135C2AD544FBC1E8630C37351C7B0" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OperatingLeasesRentExpenseSubleaseRentalsDue" xlink:label="loc_rubi_OperatingLeasesRentExpenseSubleaseRentalsDue_8756E55B1F8909037AF530C373525382" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeOperatingSubleaseDescriptionAbstract_616C9ED523BA1F039B6230C37350E487" xlink:to="loc_rubi_OperatingLeasesRentExpenseSubleaseRentalsDue_8756E55B1F8909037AF530C373525382" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract" xlink:label="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_BCB8BA859F8EBE8BAB0A30C37352039B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_7CA2183158981BACE1AA30C3734C280E" xlink:to="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_BCB8BA859F8EBE8BAB0A30C37352039B" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OperatingLeasesRentExpenseNetinNextTwelveMonths" xlink:label="loc_rubi_OperatingLeasesRentExpenseNetinNextTwelveMonths_824CD55A6B1C927F4F8330C3735240D5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_BCB8BA859F8EBE8BAB0A30C37352039B" xlink:to="loc_rubi_OperatingLeasesRentExpenseNetinNextTwelveMonths_824CD55A6B1C927F4F8330C3735240D5" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OperatingLeasesRentExpenseNetinTwoYears" xlink:label="loc_rubi_OperatingLeasesRentExpenseNetinTwoYears_A6884BE7CC2CF820361430C37352B067" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_BCB8BA859F8EBE8BAB0A30C37352039B" xlink:to="loc_rubi_OperatingLeasesRentExpenseNetinTwoYears_A6884BE7CC2CF820361430C37352B067" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OperatingLeasesRentExpenseNetinThreeYears" xlink:label="loc_rubi_OperatingLeasesRentExpenseNetinThreeYears_140D2B61E2486EC14C5A30C373528F2C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_BCB8BA859F8EBE8BAB0A30C37352039B" xlink:to="loc_rubi_OperatingLeasesRentExpenseNetinThreeYears_140D2B61E2486EC14C5A30C373528F2C" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OperatingLeasesRentExpenseNetinFourYears" xlink:label="loc_rubi_OperatingLeasesRentExpenseNetinFourYears_4AC0AAC3C5A4735FE0C730C373533210" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_BCB8BA859F8EBE8BAB0A30C37352039B" xlink:to="loc_rubi_OperatingLeasesRentExpenseNetinFourYears_4AC0AAC3C5A4735FE0C730C373533210" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OperatingLeasesRentExpenseNetinFiveYears" xlink:label="loc_rubi_OperatingLeasesRentExpenseNetinFiveYears_823870F2856ACB8C0A0C30C3735308C2" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_BCB8BA859F8EBE8BAB0A30C37352039B" xlink:to="loc_rubi_OperatingLeasesRentExpenseNetinFiveYears_823870F2856ACB8C0A0C30C3735308C2" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OperatingLeasesRentExpenseNetDue" xlink:label="loc_rubi_OperatingLeasesRentExpenseNetDue_88ED4069A1690DE158FD30C37353899C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_BCB8BA859F8EBE8BAB0A30C37352039B" xlink:to="loc_rubi_OperatingLeasesRentExpenseNetDue_88ED4069A1690DE158FD30C37353899C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsOfOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsOfStockholdersEquityDeficit" 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_D8BF9B943EB49BE94FEA12416F69D07A" 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_6D192B9F3A3E48E9FC2912416F678358" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_D8BF9B943EB49BE94FEA12416F69D07A" xlink:to="loc_us-gaap_StatementTable_6D192B9F3A3E48E9FC2912416F678358" 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_A0CB1CA3900E102288E512416F670057" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_6D192B9F3A3E48E9FC2912416F678358" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_A0CB1CA3900E102288E512416F670057" 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_82E12D7EFC79202C9F1412416F687EEC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_A0CB1CA3900E102288E512416F670057" xlink:to="loc_us-gaap_EquityComponentDomain_82E12D7EFC79202C9F1412416F687EEC_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_82E12D7EFC79202C9F1412416F687EEC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_A0CB1CA3900E102288E512416F670057" xlink:to="loc_us-gaap_EquityComponentDomain_82E12D7EFC79202C9F1412416F687EEC" 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_7AD0382D6417D898E68212416F68CC57" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_82E12D7EFC79202C9F1412416F687EEC" xlink:to="loc_us-gaap_CommonStockMember_7AD0382D6417D898E68212416F68CC57" 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_D306497FAFD5319777E312416F68E260" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_82E12D7EFC79202C9F1412416F687EEC" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_D306497FAFD5319777E312416F68E260" 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_66CB518CA2C5D102769412416F695BF5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_82E12D7EFC79202C9F1412416F687EEC" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_66CB518CA2C5D102769412416F695BF5" 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_484763C0BFB1A95C732A12416F691ABF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_82E12D7EFC79202C9F1412416F687EEC" xlink:to="loc_us-gaap_RetainedEarningsMember_484763C0BFB1A95C732A12416F691ABF" 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_54636FB86CC9C321543212416F6932D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_D8BF9B943EB49BE94FEA12416F69D07A" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" 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_DD233055A42918A3993D12416F6A3633" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_DD233055A42918A3993D12416F6A3633" 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_B9D4F9FBBCEE2253DA7512416F6A3350" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_StockholdersEquity_B9D4F9FBBCEE2253DA7512416F6A3350" 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_044CB142453A6ABBEA4312416F6AFE21" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_044CB142453A6ABBEA4312416F6AFE21" 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_DC276C506AB4099CAB5612416F6AFC7A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_DC276C506AB4099CAB5612416F6AFC7A" 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_E4626ABD35B3D3B64B7E12416F6AE11C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_E4626ABD35B3D3B64B7E12416F6AE11C" 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_24129BC86C62E396FA7312416F6A2B6C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_24129BC86C62E396FA7312416F6A2B6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_7F40643A71CFF9303B6212416F6BD155" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_7F40643A71CFF9303B6212416F6BD155" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_5593E987D2CDF5F12DEB12416F6B3979" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_5593E987D2CDF5F12DEB12416F6B3979" 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_D455DC8CB190D80BC65012416F6BE1A3" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_D455DC8CB190D80BC65012416F6BE1A3" 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_C6CD7719F093DA59547C12416F6BAF97" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_C6CD7719F093DA59547C12416F6BAF97" 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_FF0582A094E70F46CA0312416F6BD485" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_FF0582A094E70F46CA0312416F6BD485" 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_1C6DCC2BE49FA0283A5112416F6C3F14" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_1C6DCC2BE49FA0283A5112416F6C3F14" 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_BD3C2FE2C4861857434012416F6C26CC" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_BD3C2FE2C4861857434012416F6C26CC" 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_91C0D99B997CC0364A6B12416F6C41FC" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_91C0D99B997CC0364A6B12416F6C41FC" 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_742FECEA9F34EE417E1B12416F6C3EE4" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_54636FB86CC9C321543212416F6932D0" xlink:to="loc_us-gaap_NetIncomeLoss_742FECEA9F34EE417E1B12416F6C3EE4" 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/DebtNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_59546E31F58B8428F60E305541459CED" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityTable" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_1677B719617D5E682B7A305541409426" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_59546E31F58B8428F60E305541459CED" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_1677B719617D5E682B7A305541409426" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DebtInstrumentCovenantCompliancePeriodAxis" xlink:label="loc_rubi_DebtInstrumentCovenantCompliancePeriodAxis_D43F6143A8FF87DD28B930554140C891" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1677B719617D5E682B7A305541409426" xlink:to="loc_rubi_DebtInstrumentCovenantCompliancePeriodAxis_D43F6143A8FF87DD28B930554140C891" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DebtInstrumentCovenantCompliancePeriodDomain" xlink:label="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_05CB65D5F956732B79AB30554140674A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_rubi_DebtInstrumentCovenantCompliancePeriodAxis_D43F6143A8FF87DD28B930554140C891" xlink:to="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_05CB65D5F956732B79AB30554140674A_default" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DebtInstrumentCovenantCompliancePeriodDomain" xlink:label="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_05CB65D5F956732B79AB30554140674A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_rubi_DebtInstrumentCovenantCompliancePeriodAxis_D43F6143A8FF87DD28B930554140C891" xlink:to="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_05CB65D5F956732B79AB30554140674A" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_CovenantCompliancePeriodTwoMember" xlink:label="loc_rubi_CovenantCompliancePeriodTwoMember_9548717E2F92297D798F305541413923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_05CB65D5F956732B79AB30554140674A" xlink:to="loc_rubi_CovenantCompliancePeriodTwoMember_9548717E2F92297D798F305541413923" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_CovenantCompliancePeriodThreeMember" xlink:label="loc_rubi_CovenantCompliancePeriodThreeMember_C05ED72BD908150B65E430554141E278" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtInstrumentCovenantCompliancePeriodDomain_05CB65D5F956732B79AB30554140674A" xlink:to="loc_rubi_CovenantCompliancePeriodThreeMember_C05ED72BD908150B65E430554141E278" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DebtCovenantTermsAxis" xlink:label="loc_rubi_DebtCovenantTermsAxis_793D06B7F966887EDED73055414141A4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1677B719617D5E682B7A305541409426" xlink:to="loc_rubi_DebtCovenantTermsAxis_793D06B7F966887EDED73055414141A4" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DebtCovenantTermsDomain" xlink:label="loc_rubi_DebtCovenantTermsDomain_71E4B53ECDF01F5A056D30554142A494_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_rubi_DebtCovenantTermsAxis_793D06B7F966887EDED73055414141A4" xlink:to="loc_rubi_DebtCovenantTermsDomain_71E4B53ECDF01F5A056D30554142A494_default" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DebtCovenantTermsDomain" xlink:label="loc_rubi_DebtCovenantTermsDomain_71E4B53ECDF01F5A056D30554142A494" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_rubi_DebtCovenantTermsAxis_793D06B7F966887EDED73055414141A4" xlink:to="loc_rubi_DebtCovenantTermsDomain_71E4B53ECDF01F5A056D30554142A494" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_CovenantTermScenarioOneMember" xlink:label="loc_rubi_CovenantTermScenarioOneMember_70A504097BB941E9383930554142210E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtCovenantTermsDomain_71E4B53ECDF01F5A056D30554142A494" xlink:to="loc_rubi_CovenantTermScenarioOneMember_70A504097BB941E9383930554142210E" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_CovenantTermScenarioTwoMember" xlink:label="loc_rubi_CovenantTermScenarioTwoMember_42DB6930B11C40CB13E3305541420E0D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtCovenantTermsDomain_71E4B53ECDF01F5A056D30554142A494" xlink:to="loc_rubi_CovenantTermScenarioTwoMember_42DB6930B11C40CB13E3305541420E0D" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxisAxis" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxisAxis_1971C28DC992174DDA2230554142A679" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1677B719617D5E682B7A305541409426" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxisAxis_1971C28DC992174DDA2230554142A679" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxisDomain" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxisDomain_53FA6C16ED898F56333A305541420AEC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxisAxis_1971C28DC992174DDA2230554142A679" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxisDomain_53FA6C16ED898F56333A305541420AEC_default" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxisDomain" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxisDomain_53FA6C16ED898F56333A305541420AEC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxisAxis_1971C28DC992174DDA2230554142A679" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxisDomain_53FA6C16ED898F56333A305541420AEC" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_StreamlinePeriodAppliesMember" xlink:label="loc_rubi_StreamlinePeriodAppliesMember_141264F7AABA4126C08B3055414320A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxisDomain_53FA6C16ED898F56333A305541420AEC" xlink:to="loc_rubi_StreamlinePeriodAppliesMember_141264F7AABA4126C08B3055414320A9" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_StreamlinePeriodDoesNotApplyMember" xlink:label="loc_rubi_StreamlinePeriodDoesNotApplyMember_48A08E9DC28DBB2D684330554143D718" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rubi_DebtInstrumentCovenantComplianceStreamlinePeriodAxisDomain_53FA6C16ED898F56333A305541420AEC" xlink:to="loc_rubi_StreamlinePeriodDoesNotApplyMember_48A08E9DC28DBB2D684330554143D718" 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_3D2013077568F9C8635430554143DE3D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1677B719617D5E682B7A305541409426" xlink:to="loc_us-gaap_CreditFacilityAxis_3D2013077568F9C8635430554143DE3D" 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_A544B2D70BC917D5312C305541430F9C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_3D2013077568F9C8635430554143DE3D" xlink:to="loc_us-gaap_CreditFacilityDomain_A544B2D70BC917D5312C305541430F9C_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_A544B2D70BC917D5312C305541430F9C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_3D2013077568F9C8635430554143DE3D" xlink:to="loc_us-gaap_CreditFacilityDomain_A544B2D70BC917D5312C305541430F9C" 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_3FC1DE0376C94C41E3983055414493C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_A544B2D70BC917D5312C305541430F9C" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_3FC1DE0376C94C41E3983055414493C9" 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_F8547F65CCBE45E9BE7530554144DE0A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1677B719617D5E682B7A305541409426" xlink:to="loc_us-gaap_DebtInstrumentAxis_F8547F65CCBE45E9BE7530554144DE0A" 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_E99E73BB21D19E343AAF305541445134_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_F8547F65CCBE45E9BE7530554144DE0A" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_E99E73BB21D19E343AAF305541445134_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_E99E73BB21D19E343AAF305541445134" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_F8547F65CCBE45E9BE7530554144DE0A" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_E99E73BB21D19E343AAF305541445134" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_A2011LoanAgreementMember" xlink:label="loc_rubi_A2011LoanAgreementMember_EF756E80FC0731650A1E305541441549" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E99E73BB21D19E343AAF305541445134" xlink:to="loc_rubi_A2011LoanAgreementMember_EF756E80FC0731650A1E305541441549" 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_3757734DE526AE2DBF38305541458B10" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1677B719617D5E682B7A305541409426" xlink:to="loc_us-gaap_VariableRateAxis_3757734DE526AE2DBF38305541458B10" 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_EFAC5CFAF7879BF7913C30554145BC80_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_3757734DE526AE2DBF38305541458B10" xlink:to="loc_us-gaap_VariableRateDomain_EFAC5CFAF7879BF7913C30554145BC80_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_EFAC5CFAF7879BF7913C30554145BC80" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_3757734DE526AE2DBF38305541458B10" xlink:to="loc_us-gaap_VariableRateDomain_EFAC5CFAF7879BF7913C30554145BC80" 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_7DC50F9C2B226C48D8963055414565E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_EFAC5CFAF7879BF7913C30554145BC80" xlink:to="loc_us-gaap_PrimeRateMember_7DC50F9C2B226C48D8963055414565E2" 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_7CA1075C99EDECCD2ADD30554145E503" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_EFAC5CFAF7879BF7913C30554145BC80" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_7CA1075C99EDECCD2ADD30554145E503" 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_84BAD311D95E19F68EF930554146E4D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_59546E31F58B8428F60E305541459CED" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_84BAD311D95E19F68EF930554146E4D7" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_LineOfCreditFacilityBorrowingCapacityReserve" xlink:label="loc_rubi_LineOfCreditFacilityBorrowingCapacityReserve_D50DD830C086DCA4435A30554146CB6B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_59546E31F58B8428F60E305541459CED" xlink:to="loc_rubi_LineOfCreditFacilityBorrowingCapacityReserve_D50DD830C086DCA4435A30554146CB6B" 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_015DA375FB133C7AA579305541462D7D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_59546E31F58B8428F60E305541459CED" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_015DA375FB133C7AA579305541462D7D" 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_A2509C79AC6B84362D64305541469613" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_59546E31F58B8428F60E305541459CED" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_A2509C79AC6B84362D64305541469613" 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_621763AC626FAF1411C430554146B316" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_59546E31F58B8428F60E305541459CED" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_621763AC626FAF1411C430554146B316" 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_7BD9679F9F247F6D1A2D30554147DB5B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_59546E31F58B8428F60E305541459CED" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_7BD9679F9F247F6D1A2D30554147DB5B" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DebtInstrumentAdjustedQuickRatioRequirementInStreamlinePeriod" xlink:label="loc_rubi_DebtInstrumentAdjustedQuickRatioRequirementInStreamlinePeriod_EACD70534D7ECB65265C305541475B3B" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_59546E31F58B8428F60E305541459CED" xlink:to="loc_rubi_DebtInstrumentAdjustedQuickRatioRequirementInStreamlinePeriod_EACD70534D7ECB65265C305541475B3B" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DebtInstrumentAdjustedQuickRatioRequirement" xlink:label="loc_rubi_DebtInstrumentAdjustedQuickRatioRequirement_8E2A5E236CA47E2B223F308A2D0866AB" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_59546E31F58B8428F60E305541459CED" xlink:to="loc_rubi_DebtInstrumentAdjustedQuickRatioRequirement_8E2A5E236CA47E2B223F308A2D0866AB" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMaximum" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMaximum_3934825601D928E7FFA6305541478E43" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_59546E31F58B8428F60E305541459CED" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMaximum_3934825601D928E7FFA6305541478E43" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMinimum" xlink:label="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMinimum_0B482787EE53A01A534930928A7C903F" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_59546E31F58B8428F60E305541459CED" xlink:to="loc_rubi_DebtInstrumentCovenantComplianceAdjustedEarningsBeforeInterestTaxesDepreciationAndAmortizationMinimum_0B482787EE53A01A534930928A7C903F" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DebtInstrumentAdjustedQuickRatio" xlink:label="loc_rubi_DebtInstrumentAdjustedQuickRatio_06DF83F49BC1860217ED30554147A7A1" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_59546E31F58B8428F60E305541459CED" xlink:to="loc_rubi_DebtInstrumentAdjustedQuickRatio_06DF83F49BC1860217ED30554147A7A1" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_AdjustedEBITDAThreshold" xlink:label="loc_rubi_AdjustedEBITDAThreshold_E6F092DF54EF17A1B137305541470472" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_59546E31F58B8428F60E305541459CED" xlink:to="loc_rubi_AdjustedEBITDAThreshold_E6F092DF54EF17A1B137305541470472" 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_A5FD07BB3B6A5DAD8194724164B48719" 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_CE99377188EF5FF7A3E2FDC0A7595EAD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A5FD07BB3B6A5DAD8194724164B48719" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_CE99377188EF5FF7A3E2FDC0A7595EAD" 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_AE0305B1A20D5E1DB8BFF745CD03F53D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_CE99377188EF5FF7A3E2FDC0A7595EAD" xlink:to="loc_us-gaap_InvestmentTypeAxis_AE0305B1A20D5E1DB8BFF745CD03F53D" 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_818BB8A099E787F83EB6F3B97FED3E43_AFCE18063AF85EA4A331E0BA9F169440" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_AE0305B1A20D5E1DB8BFF745CD03F53D" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_818BB8A099E787F83EB6F3B97FED3E43_AFCE18063AF85EA4A331E0BA9F169440" 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_B6EF76EB20965EF281353CFE620D79A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_AE0305B1A20D5E1DB8BFF745CD03F53D" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_B6EF76EB20965EF281353CFE620D79A9" 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_D56B4183B2535ABB8CF0820B491EF355" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_B6EF76EB20965EF281353CFE620D79A9" xlink:to="loc_us-gaap_MoneyMarketFundsMember_D56B4183B2535ABB8CF0820B491EF355" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_00CD5813F8BC585DB31AB71F80636B0C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_B6EF76EB20965EF281353CFE620D79A9" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_00CD5813F8BC585DB31AB71F80636B0C" 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_AEC895707DF155119EFDB85DF2A0B903" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_B6EF76EB20965EF281353CFE620D79A9" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_AEC895707DF155119EFDB85DF2A0B903" 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_CB89EDC771A05212AD587CC76FE1519C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_CE99377188EF5FF7A3E2FDC0A7595EAD" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_CB89EDC771A05212AD587CC76FE1519C" 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_B1BD79111323544A7E6AF3B97FF0E229_AFCE18063AF85EA4A331E0BA9F169440" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_CB89EDC771A05212AD587CC76FE1519C" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_B1BD79111323544A7E6AF3B97FF0E229_AFCE18063AF85EA4A331E0BA9F169440" 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_5F797431568351B6A331521166481A11" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_CB89EDC771A05212AD587CC76FE1519C" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_5F797431568351B6A331521166481A11" 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_E7D47D83C9D4555D8ACB8DA274973D88" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_5F797431568351B6A331521166481A11" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_E7D47D83C9D4555D8ACB8DA274973D88" 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_A77845B43C6D5261A4F29CABADEC4D24" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_CE99377188EF5FF7A3E2FDC0A7595EAD" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_A77845B43C6D5261A4F29CABADEC4D24" 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_E447C76E64722697AC57F3B97FF1F3C5_AFCE18063AF85EA4A331E0BA9F169440" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_A77845B43C6D5261A4F29CABADEC4D24" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_E447C76E64722697AC57F3B97FF1F3C5_AFCE18063AF85EA4A331E0BA9F169440" 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_C57235AC161D57F9818629A4B77CBE6A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_A77845B43C6D5261A4F29CABADEC4D24" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C57235AC161D57F9818629A4B77CBE6A" 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_1AE02BB3BAE4508E9C8F8B771B127678" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C57235AC161D57F9818629A4B77CBE6A" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_1AE02BB3BAE4508E9C8F8B771B127678" 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_9929C5D710EF595B851935FB6D60B320" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C57235AC161D57F9818629A4B77CBE6A" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_9929C5D710EF595B851935FB6D60B320" 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_D40C802A7D4A5A0AB9767296CE09D00D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C57235AC161D57F9818629A4B77CBE6A" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_D40C802A7D4A5A0AB9767296CE09D00D" 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_CE9B7313895654ABADD7341C65BB3024" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A5FD07BB3B6A5DAD8194724164B48719" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_CE9B7313895654ABADD7341C65BB3024" 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_7C9A7BA8310951089EF65FD3C50D8F64" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A5FD07BB3B6A5DAD8194724164B48719" xlink:to="loc_us-gaap_AvailableForSaleSecurities_7C9A7BA8310951089EF65FD3C50D8F64" 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_C7E28A11DF5E7F356D602FFEBD020C36" 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_15DE055ADA5D91EF56D42FFEBCFB9C3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C7E28A11DF5E7F356D602FFEBD020C36" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_15DE055ADA5D91EF56D42FFEBCFB9C3A" 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_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_7313B4C6E3FD7554F43A301A1F29BB9F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_15DE055ADA5D91EF56D42FFEBCFB9C3A" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_7313B4C6E3FD7554F43A301A1F29BB9F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8C474076C5A12E7ADC17301A1F2AFD01_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_7313B4C6E3FD7554F43A301A1F29BB9F" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8C474076C5A12E7ADC17301A1F2AFD01_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8C474076C5A12E7ADC17301A1F2AFD01" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_7313B4C6E3FD7554F43A301A1F29BB9F" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8C474076C5A12E7ADC17301A1F2AFD01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMember" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMember_3E33404257F4FB131A71301361AC67E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8C474076C5A12E7ADC17301A1F2AFD01" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMember_3E33404257F4FB131A71301361AC67E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SoftwareDevelopmentMember" xlink:label="loc_us-gaap_SoftwareDevelopmentMember_733930B36974C7C61A9A3013A3F41FC8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8C474076C5A12E7ADC17301A1F2AFD01" xlink:to="loc_us-gaap_SoftwareDevelopmentMember_733930B36974C7C61A9A3013A3F41FC8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationTechniqueAxis" xlink:label="loc_us-gaap_ValuationTechniqueAxis_4857F953DB7A68B02E19300D8E9371A1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_15DE055ADA5D91EF56D42FFEBCFB9C3A" xlink:to="loc_us-gaap_ValuationTechniqueAxis_4857F953DB7A68B02E19300D8E9371A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationTechniqueDomain" xlink:label="loc_us-gaap_ValuationTechniqueDomain_07A1EB3E2BCD475DA0F8300D8E9A8298_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationTechniqueAxis_4857F953DB7A68B02E19300D8E9371A1" xlink:to="loc_us-gaap_ValuationTechniqueDomain_07A1EB3E2BCD475DA0F8300D8E9A8298_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationTechniqueDomain" xlink:label="loc_us-gaap_ValuationTechniqueDomain_07A1EB3E2BCD475DA0F8300D8E9A8298" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationTechniqueAxis_4857F953DB7A68B02E19300D8E9371A1" xlink:to="loc_us-gaap_ValuationTechniqueDomain_07A1EB3E2BCD475DA0F8300D8E9A8298" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeApproachValuationTechniqueMember" xlink:label="loc_us-gaap_IncomeApproachValuationTechniqueMember_85150191042C3D16A450300E2BF37167" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_07A1EB3E2BCD475DA0F8300D8E9A8298" xlink:to="loc_us-gaap_IncomeApproachValuationTechniqueMember_85150191042C3D16A450300E2BF37167" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MarketApproachValuationTechniqueMember" xlink:label="loc_us-gaap_MarketApproachValuationTechniqueMember_50062F17690402B667D8300DE68B3D28" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_07A1EB3E2BCD475DA0F8300D8E9A8298" xlink:to="loc_us-gaap_MarketApproachValuationTechniqueMember_50062F17690402B667D8300DE68B3D28" xlink:type="arc" />
    <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_5734D0E9EDEEF417A6A52FFEBCFBEC90" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_15DE055ADA5D91EF56D42FFEBCFB9C3A" xlink:to="loc_us-gaap_InvestmentTypeAxis_5734D0E9EDEEF417A6A52FFEBCFBEC90" 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_79273419B3408086C6492FFEBCFB0FA4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_5734D0E9EDEEF417A6A52FFEBCFBEC90" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_79273419B3408086C6492FFEBCFB0FA4_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_79273419B3408086C6492FFEBCFB0FA4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_5734D0E9EDEEF417A6A52FFEBCFBEC90" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_79273419B3408086C6492FFEBCFB0FA4" 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_DF900BAF1104C1C09FFC2FFEBCFCC7EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_79273419B3408086C6492FFEBCFB0FA4" xlink:to="loc_us-gaap_MoneyMarketFundsMember_DF900BAF1104C1C09FFC2FFEBCFCC7EF" 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_AD214E4F62ABF4C15DB82FFEBCFCA146" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_15DE055ADA5D91EF56D42FFEBCFB9C3A" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_AD214E4F62ABF4C15DB82FFEBCFCA146" 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_457787AFB7D5A8F0680C2FFEBCFC52FF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_AD214E4F62ABF4C15DB82FFEBCFCA146" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_457787AFB7D5A8F0680C2FFEBCFC52FF_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_457787AFB7D5A8F0680C2FFEBCFC52FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_AD214E4F62ABF4C15DB82FFEBCFCA146" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_457787AFB7D5A8F0680C2FFEBCFC52FF" 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_8FDBA4EF1F8D8CC714EA2FFEBD0258C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_457787AFB7D5A8F0680C2FFEBCFC52FF" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_8FDBA4EF1F8D8CC714EA2FFEBD0258C0" 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_8587F9DE65CBB86A4AE42FFEBD026033" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C7E28A11DF5E7F356D602FFEBD020C36" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_8587F9DE65CBB86A4AE42FFEBD026033" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsDiscountRate" xlink:label="loc_us-gaap_FairValueInputsDiscountRate_EAAFC035D2DC9B3D73213009D2B2530C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C7E28A11DF5E7F356D602FFEBD020C36" xlink:to="loc_us-gaap_FairValueInputsDiscountRate_EAAFC035D2DC9B3D73213009D2B2530C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsControlPremium" xlink:label="loc_us-gaap_FairValueInputsControlPremium_55E5AB48050B2796D774300B75E964EA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C7E28A11DF5E7F356D602FFEBD020C36" xlink:to="loc_us-gaap_FairValueInputsControlPremium_55E5AB48050B2796D774300B75E964EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsEarningsBeforeInterestTaxesDepreciationAndAmortizationMultiple" xlink:label="loc_us-gaap_FairValueInputsEarningsBeforeInterestTaxesDepreciationAndAmortizationMultiple_89C79A74DDE0560C810F300B1946EE00" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C7E28A11DF5E7F356D602FFEBD020C36" xlink:to="loc_us-gaap_FairValueInputsEarningsBeforeInterestTaxesDepreciationAndAmortizationMultiple_89C79A74DDE0560C810F300B1946EE00" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GoodwillImpairmentLoss" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_42C3200A2F0A27EE85903009C1A69184" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C7E28A11DF5E7F356D602FFEBD020C36" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_42C3200A2F0A27EE85903009C1A69184" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_A35DE0AA581FFAD80DAB3011C355FF7F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C7E28A11DF5E7F356D602FFEBD020C36" xlink:to="loc_us-gaap_Goodwill_A35DE0AA581FFAD80DAB3011C355FF7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetImpairmentCharges" xlink:label="loc_us-gaap_AssetImpairmentCharges_874992636F0E7CC95AE2300C85E8E6B4" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C7E28A11DF5E7F356D602FFEBD020C36" xlink:to="loc_us-gaap_AssetImpairmentCharges_874992636F0E7CC95AE2300C85E8E6B4" 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/GoodwillAndIntangibleAssets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsFiniteLivedIntangibleAssetsDetails" 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_6594B8E433F13A4F6B2912DFD7CDE9AC" 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_E7C70A1BB990DA83EFE112DFD7CC1643" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6594B8E433F13A4F6B2912DFD7CDE9AC" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_E7C70A1BB990DA83EFE112DFD7CC1643" 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_7873F53BEADE9377189B12DFD7CCFA58" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_E7C70A1BB990DA83EFE112DFD7CC1643" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7873F53BEADE9377189B12DFD7CCFA58" 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_9E69C4D1EF7643B531B612DFD7CDBF1B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7873F53BEADE9377189B12DFD7CCFA58" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9E69C4D1EF7643B531B612DFD7CDBF1B_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_9E69C4D1EF7643B531B612DFD7CDBF1B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7873F53BEADE9377189B12DFD7CCFA58" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9E69C4D1EF7643B531B612DFD7CDBF1B" 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_68524482465A81D82C4312DFD7CDE3EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9E69C4D1EF7643B531B612DFD7CDBF1B" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_68524482465A81D82C4312DFD7CDE3EE" 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_7A8AD1345C7A54F0507012DFD7CDF396" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9E69C4D1EF7643B531B612DFD7CDBF1B" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_7A8AD1345C7A54F0507012DFD7CDF396" 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_967A7D5E9D30ACEDF86412DFD7CD3CAB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9E69C4D1EF7643B531B612DFD7CDBF1B" xlink:to="loc_us-gaap_TrademarksMember_967A7D5E9D30ACEDF86412DFD7CD3CAB" 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_95A02B9B4799C92D509412DFD7CE0D51" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6594B8E433F13A4F6B2912DFD7CDE9AC" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_95A02B9B4799C92D509412DFD7CE0D51" 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_CB56DAAFCC2CD0718AF012DFD7CED069" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6594B8E433F13A4F6B2912DFD7CDE9AC" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_CB56DAAFCC2CD0718AF012DFD7CED069" 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_36CBEF2A2513023FA3BA12DFD7CE203B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6594B8E433F13A4F6B2912DFD7CDE9AC" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_36CBEF2A2513023FA3BA12DFD7CE203B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsGoodwillActivityDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsNarrativeDetails" 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_5B1CF0C1F267AEFBAFE830432438C15A" 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_CF7E3F94339012B3FB1B3043241FE071" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5B1CF0C1F267AEFBAFE830432438C15A" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_CF7E3F94339012B3FB1B3043241FE071" 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_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_E9FAC4859CE86DC43B243042594D94E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_CF7E3F94339012B3FB1B3043241FE071" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_E9FAC4859CE86DC43B243042594D94E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7383A5895F8736BC7F2D3042594F7AC7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_E9FAC4859CE86DC43B243042594D94E2" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7383A5895F8736BC7F2D3042594F7AC7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7383A5895F8736BC7F2D3042594F7AC7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_E9FAC4859CE86DC43B243042594D94E2" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7383A5895F8736BC7F2D3042594F7AC7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMember" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMember_9A16DAF38D839C24BD7230432475B50B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7383A5895F8736BC7F2D3042594F7AC7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMember_9A16DAF38D839C24BD7230432475B50B" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_NetAssetCarryingValuePriortoImpairment" xlink:label="loc_rubi_NetAssetCarryingValuePriortoImpairment_F69CC583D5F8F86FEA4D303E0A419B66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5B1CF0C1F267AEFBAFE830432438C15A" xlink:to="loc_rubi_NetAssetCarryingValuePriortoImpairment_F69CC583D5F8F86FEA4D303E0A419B66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GoodwillImpairmentLoss" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_7C3F39976C56FD708BF0303E0A41A2FD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5B1CF0C1F267AEFBAFE830432438C15A" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_7C3F39976C56FD708BF0303E0A41A2FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_DF4BB3DD8D53D7771493303E0A413DEB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5B1CF0C1F267AEFBAFE830432438C15A" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_DF4BB3DD8D53D7771493303E0A413DEB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetImpairmentCharges" xlink:label="loc_us-gaap_AssetImpairmentCharges_821EB8667BD9CF693221303E0A4115DB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5B1CF0C1F267AEFBAFE830432438C15A" xlink:to="loc_us-gaap_AssetImpairmentCharges_821EB8667BD9CF693221303E0A4115DB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/GoodwillAndIntangibleAssetsTables" 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/IncomeTaxesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardLineItems" xlink:label="loc_us-gaap_TaxCreditCarryforwardLineItems_BDD2BEC64A67180A2F3630C3737124FE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardTable" xlink:label="loc_us-gaap_TaxCreditCarryforwardTable_98FAF687DEDB3609E7E630C3736F2F5B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_BDD2BEC64A67180A2F3630C3737124FE" xlink:to="loc_us-gaap_TaxCreditCarryforwardTable_98FAF687DEDB3609E7E630C3736F2F5B" 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_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_1F73553C3D8441602DA830C3736FB027" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TaxCreditCarryforwardTable_98FAF687DEDB3609E7E630C3736F2F5B" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_1F73553C3D8441602DA830C3736FB027" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_531451CAC51841CF54C230C373705B39_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_1F73553C3D8441602DA830C3736FB027" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_531451CAC51841CF54C230C373705B39_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_531451CAC51841CF54C230C373705B39" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_1F73553C3D8441602DA830C3736FB027" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_531451CAC51841CF54C230C373705B39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCountryMember" xlink:label="loc_us-gaap_ForeignCountryMember_710CC3B2E063DC7C802A30C373708E41" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_531451CAC51841CF54C230C373705B39" xlink:to="loc_us-gaap_ForeignCountryMember_710CC3B2E063DC7C802A30C373708E41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DomesticCountryMember" xlink:label="loc_us-gaap_DomesticCountryMember_9EE69C44042674B64A4B30C373714EE5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_531451CAC51841CF54C230C373705B39" xlink:to="loc_us-gaap_DomesticCountryMember_9EE69C44042674B64A4B30C373714EE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_9B81B73AC0167975FA5030C373716E34" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_531451CAC51841CF54C230C373705B39" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_9B81B73AC0167975FA5030C373716E34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_5DF85A84285DA07C732830C373712962" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_BDD2BEC64A67180A2F3630C3737124FE" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_5DF85A84285DA07C732830C373712962" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_ADEA4D602026BEDEF46D30C3737435FF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_8DC711F95DA68838C3D630C37372FB17" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_ADEA4D602026BEDEF46D30C3737435FF" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_8DC711F95DA68838C3D630C37372FB17" 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_TaxCreditCarryforwardAxis" xlink:label="loc_us-gaap_TaxCreditCarryforwardAxis_DF071D2EB524B42AC70830C373729C73" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_8DC711F95DA68838C3D630C37372FB17" xlink:to="loc_us-gaap_TaxCreditCarryforwardAxis_DF071D2EB524B42AC70830C373729C73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_1E40E75672DC3776043C30C373728EDE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_DF071D2EB524B42AC70830C373729C73" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_1E40E75672DC3776043C30C373728EDE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_1E40E75672DC3776043C30C373728EDE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_DF071D2EB524B42AC70830C373729C73" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_1E40E75672DC3776043C30C373728EDE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchMember" xlink:label="loc_us-gaap_ResearchMember_F4DDB33A79CB5D8B9D6530C3737227A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_1E40E75672DC3776043C30C373728EDE" xlink:to="loc_us-gaap_ResearchMember_F4DDB33A79CB5D8B9D6530C3737227A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_326E5CC59B6663CFB8AF30C373737A40" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_8DC711F95DA68838C3D630C37372FB17" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_326E5CC59B6663CFB8AF30C373737A40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_115B5734F8BF168ACCD730C37374C8FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_ADEA4D602026BEDEF46D30C3737435FF" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_115B5734F8BF168ACCD730C37374C8FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="loc_us-gaap_OperatingLossCarryforwards_AE08FFA9EA8413AF65DE30C373745201" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_ADEA4D602026BEDEF46D30C3737435FF" xlink:to="loc_us-gaap_OperatingLossCarryforwards_AE08FFA9EA8413AF65DE30C373745201" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxCreditCarryforwardAmount" xlink:label="loc_us-gaap_TaxCreditCarryforwardAmount_D9C09B8AD4F94704EA8230C373756899" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_ADEA4D602026BEDEF46D30C3737435FF" xlink:to="loc_us-gaap_TaxCreditCarryforwardAmount_D9C09B8AD4F94704EA8230C373756899" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxesComponentsOfIncomeTaxExpenseBenefitDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxesEffectiveIncomeTaxRateReconciliationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxesIncomeBeforeIncomeTaxDomesticAndForeignDetails" 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/IncomeTaxesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/InternalUseSoftwareDevelopmentCosts" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/InternalUseSoftwareDevelopmentCostsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/InternalUseSoftwareDevelopmentCostsNarrativeDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/InternalUseSoftwareDevelopmentCostsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/InvestmentsInvestmentsInMarketableSecuritiesDetails" 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_F0421EF7D123358E55781B0782AFF0AF" 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_D1FC367A0E29F8E728251B0782ADAD80" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_F0421EF7D123358E55781B0782AFF0AF" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_D1FC367A0E29F8E728251B0782ADAD80" 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_42524066E85AA58478361B0782AD8BBD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_D1FC367A0E29F8E728251B0782ADAD80" xlink:to="loc_us-gaap_InvestmentTypeAxis_42524066E85AA58478361B0782AD8BBD" 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_7D6B0FA77EB8B6C761D81B0782AEE32D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_42524066E85AA58478361B0782AD8BBD" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_7D6B0FA77EB8B6C761D81B0782AEE32D_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_7D6B0FA77EB8B6C761D81B0782AEE32D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_42524066E85AA58478361B0782AD8BBD" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_7D6B0FA77EB8B6C761D81B0782AEE32D" 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_80D04DFA20A27B5CECBD1B0782AEDC36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_7D6B0FA77EB8B6C761D81B0782AEE32D" xlink:to="loc_us-gaap_ShortTermInvestmentsMember_80D04DFA20A27B5CECBD1B0782AEDC36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLongTermInvestmentsMember" xlink:label="loc_us-gaap_OtherLongTermInvestmentsMember_7E2674ED6E5E2C0BBBA41B0782AE9B41" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_7D6B0FA77EB8B6C761D81B0782AEE32D" xlink:to="loc_us-gaap_OtherLongTermInvestmentsMember_7E2674ED6E5E2C0BBBA41B0782AE9B41" 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_561E0EBFFD8EFFFBCAEE1B0782AE8D77" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_D1FC367A0E29F8E728251B0782ADAD80" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_561E0EBFFD8EFFFBCAEE1B0782AE8D77" 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_7D5E27A00A2E3D8299551B0782AFF32C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_561E0EBFFD8EFFFBCAEE1B0782AE8D77" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_7D5E27A00A2E3D8299551B0782AFF32C_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_7D5E27A00A2E3D8299551B0782AFF32C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_561E0EBFFD8EFFFBCAEE1B0782AE8D77" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_7D5E27A00A2E3D8299551B0782AFF32C" 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_F401078C983DBDB622B31B0782AF46E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_7D5E27A00A2E3D8299551B0782AFF32C" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_F401078C983DBDB622B31B0782AF46E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_5D81CC77A73889177CA11B0782AFB855" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_7D5E27A00A2E3D8299551B0782AFF32C" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_5D81CC77A73889177CA11B0782AFB855" 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_5EB956B02D23302A10FD1B0782B07DF6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_F0421EF7D123358E55781B0782AFF0AF" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_5EB956B02D23302A10FD1B0782B07DF6" 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_C378227BE4C25FB8E2A81B0782B0AE56" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_F0421EF7D123358E55781B0782AFF0AF" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_C378227BE4C25FB8E2A81B0782B0AE56" 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_3373E39B36F4C8DD72F31B0782B04D21" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_F0421EF7D123358E55781B0782AFF0AF" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_3373E39B36F4C8DD72F31B0782B04D21" 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_4BACFB9A09A6A28659EF1B0782B0461D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_F0421EF7D123358E55781B0782AFF0AF" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_4BACFB9A09A6A28659EF1B0782B0461D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/InvestmentsInvestmentsNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/InvestmentsNarrativeDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/InvestmentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/NatureOfOperations" 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_76DCBBA89B9D5F8A9F92EF8E0D2EEDCD" 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_CF22F5D4C5C354E2AC5ED8766BB35143" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_76DCBBA89B9D5F8A9F92EF8E0D2EEDCD" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_CF22F5D4C5C354E2AC5ED8766BB35143" 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_364F64BE456B5A15A00C842F6499EEEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_CF22F5D4C5C354E2AC5ED8766BB35143" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_364F64BE456B5A15A00C842F6499EEEF" 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_075CCC70C993C2D292280397838B7FB3_E376309555345B4DB455209C5621334B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_364F64BE456B5A15A00C842F6499EEEF" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_075CCC70C993C2D292280397838B7FB3_E376309555345B4DB455209C5621334B" 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_470EEC89BE825F0E8A795DC7C21C96FA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_364F64BE456B5A15A00C842F6499EEEF" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_470EEC89BE825F0E8A795DC7C21C96FA" 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_9E6FE31928625315A841E677B08158F3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_470EEC89BE825F0E8A795DC7C21C96FA" xlink:to="loc_us-gaap_StockOptionMember_9E6FE31928625315A841E677B08158F3" 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_CE4B75DDFF365532A0D4111639E094EA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_470EEC89BE825F0E8A795DC7C21C96FA" xlink:to="loc_us-gaap_RestrictedStockMember_CE4B75DDFF365532A0D4111639E094EA" 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_EE06EE64718E5699829EE8CF1E6700A7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_470EEC89BE825F0E8A795DC7C21C96FA" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_EE06EE64718E5699829EE8CF1E6700A7" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_EmployeeStockPurchasePlanMember" xlink:label="loc_rubi_EmployeeStockPurchasePlanMember_73B8595B412E5A03AC15C9953F9AD52F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_470EEC89BE825F0E8A795DC7C21C96FA" xlink:to="loc_rubi_EmployeeStockPurchasePlanMember_73B8595B412E5A03AC15C9953F9AD52F" 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_1E6D3BCD37655E69A0A0FEFC86ED672D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_76DCBBA89B9D5F8A9F92EF8E0D2EEDCD" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_1E6D3BCD37655E69A0A0FEFC86ED672D" 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/OrganizationAndSummaryOfSignificantAccountingPoliciesIntangibleAssetsDetails" 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_5DC7EC4AACBB9274BA1E131C81647736" 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_730913A658766F7ABC63131C81643B8C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5DC7EC4AACBB9274BA1E131C81647736" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_730913A658766F7ABC63131C81643B8C" 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_CF1C6C4D4FED8D6A4F0D131D8DC7AB68" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_730913A658766F7ABC63131C81643B8C" xlink:to="loc_us-gaap_RangeAxis_CF1C6C4D4FED8D6A4F0D131D8DC7AB68" 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_2BCE73D69DEF14F40C44131D8DCE4958_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_CF1C6C4D4FED8D6A4F0D131D8DC7AB68" xlink:to="loc_us-gaap_RangeMember_2BCE73D69DEF14F40C44131D8DCE4958_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_2BCE73D69DEF14F40C44131D8DCE4958" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_CF1C6C4D4FED8D6A4F0D131D8DC7AB68" xlink:to="loc_us-gaap_RangeMember_2BCE73D69DEF14F40C44131D8DCE4958" 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_1B019F90479C46020004131E74DA216F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_2BCE73D69DEF14F40C44131D8DCE4958" xlink:to="loc_us-gaap_MinimumMember_1B019F90479C46020004131E74DA216F" 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_3C49D85A82790B14C45E131DEC54397D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_2BCE73D69DEF14F40C44131D8DCE4958" xlink:to="loc_us-gaap_MaximumMember_3C49D85A82790B14C45E131DEC54397D" xlink:type="arc" />
    <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_4FE0414DCB260883F3A7131D65B84EB0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_730913A658766F7ABC63131C81643B8C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_4FE0414DCB260883F3A7131D65B84EB0" 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_B172F1DDE0E59A1CF3FE131D65CDB631_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_4FE0414DCB260883F3A7131D65B84EB0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B172F1DDE0E59A1CF3FE131D65CDB631_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_B172F1DDE0E59A1CF3FE131D65CDB631" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_4FE0414DCB260883F3A7131D65B84EB0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B172F1DDE0E59A1CF3FE131D65CDB631" 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_8D1657C9AB60D59CD7EB131F715825C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B172F1DDE0E59A1CF3FE131D65CDB631" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_8D1657C9AB60D59CD7EB131F715825C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_56AC8BFAD8A46F3DFA2B131FACCCD8F9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B172F1DDE0E59A1CF3FE131D65CDB631" xlink:to="loc_us-gaap_CustomerRelationshipsMember_56AC8BFAD8A46F3DFA2B131FACCCD8F9" 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_C57C6F05CCC7FB453851131FE5F7805F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B172F1DDE0E59A1CF3FE131D65CDB631" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_C57C6F05CCC7FB453851131FE5F7805F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_D02D07E672B7795C5B7913202596EC6B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B172F1DDE0E59A1CF3FE131D65CDB631" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_D02D07E672B7795C5B7913202596EC6B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_61BD92C32765BD775C0F131C996B3D8D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5DC7EC4AACBB9274BA1E131C81647736" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_61BD92C32765BD775C0F131C996B3D8D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskLineItems" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_90C69E85D83A38438BCF2FE99800CC4F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTable" xlink:label="loc_us-gaap_ConcentrationRiskTable_157C008BFA464F21E5482FE997FE044D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_90C69E85D83A38438BCF2FE99800CC4F" xlink:to="loc_us-gaap_ConcentrationRiskTable_157C008BFA464F21E5482FE997FE044D" 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_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_F0BE49A01AB556A95B262FE997FEDE6F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_157C008BFA464F21E5482FE997FE044D" xlink:to="loc_us-gaap_MajorCustomersAxis_F0BE49A01AB556A95B262FE997FEDE6F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_0DDEBB503C3FB8FF41C82FE997FFA6B2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_F0BE49A01AB556A95B262FE997FEDE6F" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_0DDEBB503C3FB8FF41C82FE997FFA6B2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_0DDEBB503C3FB8FF41C82FE997FFA6B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_F0BE49A01AB556A95B262FE997FEDE6F" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_0DDEBB503C3FB8FF41C82FE997FFA6B2" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_CustomerOneMember" xlink:label="loc_rubi_CustomerOneMember_67AB90ABAC289A0A817D2FE997FFE764" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_0DDEBB503C3FB8FF41C82FE997FFA6B2" xlink:to="loc_rubi_CustomerOneMember_67AB90ABAC289A0A817D2FE997FFE764" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_CustomerTwoMember" xlink:label="loc_rubi_CustomerTwoMember_5B9B1274ADE2F272A8AA2FE997FFC05D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_0DDEBB503C3FB8FF41C82FE997FFA6B2" xlink:to="loc_rubi_CustomerTwoMember_5B9B1274ADE2F272A8AA2FE997FFC05D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_94DB86EB496B6222C5952FE997FFFBE6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_157C008BFA464F21E5482FE997FE044D" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_94DB86EB496B6222C5952FE997FFFBE6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_62F26558E8F2060B568A2FE998000622_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_94DB86EB496B6222C5952FE997FFFBE6" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_62F26558E8F2060B568A2FE998000622_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_62F26558E8F2060B568A2FE998000622" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_94DB86EB496B6222C5952FE997FFFBE6" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_62F26558E8F2060B568A2FE998000622" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CustomerConcentrationRiskMember" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_2D6E7C4C2473CC79A71E2FE998006037" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_62F26558E8F2060B568A2FE998000622" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_2D6E7C4C2473CC79A71E2FE998006037" 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_6771F7E2A27BE37CFB742FE998065F8F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_90C69E85D83A38438BCF2FE99800CC4F" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_6771F7E2A27BE37CFB742FE998065F8F" 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/OrganizationAndSummaryOfSignificantAccountingPoliciesPropertyAndEquipmentDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_ECD383850520EEEAD19E2B95B92EDF0D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_FC18D9DAC6B715215A1E2B95B92C34A0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_ECD383850520EEEAD19E2B95B92EDF0D" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_FC18D9DAC6B715215A1E2B95B92C34A0" 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_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4D78C224D6597AE9FA682B95B92C0702" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_FC18D9DAC6B715215A1E2B95B92C34A0" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4D78C224D6597AE9FA682B95B92C0702" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_8D43864CBFF57D85399A2B95B92DC122_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4D78C224D6597AE9FA682B95B92C0702" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_8D43864CBFF57D85399A2B95B92DC122_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_8D43864CBFF57D85399A2B95B92DC122" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4D78C224D6597AE9FA682B95B92C0702" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_8D43864CBFF57D85399A2B95B92DC122" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_A69074B75993F0731F032B95B92D57CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_8D43864CBFF57D85399A2B95B92DC122" xlink:to="loc_us-gaap_ComputerEquipmentMember_A69074B75993F0731F032B95B92D57CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_492D7A7B88E88C8D5C532B95B92D9A76" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_8D43864CBFF57D85399A2B95B92DC122" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_492D7A7B88E88C8D5C532B95B92D9A76" xlink:type="arc" />
    <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_ED0E6F3E925AA4137D782B95B92DF5CE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_FC18D9DAC6B715215A1E2B95B92C34A0" xlink:to="loc_us-gaap_RangeAxis_ED0E6F3E925AA4137D782B95B92DF5CE" 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_BE4587AAD58CC1B381CC2B95B92E24F5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_ED0E6F3E925AA4137D782B95B92DF5CE" xlink:to="loc_us-gaap_RangeMember_BE4587AAD58CC1B381CC2B95B92E24F5_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_BE4587AAD58CC1B381CC2B95B92E24F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_ED0E6F3E925AA4137D782B95B92DF5CE" xlink:to="loc_us-gaap_RangeMember_BE4587AAD58CC1B381CC2B95B92E24F5" 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_94AD19BA656832EA54852B95B92E1E23" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_BE4587AAD58CC1B381CC2B95B92E24F5" xlink:to="loc_us-gaap_MinimumMember_94AD19BA656832EA54852B95B92E1E23" 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_0AFB6A1CE94E6C947AFF2B95B92E08D8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_BE4587AAD58CC1B381CC2B95B92E24F5" xlink:to="loc_us-gaap_MaximumMember_0AFB6A1CE94E6C947AFF2B95B92E08D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GoodwillImpairmentLoss" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_0C70D6562DC68B1E8EBB2B95B92FB6DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_ECD383850520EEEAD19E2B95B92EDF0D" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_0C70D6562DC68B1E8EBB2B95B92FB6DA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_F510DC2B985018576FC32B95B92FDC4D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_ECD383850520EEEAD19E2B95B92EDF0D" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_F510DC2B985018576FC32B95B92FDC4D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/PropertyAndEquipment" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/PropertyAndEquipmentDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_722A64F0E68FF1724C7F12DFD6FCEB80" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_3E2342DC3928974AC30912DFD6FAE781" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_722A64F0E68FF1724C7F12DFD6FCEB80" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_3E2342DC3928974AC30912DFD6FAE781" 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_77E82607AE359448CCF4135ACFAC8CE0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_3E2342DC3928974AC30912DFD6FAE781" xlink:to="loc_us-gaap_StatementGeographicalAxis_77E82607AE359448CCF4135ACFAC8CE0" 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_C4734C921FA3E9C6617B135ACFBA147D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_77E82607AE359448CCF4135ACFAC8CE0" xlink:to="loc_us-gaap_SegmentGeographicalDomain_C4734C921FA3E9C6617B135ACFBA147D_default" 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_C4734C921FA3E9C6617B135ACFBA147D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_77E82607AE359448CCF4135ACFAC8CE0" xlink:to="loc_us-gaap_SegmentGeographicalDomain_C4734C921FA3E9C6617B135ACFBA147D" 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_0EB89E4F31FAC5B17E64135B403D9CD4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_C4734C921FA3E9C6617B135ACFBA147D" xlink:to="loc_country_US_0EB89E4F31FAC5B17E64135B403D9CD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonUsMember" xlink:label="loc_us-gaap_NonUsMember_5C0F5E87E7A2229A91F3135B7E4775C8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_C4734C921FA3E9C6617B135ACFBA147D" xlink:to="loc_us-gaap_NonUsMember_5C0F5E87E7A2229A91F3135B7E4775C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_32684E894D4F8579F2EF12DFD6FB26DE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_3E2342DC3928974AC30912DFD6FAE781" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_32684E894D4F8579F2EF12DFD6FB26DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_03FD35219CB779A6BB8712DFD6FB4CCD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_32684E894D4F8579F2EF12DFD6FB26DE" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_03FD35219CB779A6BB8712DFD6FB4CCD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_03FD35219CB779A6BB8712DFD6FB4CCD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_32684E894D4F8579F2EF12DFD6FB26DE" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_03FD35219CB779A6BB8712DFD6FB4CCD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_D746163823D6A5737A6C12DFD6FBA412" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_03FD35219CB779A6BB8712DFD6FB4CCD" xlink:to="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_D746163823D6A5737A6C12DFD6FBA412" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_AB4EA1881BFFD1DD5D1012DFD6FC0E4D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_03FD35219CB779A6BB8712DFD6FB4CCD" xlink:to="loc_us-gaap_ComputerEquipmentMember_AB4EA1881BFFD1DD5D1012DFD6FC0E4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_B0FA70EE17FAD480FEC412DFD6FC02CA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_03FD35219CB779A6BB8712DFD6FB4CCD" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_B0FA70EE17FAD480FEC412DFD6FC02CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_A88E2579C9DE25C888CA12DFD6FCC455" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_03FD35219CB779A6BB8712DFD6FB4CCD" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_A88E2579C9DE25C888CA12DFD6FCC455" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_21555B250D233BAF31D812DFD6FC9743" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_722A64F0E68FF1724C7F12DFD6FCEB80" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_21555B250D233BAF31D812DFD6FC9743" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_25C9B10F5633A0BEA03012DFD6FDE6C8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_722A64F0E68FF1724C7F12DFD6FCEB80" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_25C9B10F5633A0BEA03012DFD6FDE6C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_2C34203D262C0F9440EE12DFD6FD91E4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_722A64F0E68FF1724C7F12DFD6FCEB80" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_2C34203D262C0F9440EE12DFD6FD91E4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/PropertyAndEquipmentNarrativeDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/PropertyAndEquipmentTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/QuarterlyFinancialDataUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/QuarterlyFinancialDataUnauditedDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/QuarterlyFinancialDataUnauditedTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RelatedPartyTransaction" 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/RestructuringAndOtherExitCostsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_754696EB3D09E56AA7F5305541A3C675" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_EB39B33DF5E14E763CA5305541A17FF4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_754696EB3D09E56AA7F5305541A3C675" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_EB39B33DF5E14E763CA5305541A17FF4" 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_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_9F77F5A884BC6CDEA560305541A2E5B4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_EB39B33DF5E14E763CA5305541A17FF4" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_9F77F5A884BC6CDEA560305541A2E5B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_640087241D5C62E5286A305541A25921_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_9F77F5A884BC6CDEA560305541A2E5B4" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_640087241D5C62E5286A305541A25921_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_640087241D5C62E5286A305541A25921" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_9F77F5A884BC6CDEA560305541A2E5B4" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_640087241D5C62E5286A305541A25921" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_NoncashStockBasedCompensationMember" xlink:label="loc_rubi_NoncashStockBasedCompensationMember_D2D0A42B465B0B2F383F305541A23527" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_640087241D5C62E5286A305541A25921" xlink:to="loc_rubi_NoncashStockBasedCompensationMember_D2D0A42B465B0B2F383F305541A23527" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_47CB8766BEC0E5A87606305541A2DE57" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_EB39B33DF5E14E763CA5305541A17FF4" xlink:to="loc_us-gaap_RestructuringPlanAxis_47CB8766BEC0E5A87606305541A2DE57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_4741C6F1E2E4BB26F5F3305541A3EFE3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_47CB8766BEC0E5A87606305541A2DE57" xlink:to="loc_us-gaap_RestructuringPlanDomain_4741C6F1E2E4BB26F5F3305541A3EFE3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_4741C6F1E2E4BB26F5F3305541A3EFE3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_47CB8766BEC0E5A87606305541A2DE57" xlink:to="loc_us-gaap_RestructuringPlanDomain_4741C6F1E2E4BB26F5F3305541A3EFE3" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_The2017RestructuringEventsMember" xlink:label="loc_rubi_The2017RestructuringEventsMember_9F36CE699FE22131BB96305541A365FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_4741C6F1E2E4BB26F5F3305541A3EFE3" xlink:to="loc_rubi_The2017RestructuringEventsMember_9F36CE699FE22131BB96305541A365FF" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_The2018RestructuringEventsMember" xlink:label="loc_rubi_The2018RestructuringEventsMember_AE8F84720D95CB8EEEB4305541A352A8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_4741C6F1E2E4BB26F5F3305541A3EFE3" xlink:to="loc_rubi_The2018RestructuringEventsMember_AE8F84720D95CB8EEEB4305541A352A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_6ECE0E7CF2411E79CC4E305541A4D0B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_754696EB3D09E56AA7F5305541A3C675" xlink:to="loc_us-gaap_RestructuringCharges_6ECE0E7CF2411E79CC4E305541A4D0B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_927972D56C14BEAB2FAA305541A4EE13" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_754696EB3D09E56AA7F5305541A3C675" xlink:to="loc_us-gaap_RestructuringReserve_927972D56C14BEAB2FAA305541A4EE13" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/RestructuringAndOtherExitCostsScheduleOfRestructuringAndOtherExitCostsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_DB80BAE5549FEAE637F730C373CA3360" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_EBB321CDEC411B2774E230C373C85002" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_DB80BAE5549FEAE637F730C373CA3360" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_EBB321CDEC411B2774E230C373C85002" 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_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_E4AD57584AA79B7E71CA30C373C8082C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_EBB321CDEC411B2774E230C373C85002" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_E4AD57584AA79B7E71CA30C373C8082C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_B1041E8FF7FC68B622BF30C373C860EF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_E4AD57584AA79B7E71CA30C373C8082C" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_B1041E8FF7FC68B622BF30C373C860EF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_B1041E8FF7FC68B622BF30C373C860EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_E4AD57584AA79B7E71CA30C373C8082C" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_B1041E8FF7FC68B622BF30C373C860EF" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_NoncashStockBasedCompensationMember" xlink:label="loc_rubi_NoncashStockBasedCompensationMember_1C62F22295FB687EE01E30C373C8BB23" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_B1041E8FF7FC68B622BF30C373C860EF" xlink:to="loc_rubi_NoncashStockBasedCompensationMember_1C62F22295FB687EE01E30C373C8BB23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_7B3BF4936B75A4667F4130C373C91BBE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_EBB321CDEC411B2774E230C373C85002" xlink:to="loc_us-gaap_RestructuringPlanAxis_7B3BF4936B75A4667F4130C373C91BBE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_15B5BA90CE5A5DABA46830C373C9E1DA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_7B3BF4936B75A4667F4130C373C91BBE" xlink:to="loc_us-gaap_RestructuringPlanDomain_15B5BA90CE5A5DABA46830C373C9E1DA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_15B5BA90CE5A5DABA46830C373C9E1DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_7B3BF4936B75A4667F4130C373C91BBE" xlink:to="loc_us-gaap_RestructuringPlanDomain_15B5BA90CE5A5DABA46830C373C9E1DA" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_The2018RestructuringEventsMember" xlink:label="loc_rubi_The2018RestructuringEventsMember_8253ADFC736F27BC03BB30C373C97AF4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_15B5BA90CE5A5DABA46830C373C9E1DA" xlink:to="loc_rubi_The2018RestructuringEventsMember_8253ADFC736F27BC03BB30C373C97AF4" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_The2017RestructuringEventsMember" xlink:label="loc_rubi_The2017RestructuringEventsMember_17D690373094EDEB5BA530C373CA0320" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_15B5BA90CE5A5DABA46830C373C9E1DA" xlink:to="loc_rubi_The2017RestructuringEventsMember_17D690373094EDEB5BA530C373CA0320" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_B74781A3583AF4BD97C130C373CA039A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_DB80BAE5549FEAE637F730C373CA3360" xlink:to="loc_us-gaap_RestructuringReserveRollForward_B74781A3583AF4BD97C130C373CA039A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_9D507300A8FC7497304F30C373CAC2FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_B74781A3583AF4BD97C130C373CA039A" xlink:to="loc_us-gaap_RestructuringReserve_9D507300A8FC7497304F30C373CAC2FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_7BC7174D0BC1649B686130C373CBEFF8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_B74781A3583AF4BD97C130C373CA039A" xlink:to="loc_us-gaap_RestructuringCharges_7BC7174D0BC1649B686130C373CBEFF8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_C99954AD2AC21B9F97EB30C373CB11A8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_B74781A3583AF4BD97C130C373CA039A" xlink:to="loc_us-gaap_PaymentsForRestructuring_C99954AD2AC21B9F97EB30C373CB11A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SeveranceCosts1" xlink:label="loc_us-gaap_SeveranceCosts1_A4CB74FDE330A5A99E4930C373CCF0DD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_DB80BAE5549FEAE637F730C373CA3360" xlink:to="loc_us-gaap_SeveranceCosts1_A4CB74FDE330A5A99E4930C373CCF0DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessExitCosts1" xlink:label="loc_us-gaap_BusinessExitCosts1_501C69B348DB201E750330C373CC837F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_DB80BAE5549FEAE637F730C373CA3360" xlink:to="loc_us-gaap_BusinessExitCosts1_501C69B348DB201E750330C373CC837F" xlink:type="arc" />
  </link:definitionLink>
  <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: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_0505FD74BE8CD5FAB67612DFD809CF0B" 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_504607AC0628EDBA09B212DFD8070EAE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0505FD74BE8CD5FAB67612DFD809CF0B" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_504607AC0628EDBA09B212DFD8070EAE" 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_ProductOrServiceAxis" xlink:label="loc_us-gaap_ProductOrServiceAxis_70C3370009CBBB2092E512DFD8086AB1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_504607AC0628EDBA09B212DFD8070EAE" xlink:to="loc_us-gaap_ProductOrServiceAxis_70C3370009CBBB2092E512DFD8086AB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_C3B80CFAE62573503D6C12DFD808FB32_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_70C3370009CBBB2092E512DFD8086AB1" xlink:to="loc_us-gaap_ProductsAndServicesDomain_C3B80CFAE62573503D6C12DFD808FB32_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_C3B80CFAE62573503D6C12DFD808FB32" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_70C3370009CBBB2092E512DFD8086AB1" xlink:to="loc_us-gaap_ProductsAndServicesDomain_C3B80CFAE62573503D6C12DFD808FB32" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_IntentMarketingSolutionMember" xlink:label="loc_rubi_IntentMarketingSolutionMember_601BE9FAE3D7A3F1326312DFD80992D5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_C3B80CFAE62573503D6C12DFD808FB32" xlink:to="loc_rubi_IntentMarketingSolutionMember_601BE9FAE3D7A3F1326312DFD80992D5" 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_E1D72BDE7060CF9938E812DFD809796F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0505FD74BE8CD5FAB67612DFD809CF0B" xlink:to="loc_us-gaap_Revenues_E1D72BDE7060CF9938E812DFD809796F" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_RevenuePaymentTerms" xlink:label="loc_rubi_RevenuePaymentTerms_CEEDEEF0BC1A61D3CBF312DFD80990D9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0505FD74BE8CD5FAB67612DFD809CF0B" xlink:to="loc_rubi_RevenuePaymentTerms_CEEDEEF0BC1A61D3CBF312DFD80990D9" xlink:type="arc" />
  </link:definitionLink>
  <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_D2A4987E3BF65B1E98C5278F5259E6D4" 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_17ACBF5C311F5FCD9DF5BD886D93E219" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_D2A4987E3BF65B1E98C5278F5259E6D4" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_17ACBF5C311F5FCD9DF5BD886D93E219" 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_7EA2009527E15EFC8EBD30A3D2DBE1C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_17ACBF5C311F5FCD9DF5BD886D93E219" xlink:to="loc_us-gaap_StatementGeographicalAxis_7EA2009527E15EFC8EBD30A3D2DBE1C2" 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_AFCE18063AF85EA4A331E0BA9F169440" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_7EA2009527E15EFC8EBD30A3D2DBE1C2" xlink:to="loc_us-gaap_SegmentGeographicalDomain_7CA4839F99AE5B1C9BAFF2B452ADC5A5_AFCE18063AF85EA4A331E0BA9F169440" 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_B60FAE64DDEC5704AD3156898B39CC26" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_7EA2009527E15EFC8EBD30A3D2DBE1C2" xlink:to="loc_us-gaap_SegmentGeographicalDomain_B60FAE64DDEC5704AD3156898B39CC26" 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_BB17FDBEC72A5EE9B62E74DE7A94034C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_B60FAE64DDEC5704AD3156898B39CC26" xlink:to="loc_country_US_BB17FDBEC72A5EE9B62E74DE7A94034C" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OtherInternationalMember" xlink:label="loc_rubi_OtherInternationalMember_147949908AAE5D34914D7BDA9D4EDC13" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_B60FAE64DDEC5704AD3156898B39CC26" xlink:to="loc_rubi_OtherInternationalMember_147949908AAE5D34914D7BDA9D4EDC13" 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_5C405F6A4B8B59559F76FFB0130FDA84" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_D2A4987E3BF65B1E98C5278F5259E6D4" xlink:to="loc_us-gaap_Revenues_5C405F6A4B8B59559F76FFB0130FDA84" 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_292069E48C46AE5722A92FA4FFDB5992" 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_8356DD94B677250AC9E92FA4FFD8E5A0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_292069E48C46AE5722A92FA4FFDB5992" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_8356DD94B677250AC9E92FA4FFD8E5A0" 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_BBFC5549C85700906E442FA4FFD8E0BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_8356DD94B677250AC9E92FA4FFD8E5A0" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelAxis_BBFC5549C85700906E442FA4FFD8E0BD" 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_D255AD20BC905C9A14692FA4FFD952F7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_BBFC5549C85700906E442FA4FFD8E0BD" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_D255AD20BC905C9A14692FA4FFD952F7_default" 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_D255AD20BC905C9A14692FA4FFD952F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_BBFC5549C85700906E442FA4FFD8E0BD" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_D255AD20BC905C9A14692FA4FFD952F7" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_DesktopMember" xlink:label="loc_rubi_DesktopMember_EBD61A657487D04BE1122FA4FFD9C673" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_D255AD20BC905C9A14692FA4FFD952F7" xlink:to="loc_rubi_DesktopMember_EBD61A657487D04BE1122FA4FFD9C673" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_MobileMember" xlink:label="loc_rubi_MobileMember_DF2398F1BB859FAA7B792FA4FFDB2FBB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_D255AD20BC905C9A14692FA4FFD952F7" xlink:to="loc_rubi_MobileMember_DF2398F1BB859FAA7B792FA4FFDB2FBB" 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_BE6817A4F11DB6BDBEE22FA4FFDBA253" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_292069E48C46AE5722A92FA4FFDB5992" xlink:to="loc_us-gaap_Revenues_BE6817A4F11DB6BDBEE22FA4FFDBA253" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_RevenuesPercent" xlink:label="loc_rubi_RevenuesPercent_64442E1E8A167766731D2FA741E2C018" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_292069E48C46AE5722A92FA4FFDB5992" xlink:to="loc_rubi_RevenuesPercent_64442E1E8A167766731D2FA741E2C018" 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_F1152EA60FCA100BA46A305542009E3D" 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_0EB2438D9F9B1793C6CB305541FDAE0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F1152EA60FCA100BA46A305542009E3D" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0EB2438D9F9B1793C6CB305541FDAE0B" 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_FB15EF930EB2C925E2AA305541FE3613" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0EB2438D9F9B1793C6CB305541FDAE0B" xlink:to="loc_us-gaap_VestingAxis_FB15EF930EB2C925E2AA305541FE3613" 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_5C886A82969837BA3740305541FF02D2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_FB15EF930EB2C925E2AA305541FE3613" xlink:to="loc_us-gaap_VestingDomain_5C886A82969837BA3740305541FF02D2_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_5C886A82969837BA3740305541FF02D2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_FB15EF930EB2C925E2AA305541FE3613" xlink:to="loc_us-gaap_VestingDomain_5C886A82969837BA3740305541FF02D2" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_TwoYearRSUsMember" xlink:label="loc_rubi_TwoYearRSUsMember_63EF9B16A154D1C9FAF6305541FF9220" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_5C886A82969837BA3740305541FF02D2" xlink:to="loc_rubi_TwoYearRSUsMember_63EF9B16A154D1C9FAF6305541FF9220" 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_B544D2F3D84CF3B87EEA305541FFB035" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0EB2438D9F9B1793C6CB305541FDAE0B" xlink:to="loc_us-gaap_AwardTypeAxis_B544D2F3D84CF3B87EEA305541FFB035" 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_71F988CD6858F7FCD4F7305541FF061E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_B544D2F3D84CF3B87EEA305541FFB035" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_71F988CD6858F7FCD4F7305541FF061E_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_71F988CD6858F7FCD4F7305541FF061E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_B544D2F3D84CF3B87EEA305541FFB035" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_71F988CD6858F7FCD4F7305541FF061E" 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_4049B5492CA5DA6BA5D730554200EBA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_71F988CD6858F7FCD4F7305541FF061E" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_4049B5492CA5DA6BA5D730554200EBA3" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_OtherThanESPPMember" xlink:label="loc_rubi_OtherThanESPPMember_B2A89961847B6EACAE143079D580D1B7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_71F988CD6858F7FCD4F7305541FF061E" xlink:to="loc_rubi_OtherThanESPPMember_B2A89961847B6EACAE143079D580D1B7" 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_9FDDC8E60B5E66A9037230554200F6A7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_71F988CD6858F7FCD4F7305541FF061E" xlink:to="loc_us-gaap_EmployeeStockOptionMember_9FDDC8E60B5E66A9037230554200F6A7" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_RestrictedawardsMember" xlink:label="loc_rubi_RestrictedawardsMember_5EDF8CA6CBD4A7C988F030554200445F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_71F988CD6858F7FCD4F7305541FF061E" xlink:to="loc_rubi_RestrictedawardsMember_5EDF8CA6CBD4A7C988F030554200445F" 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_1EDA3D6B15EC9553E86230554200853A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F1152EA60FCA100BA46A305542009E3D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_1EDA3D6B15EC9553E86230554200853A" 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_8CF88CAFA5C16545870630554201387F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F1152EA60FCA100BA46A305542009E3D" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_8CF88CAFA5C16545870630554201387F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted_869EF6F2545D8B5A0C983075EF202F51" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F1152EA60FCA100BA46A305542009E3D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted_869EF6F2545D8B5A0C983075EF202F51" 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_3AADC0C58A5E06CD3690305542011DAF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F1152EA60FCA100BA46A305542009E3D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_3AADC0C58A5E06CD3690305542011DAF" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_EvergreenAnnualIncrease" xlink:label="loc_rubi_EvergreenAnnualIncrease_2F70E1923C28DEE155E830554201240D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F1152EA60FCA100BA46A305542009E3D" xlink:to="loc_rubi_EvergreenAnnualIncrease_2F70E1923C28DEE155E830554201240D" 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_29D7BDB19794C7697B92305541BC5CD4" 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_758ED48DA55AA82293FE305541BA3CDA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_29D7BDB19794C7697B92305541BC5CD4" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_758ED48DA55AA82293FE305541BA3CDA" 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_E901A358537B3B0C18ED305541BB785D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_758ED48DA55AA82293FE305541BA3CDA" xlink:to="loc_us-gaap_PlanNameAxis_E901A358537B3B0C18ED305541BB785D" 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_8BC68C9105E88E19885E305541BB7631_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_E901A358537B3B0C18ED305541BB785D" xlink:to="loc_us-gaap_PlanNameDomain_8BC68C9105E88E19885E305541BB7631_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_8BC68C9105E88E19885E305541BB7631" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_E901A358537B3B0C18ED305541BB785D" xlink:to="loc_us-gaap_PlanNameDomain_8BC68C9105E88E19885E305541BB7631" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_A2014EmployeeStockPurchasePlanMember" xlink:label="loc_rubi_A2014EmployeeStockPurchasePlanMember_F145E1595BB6AA99074C305541BBD5F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_8BC68C9105E88E19885E305541BB7631" xlink:to="loc_rubi_A2014EmployeeStockPurchasePlanMember_F145E1595BB6AA99074C305541BBD5F7" 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_885DE1A322D6DBB77C75305541BC9856" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_758ED48DA55AA82293FE305541BA3CDA" xlink:to="loc_us-gaap_AwardTypeAxis_885DE1A322D6DBB77C75305541BC9856" 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_D631EBF03572FA2D62A7305541BC555F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_885DE1A322D6DBB77C75305541BC9856" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D631EBF03572FA2D62A7305541BC555F_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_D631EBF03572FA2D62A7305541BC555F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_885DE1A322D6DBB77C75305541BC9856" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D631EBF03572FA2D62A7305541BC555F" 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_465ED55D415356C05DD9305541BC423C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D631EBF03572FA2D62A7305541BC555F" xlink:to="loc_us-gaap_EmployeeStockMember_465ED55D415356C05DD9305541BC423C" 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_DF15EC1DEBAAC8838EDB305541BC592A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_29D7BDB19794C7697B92305541BC5CD4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_DF15EC1DEBAAC8838EDB305541BC592A" 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_0B3F47FFA0C8C4C038C2305541BD72D6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_29D7BDB19794C7697B92305541BC5CD4" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_0B3F47FFA0C8C4C038C2305541BD72D6" 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_4DD310F78E29C4C70668305541BDDA15" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_29D7BDB19794C7697B92305541BC5CD4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_4DD310F78E29C4C70668305541BDDA15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_743FE99F37E685653056305541BDCA2B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_29D7BDB19794C7697B92305541BC5CD4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_743FE99F37E685653056305541BDCA2B" xlink:type="arc" />
    <link:loc xlink:href="rubi-20181231.xsd#rubi_EvergreenAnnualIncrease" xlink:label="loc_rubi_EvergreenAnnualIncrease_7F7492443131F94DFFBB305541BDF458" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_29D7BDB19794C7697B92305541BC5CD4" xlink:to="loc_rubi_EvergreenAnnualIncrease_7F7492443131F94DFFBB305541BDF458" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationExpenseDetails" 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_F8BCA6CD45025E06B11AADFACC9DD093" 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_34F3BC79B35650C4987A446C99948D88" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_F8BCA6CD45025E06B11AADFACC9DD093" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_34F3BC79B35650C4987A446C99948D88" 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_2E252270F78051FF8FC771D000001FFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_34F3BC79B35650C4987A446C99948D88" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_2E252270F78051FF8FC771D000001FFB" 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_14927A59D6FA188367A85DC7D26151DE_50224AB47D0A526BB70A44C0502262E6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_2E252270F78051FF8FC771D000001FFB" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_14927A59D6FA188367A85DC7D26151DE_50224AB47D0A526BB70A44C0502262E6" 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_DA0CF1F6BA035573B0A3258E14CE638A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_2E252270F78051FF8FC771D000001FFB" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_DA0CF1F6BA035573B0A3258E14CE638A" 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_090C58394EA257B58A827E26EAED0E23" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_DA0CF1F6BA035573B0A3258E14CE638A" xlink:to="loc_us-gaap_CostOfSalesMember_090C58394EA257B58A827E26EAED0E23" 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_164F0BE99E515EBF84B901B685BBD3B8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_DA0CF1F6BA035573B0A3258E14CE638A" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_164F0BE99E515EBF84B901B685BBD3B8" 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_3FEE91396BA3521B95679EB244C45B48" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_DA0CF1F6BA035573B0A3258E14CE638A" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_3FEE91396BA3521B95679EB244C45B48" 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_0396000A9378548AB3C6B3724D44EC90" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_DA0CF1F6BA035573B0A3258E14CE638A" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_0396000A9378548AB3C6B3724D44EC90" 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_42D1C63648BD54B780D6BF1479225CE3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_DA0CF1F6BA035573B0A3258E14CE638A" xlink:to="loc_us-gaap_RestructuringChargesMember_42D1C63648BD54B780D6BF1479225CE3" 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_608BB4E63A3C5A9BB88D23E6D36E8177" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_F8BCA6CD45025E06B11AADFACC9DD093" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_608BB4E63A3C5A9BB88D23E6D36E8177" 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_3D49F83980D85A5CA67AF1FB9D707AD9" 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_62AC4E702B2B5749A6478C2C979B64A2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3D49F83980D85A5CA67AF1FB9D707AD9" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_62AC4E702B2B5749A6478C2C979B64A2" 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_DE58BCB3297953BB8E23C454B4288F42" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_62AC4E702B2B5749A6478C2C979B64A2" xlink:to="loc_us-gaap_AwardTypeAxis_DE58BCB3297953BB8E23C454B4288F42" 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_C8A3776BFE2D4D202FB85DC7D3EA6C7B_50224AB47D0A526BB70A44C0502262E6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_DE58BCB3297953BB8E23C454B4288F42" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_C8A3776BFE2D4D202FB85DC7D3EA6C7B_50224AB47D0A526BB70A44C0502262E6" 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_BD694F53905250688C75154AEF77A17B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_DE58BCB3297953BB8E23C454B4288F42" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_BD694F53905250688C75154AEF77A17B" 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_ED1E1C35A345508988D3D271CADD4C16" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_BD694F53905250688C75154AEF77A17B" xlink:to="loc_us-gaap_RestrictedStockMember_ED1E1C35A345508988D3D271CADD4C16" 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_6A3CEE6AEC2154DBBAED3A9F8DBF12BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3D49F83980D85A5CA67AF1FB9D707AD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_6A3CEE6AEC2154DBBAED3A9F8DBF12BB" 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_9D3CEFB75A785A058A8ABBBB21073EA8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3D49F83980D85A5CA67AF1FB9D707AD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_9D3CEFB75A785A058A8ABBBB21073EA8" 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_C5568F75FB9255408F01DBA7638D3BFE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3D49F83980D85A5CA67AF1FB9D707AD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_C5568F75FB9255408F01DBA7638D3BFE" 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_78672B5ABF5B53CF8210D00700C75E10" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3D49F83980D85A5CA67AF1FB9D707AD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_78672B5ABF5B53CF8210D00700C75E10" 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_BF5B4A403B345B8596080356B0FA303B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3D49F83980D85A5CA67AF1FB9D707AD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_BF5B4A403B345B8596080356B0FA303B" 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_24A181E58F3550ED83759F9BB058D538" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_BF5B4A403B345B8596080356B0FA303B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_24A181E58F3550ED83759F9BB058D538" 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_5546B4D5BF1A596E8A07C05C4D7940FF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_BF5B4A403B345B8596080356B0FA303B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_5546B4D5BF1A596E8A07C05C4D7940FF" 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_F7D25428C9FA579A8E34185CE8FFB679" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_BF5B4A403B345B8596080356B0FA303B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_F7D25428C9FA579A8E34185CE8FFB679" 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_47F7322177375FD3B97845B0873EB9A3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_BF5B4A403B345B8596080356B0FA303B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_47F7322177375FD3B97845B0873EB9A3" 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_4ED6F4596487324004BB305541CB522E" 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_CD08F6FEBC5159DB437F305541CA5C50" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4ED6F4596487324004BB305541CB522E" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CD08F6FEBC5159DB437F305541CA5C50" 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_09F364EC7704E5F85451305541CA0593" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CD08F6FEBC5159DB437F305541CA5C50" xlink:to="loc_us-gaap_AwardTypeAxis_09F364EC7704E5F85451305541CA0593" 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_9CD34312EC735291EA9A305541CA8903_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_09F364EC7704E5F85451305541CA0593" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9CD34312EC735291EA9A305541CA8903_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_9CD34312EC735291EA9A305541CA8903" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_09F364EC7704E5F85451305541CA0593" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9CD34312EC735291EA9A305541CA8903" 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_0A8FDE25BAA5292EC996305541CBEF08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9CD34312EC735291EA9A305541CA8903" xlink:to="loc_us-gaap_RestrictedStockMember_0A8FDE25BAA5292EC996305541CBEF08" 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_6875BD1FE81137B7648C305541CBC9F2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9CD34312EC735291EA9A305541CA8903" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_6875BD1FE81137B7648C305541CBC9F2" 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_E899C479053590262945305541CB6230" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4ED6F4596487324004BB305541CB522E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_E899C479053590262945305541CB6230" 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_F5363F530B9FBF509EB1305541CB541D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4ED6F4596487324004BB305541CB522E" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_F5363F530B9FBF509EB1305541CB541D" 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_A41564732576B3FF3F34305541CCF6CF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4ED6F4596487324004BB305541CB522E" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_A41564732576B3FF3F34305541CCF6CF" 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_A3BB939A06CACCD089C2305541CC01F7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4ED6F4596487324004BB305541CB522E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_A3BB939A06CACCD089C2305541CC01F7" 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_48DE6C63F416AC68D106305541CC6CDF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4ED6F4596487324004BB305541CB522E" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested_48DE6C63F416AC68D106305541CC6CDF" 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_2EFF1BB6E76156CC96C6D4E9BDE229BE" 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_BA49DC1C99ED5FAAA1A2724EC24D9ACB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2EFF1BB6E76156CC96C6D4E9BDE229BE" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_BA49DC1C99ED5FAAA1A2724EC24D9ACB" 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_C11CB1030D9B59CDB432A995A500A640" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_BA49DC1C99ED5FAAA1A2724EC24D9ACB" xlink:to="loc_us-gaap_AwardTypeAxis_C11CB1030D9B59CDB432A995A500A640" 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_6A4711A92805820CCF9FF68957731DE5_AFCE18063AF85EA4A331E0BA9F169440" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_C11CB1030D9B59CDB432A995A500A640" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6A4711A92805820CCF9FF68957731DE5_AFCE18063AF85EA4A331E0BA9F169440" 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_A28E00E9EF0D59128CEAAB753F16423A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_C11CB1030D9B59CDB432A995A500A640" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A28E00E9EF0D59128CEAAB753F16423A" 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_96046AB36BF45237ACB3523A79911CBF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A28E00E9EF0D59128CEAAB753F16423A" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_96046AB36BF45237ACB3523A79911CBF" 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_3231C431BC3E57BC941F89D190B2A7D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2EFF1BB6E76156CC96C6D4E9BDE229BE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_3231C431BC3E57BC941F89D190B2A7D0" 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_BE0BFB63F0B950C3A14407C3578E8A02" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2EFF1BB6E76156CC96C6D4E9BDE229BE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_BE0BFB63F0B950C3A14407C3578E8A02" 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_F92DF176ECD552D7B516B81631649495" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2EFF1BB6E76156CC96C6D4E9BDE229BE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_F92DF176ECD552D7B516B81631649495" 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_A15DF48886E250838B5118B0230C1955" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2EFF1BB6E76156CC96C6D4E9BDE229BE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_A15DF48886E250838B5118B0230C1955" 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_D3B85A00BEB0541F886C5909CCCE2317" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2EFF1BB6E76156CC96C6D4E9BDE229BE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_D3B85A00BEB0541F886C5909CCCE2317" 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_FCF6EF18470C5B439019223C3596A6C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_D3B85A00BEB0541F886C5909CCCE2317" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_FCF6EF18470C5B439019223C3596A6C1" 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_911FB9FFE6565C77AA7A946850C7F838" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_D3B85A00BEB0541F886C5909CCCE2317" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_911FB9FFE6565C77AA7A946850C7F838" 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_1AA773F8541350D7A590B180AEDB8D8A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_D3B85A00BEB0541F886C5909CCCE2317" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_1AA773F8541350D7A590B180AEDB8D8A" 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_58CCA2926B5F55E7A2B54A78BD8597FE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_D3B85A00BEB0541F886C5909CCCE2317" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_58CCA2926B5F55E7A2B54A78BD8597FE" 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_8070EC8F63DAA74A5F881726678D7A0C" 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_ADC22DE3769BBD0565581726678CDBD6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8070EC8F63DAA74A5F881726678D7A0C" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_ADC22DE3769BBD0565581726678CDBD6" 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_9670079C885AE1CDAD781726678CE4D5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_ADC22DE3769BBD0565581726678CDBD6" xlink:to="loc_us-gaap_AwardTypeAxis_9670079C885AE1CDAD781726678CE4D5" 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_6E99A3F364BD3AF40EF61726678C76F6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_9670079C885AE1CDAD781726678CE4D5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6E99A3F364BD3AF40EF61726678C76F6_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_6E99A3F364BD3AF40EF61726678C76F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_9670079C885AE1CDAD781726678CE4D5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6E99A3F364BD3AF40EF61726678C76F6" 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_8C9E336E903A2EC05D4A1726678DC61A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6E99A3F364BD3AF40EF61726678C76F6" xlink:to="loc_us-gaap_EmployeeStockOptionMember_8C9E336E903A2EC05D4A1726678DC61A" 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_C854515C0FA7B21E0F581726678D4EF2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8070EC8F63DAA74A5F881726678D7A0C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_C854515C0FA7B21E0F581726678D4EF2" 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_1908FD7A620178386A171726678D042D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8070EC8F63DAA74A5F881726678D7A0C" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_1908FD7A620178386A171726678D042D" 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_F8F152AB337343C5E5D41726678D313B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8070EC8F63DAA74A5F881726678D7A0C" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_F8F152AB337343C5E5D41726678D313B" 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_8263A76954870D6A7F311726678E36D7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8070EC8F63DAA74A5F881726678D7A0C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_8263A76954870D6A7F311726678E36D7" 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_5F3B71AB766498D41CFD1726678E72A2" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8070EC8F63DAA74A5F881726678D7A0C" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_5F3B71AB766498D41CFD1726678E72A2" 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_F6BA0C0083905644BD1D584E31713CD9" 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_6E6DB7E163ED50AAA9DFE0C16E7161A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F6BA0C0083905644BD1D584E31713CD9" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6E6DB7E163ED50AAA9DFE0C16E7161A3" 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_EC3ABB246C045E5DAC2ECAB349055EA6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6E6DB7E163ED50AAA9DFE0C16E7161A3" xlink:to="loc_us-gaap_AwardTypeAxis_EC3ABB246C045E5DAC2ECAB349055EA6" 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_82B395372565A5F6A4BFF70C9D622205_AFCE18063AF85EA4A331E0BA9F169440" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_EC3ABB246C045E5DAC2ECAB349055EA6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_82B395372565A5F6A4BFF70C9D622205_AFCE18063AF85EA4A331E0BA9F169440" 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_CE990B26B11857CB98B596A0A2FA3621" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_EC3ABB246C045E5DAC2ECAB349055EA6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CE990B26B11857CB98B596A0A2FA3621" 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_D3A992CF353852BCA8B770B0C3F0DA70" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CE990B26B11857CB98B596A0A2FA3621" xlink:to="loc_us-gaap_EmployeeStockOptionMember_D3A992CF353852BCA8B770B0C3F0DA70" 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_1E88DFDA5147591A9552972B2655EE5E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F6BA0C0083905644BD1D584E31713CD9" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_1E88DFDA5147591A9552972B2655EE5E" 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_3A5FA994569F515DB4D97A652DEDCC3A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F6BA0C0083905644BD1D584E31713CD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_3A5FA994569F515DB4D97A652DEDCC3A" 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_E1B73BAC626F57888894F73FE980875A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F6BA0C0083905644BD1D584E31713CD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_E1B73BAC626F57888894F73FE980875A" 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_8DD23F9E8D415B5C8EE0B88724077476" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_F6BA0C0083905644BD1D584E31713CD9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_8DD23F9E8D415B5C8EE0B88724077476" xlink:type="arc" />
  </link:definitionLink>
</link:linkbase>
