

<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <roleRef roleURI="http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpensesDetails" xlink:href="rubi-20160331.xsd#AccountsPayableAndAccruedExpensesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinations" xlink:href="rubi-20160331.xsd#BusinessCombinations" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsAcquiredIntangibleAssetsAndEstimatedUsefulLivesDetails" xlink:href="rubi-20160331.xsd#BusinessCombinationsAcquiredIntangibleAssetsAndEstimatedUsefulLivesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsAllocationOfTotalPurchaseConsiderationsDetails" xlink:href="rubi-20160331.xsd#BusinessCombinationsAllocationOfTotalPurchaseConsiderationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsNarrativeDetails" xlink:href="rubi-20160331.xsd#BusinessCombinationsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsProFormaInformationDetails" xlink:href="rubi-20160331.xsd#BusinessCombinationsProFormaInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsTables" xlink:href="rubi-20160331.xsd#BusinessCombinationsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/CommitmentsAndContingencies" xlink:href="rubi-20160331.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/CommitmentsAndContingenciesDetails" xlink:href="rubi-20160331.xsd#CommitmentsAndContingenciesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedBalanceSheets" xlink:href="rubi-20160331.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="rubi-20160331.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementOfCashFlows" xlink:href="rubi-20160331.xsd#ConsolidatedStatementOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:href="rubi-20160331.xsd#ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsOfOperations" xlink:href="rubi-20160331.xsd#ConsolidatedStatementsOfOperations" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:href="rubi-20160331.xsd#ConsolidatedStatementsOfStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/DocumentAndEntityInformation" xlink:href="rubi-20160331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurements" xlink:href="rubi-20160331.xsd#FairValueMeasurements" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsChangeInFairValueDetails" xlink:href="rubi-20160331.xsd#FairValueMeasurementsChangeInFairValueDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsChangeInFairValueLiabilitiesDetails" xlink:href="rubi-20160331.xsd#FairValueMeasurementsChangeInFairValueLiabilitiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsFinancialInstrumentsDetails" xlink:href="rubi-20160331.xsd#FairValueMeasurementsFinancialInstrumentsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsNarrativeDetails" xlink:href="rubi-20160331.xsd#FairValueMeasurementsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsTables" xlink:href="rubi-20160331.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxes" xlink:href="rubi-20160331.xsd#IncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxesNarrativeDetails" xlink:href="rubi-20160331.xsd#IncomeTaxesNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShare" xlink:href="rubi-20160331.xsd#NetIncomeLossPerShare" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareDetails" xlink:href="rubi-20160331.xsd#NetIncomeLossPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareNarrativeDetails" xlink:href="rubi-20160331.xsd#NetIncomeLossPerShareNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareTables" xlink:href="rubi-20160331.xsd#NetIncomeLossPerShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:href="rubi-20160331.xsd#OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="rubi-20160331.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmounts" xlink:href="rubi-20160331.xsd#OtherBalanceSheetAmounts" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsAmortizedCostAndFairValueOfMarketableSecuritiesDetails" xlink:href="rubi-20160331.xsd#OtherBalanceSheetAmountsAmortizedCostAndFairValueOfMarketableSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsInvestmentsInMarketableSecuritiesDetails" xlink:href="rubi-20160331.xsd#OtherBalanceSheetAmountsInvestmentsInMarketableSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsNarrativeDetails" xlink:href="rubi-20160331.xsd#OtherBalanceSheetAmountsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsTables" xlink:href="rubi-20160331.xsd#OtherBalanceSheetAmountsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensation" xlink:href="rubi-20160331.xsd#StockBasedCompensation" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationDetails" xlink:href="rubi-20160331.xsd#StockBasedCompensationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:href="rubi-20160331.xsd#StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationExpenseDetails" xlink:href="rubi-20160331.xsd#StockBasedCompensationExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockActivityDetails" xlink:href="rubi-20160331.xsd#StockBasedCompensationRestrictedStockActivityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockNarrativeDetails" xlink:href="rubi-20160331.xsd#StockBasedCompensationRestrictedStockNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:href="rubi-20160331.xsd#StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsNarrativeDetails" xlink:href="rubi-20160331.xsd#StockBasedCompensationRestrictedStockUnitsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsNarrativeDetails" xlink:href="rubi-20160331.xsd#StockBasedCompensationStockOptionsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:href="rubi-20160331.xsd#StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationTables" xlink:href="rubi-20160331.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationValuationAssumptionsDetails" xlink:href="rubi-20160331.xsd#StockBasedCompensationValuationAssumptionsDetails" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpensesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinations" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsAcquiredIntangibleAssetsAndEstimatedUsefulLivesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_B5A48CE15D91B4CEFB2E3FE19267941C" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_F9831D32CCB5E80E06893FE192604915" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_B5A48CE15D91B4CEFB2E3FE19267941C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_F9831D32CCB5E80E06893FE192604915" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_7668B4FD2ADADDE3B0A73FE192609D66" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_F9831D32CCB5E80E06893FE192604915" xlink:to="loc_us-gaap_RangeAxis_7668B4FD2ADADDE3B0A73FE192609D66" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_88DD2AE31B836133A6413FE19260E717_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_7668B4FD2ADADDE3B0A73FE192609D66" xlink:to="loc_us-gaap_RangeMember_88DD2AE31B836133A6413FE19260E717_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_88DD2AE31B836133A6413FE19260E717" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_7668B4FD2ADADDE3B0A73FE192609D66" xlink:to="loc_us-gaap_RangeMember_88DD2AE31B836133A6413FE19260E717" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_1BCB62F0629B4C867FEC3FE192666DE5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_88DD2AE31B836133A6413FE19260E717" xlink:to="loc_us-gaap_MinimumMember_1BCB62F0629B4C867FEC3FE192666DE5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_BE5C88255DBDD60144803FE19266F5F7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_88DD2AE31B836133A6413FE19260E717" xlink:to="loc_us-gaap_MaximumMember_BE5C88255DBDD60144803FE19266F5F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_FA8BD587129EB80C81993FE19266CD60" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_F9831D32CCB5E80E06893FE192604915" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_FA8BD587129EB80C81993FE19266CD60" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DF2497E06110F71669D3FE192669CF9_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_FA8BD587129EB80C81993FE19266CD60" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DF2497E06110F71669D3FE192669CF9_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DF2497E06110F71669D3FE192669CF9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_FA8BD587129EB80C81993FE19266CD60" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DF2497E06110F71669D3FE192669CF9" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_ChangoIncMember" xlink:label="loc_rubi_ChangoIncMember_C13BF312158DC3F68C0C3FE1926659DD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DF2497E06110F71669D3FE192669CF9" xlink:to="loc_rubi_ChangoIncMember_C13BF312158DC3F68C0C3FE1926659DD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CF8C2DDD8E0501281C543FE19266AC7E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_F9831D32CCB5E80E06893FE192604915" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CF8C2DDD8E0501281C543FE19266AC7E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_CE15CC19ADABAB4CD9963FE19266EE4E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CF8C2DDD8E0501281C543FE19266AC7E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_CE15CC19ADABAB4CD9963FE19266EE4E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_CE15CC19ADABAB4CD9963FE19266EE4E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CF8C2DDD8E0501281C543FE19266AC7E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_CE15CC19ADABAB4CD9963FE19266EE4E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_6F70AAF7BFCA0A9524863FE192661563" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_CE15CC19ADABAB4CD9963FE19266EE4E" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_6F70AAF7BFCA0A9524863FE192661563" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InProcessResearchAndDevelopmentMember" xlink:label="loc_us-gaap_InProcessResearchAndDevelopmentMember_13B70EAB9D5AF5F7E9D23FE19266866E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_CE15CC19ADABAB4CD9963FE19266EE4E" xlink:to="loc_us-gaap_InProcessResearchAndDevelopmentMember_13B70EAB9D5AF5F7E9D23FE19266866E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_76901CE861D83842DF153FE19266DDE0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_CE15CC19ADABAB4CD9963FE19266EE4E" xlink:to="loc_us-gaap_CustomerRelationshipsMember_76901CE861D83842DF153FE19266DDE0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OrderOrProductionBacklogMember" xlink:label="loc_us-gaap_OrderOrProductionBacklogMember_4912B75CA5FE679C25453FE192675EF0" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_CE15CC19ADABAB4CD9963FE19266EE4E" xlink:to="loc_us-gaap_OrderOrProductionBacklogMember_4912B75CA5FE679C25453FE192675EF0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_54362FDD60952DBC4A283FE192672995" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_CE15CC19ADABAB4CD9963FE19266EE4E" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_54362FDD60952DBC4A283FE192672995" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TrademarksMember" xlink:label="loc_us-gaap_TrademarksMember_41FC44E815BE3C8DE7863FE19267BB7F" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_CE15CC19ADABAB4CD9963FE19266EE4E" xlink:to="loc_us-gaap_TrademarksMember_41FC44E815BE3C8DE7863FE19267BB7F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_EEE1E8B5B0EAEA2FFF413FE19267D8EF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_B5A48CE15D91B4CEFB2E3FE19267941C" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_EEE1E8B5B0EAEA2FFF413FE19267D8EF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_7ED91CD52EC85F1A0A093FE19267B74F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_B5A48CE15D91B4CEFB2E3FE19267941C" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_7ED91CD52EC85F1A0A093FE19267B74F" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsAllocationOfTotalPurchaseConsiderationsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4B17B24508BC80CE9B2374005ECA168B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4B17B24508BC80CE9B2374005ECA168B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_8A3F289E30C45BFF1F2574005ECAF91D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4B17B24508BC80CE9B2374005ECA168B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_8A3F289E30C45BFF1F2574005ECAF91D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_181F6E5454F5248ECFF974005ECA77D7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_8A3F289E30C45BFF1F2574005ECAF91D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_181F6E5454F5248ECFF974005ECA77D7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_181F6E5454F5248ECFF974005ECA77D7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_8A3F289E30C45BFF1F2574005ECAF91D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_181F6E5454F5248ECFF974005ECA77D7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InProcessResearchAndDevelopmentMember" xlink:label="loc_us-gaap_InProcessResearchAndDevelopmentMember_C10E5FCC2ED93CDEE9C274005ECA62BD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_181F6E5454F5248ECFF974005ECA77D7" xlink:to="loc_us-gaap_InProcessResearchAndDevelopmentMember_C10E5FCC2ED93CDEE9C274005ECA62BD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_87FF7AF2DF3D963CCF5074005ECAFF68" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4B17B24508BC80CE9B2374005ECA168B" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_87FF7AF2DF3D963CCF5074005ECAFF68" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B61B4BC88384C1CEA09274005ECA5DC3_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_87FF7AF2DF3D963CCF5074005ECAFF68" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B61B4BC88384C1CEA09274005ECA5DC3_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B61B4BC88384C1CEA09274005ECA5DC3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_87FF7AF2DF3D963CCF5074005ECAFF68" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B61B4BC88384C1CEA09274005ECA5DC3" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_ChangoIncMember" xlink:label="loc_rubi_ChangoIncMember_C81A6AC4DEF45742657E74005ECA6AD6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B61B4BC88384C1CEA09274005ECA5DC3" xlink:to="loc_rubi_ChangoIncMember_C81A6AC4DEF45742657E74005ECA6AD6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_51AF5574199EC99768B974005ECA6C53" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_51AF5574199EC99768B974005ECA6C53" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_6D108A7A25578D17913E74005ECA8488" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_6D108A7A25578D17913E74005ECA8488" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationConsiderationTransferredStockOptionsExchanged" xlink:label="loc_rubi_BusinessCombinationConsiderationTransferredStockOptionsExchanged_413ECE46F24D2264710874005ECA2CAE" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_rubi_BusinessCombinationConsiderationTransferredStockOptionsExchanged_413ECE46F24D2264710874005ECA2CAE" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationOutstandingDebtandTransactionexpensesCashPaid" xlink:label="loc_rubi_BusinessCombinationOutstandingDebtandTransactionexpensesCashPaid_D90B80B743C2B94C490F74005ECA1B8F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_rubi_BusinessCombinationOutstandingDebtandTransactionexpensesCashPaid_D90B80B743C2B94C490F74005ECA1B8F" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationConsiderationTransferedWorkingCapitalAdjustment" xlink:label="loc_rubi_BusinessCombinationConsiderationTransferedWorkingCapitalAdjustment_FCAE2C22D0BFD621DBDA74005ECA169B" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_rubi_BusinessCombinationConsiderationTransferedWorkingCapitalAdjustment_FCAE2C22D0BFD621DBDA74005ECA169B" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationConsiderationTransferredandContingentConsideration" xlink:label="loc_rubi_BusinessCombinationConsiderationTransferredandContingentConsideration_DE6FFF6A975A5331DA1874005ECADCFA" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_rubi_BusinessCombinationConsiderationTransferredandContingentConsideration_DE6FFF6A975A5331DA1874005ECADCFA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_817D8058C2D0547960F574005ECAD1CD" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_817D8058C2D0547960F574005ECAD1CD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_FD2902793382E762FE7D74005ECA9D4F" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_FD2902793382E762FE7D74005ECA9D4F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_4536B9D3830E6A55172574005ECA2912" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_4536B9D3830E6A55172574005ECA2912" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_A16157B6B419E8FE112E74005ECAA068" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_A16157B6B419E8FE112E74005ECAA068" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_CE50E742C101830C394574005ECA256E" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_CE50E742C101830C394574005ECA256E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_A7D7E87ED28BED018CFF74005ECA9DD2" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_A7D7E87ED28BED018CFF74005ECA9DD2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_299C287F9B7CA174D9DB74005ECADABB" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_299C287F9B7CA174D9DB74005ECADABB" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedOtherLiabilities" xlink:label="loc_rubi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedOtherLiabilities_7A258960F18296F0211774005EDA7445" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_rubi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedOtherLiabilities_7A258960F18296F0211774005EDA7445" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_80D839686B190B711FBF74005EDACDF0" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_80D839686B190B711FBF74005EDACDF0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_ED11D9C21EB94BAA2B4374005EDAD58D" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_ED11D9C21EB94BAA2B4374005EDAD58D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_4F4130E7640F9BFE257174005EDAEA53" xlink:type="locator" />
    <definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A536B577F44C663ED80874005ECA2EB2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_4F4130E7640F9BFE257174005EDAEA53" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_BA8D776582C7AE8D982574005EE9DCF5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_BA8D776582C7AE8D982574005EE9DCF5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_3034B0C9617A83FBEB1874005EE91782" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_BA8D776582C7AE8D982574005EE9DCF5" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_3034B0C9617A83FBEB1874005EE91782" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_568E363E782F6249390074005EE917E1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3034B0C9617A83FBEB1874005EE91782" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_568E363E782F6249390074005EE917E1_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_568E363E782F6249390074005EE917E1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3034B0C9617A83FBEB1874005EE91782" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_568E363E782F6249390074005EE917E1" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_ChangoIncMember" xlink:label="loc_rubi_ChangoIncMember_2896598731B2F42C4CF574005EE98AD7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_568E363E782F6249390074005EE917E1" xlink:to="loc_rubi_ChangoIncMember_2896598731B2F42C4CF574005EE98AD7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1D343238FC0EB672D87A74005EE93C47" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_BA8D776582C7AE8D982574005EE9DCF5" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1D343238FC0EB672D87A74005EE93C47" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_AF7C41D536702BA0B0C774005EE9FB4C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1D343238FC0EB672D87A74005EE93C47" xlink:to="loc_us-gaap_ClassOfStockDomain_AF7C41D536702BA0B0C774005EE9FB4C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_AF7C41D536702BA0B0C774005EE9FB4C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1D343238FC0EB672D87A74005EE93C47" xlink:to="loc_us-gaap_ClassOfStockDomain_AF7C41D536702BA0B0C774005EE9FB4C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_2D81E865E0F54263F12374005EE952E8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_AF7C41D536702BA0B0C774005EE9FB4C" xlink:to="loc_us-gaap_CommonStockMember_2D81E865E0F54263F12374005EE952E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_250E8BB02581DA61D6D074005EE9E97A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_BA8D776582C7AE8D982574005EE9DCF5" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_250E8BB02581DA61D6D074005EE9E97A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_45AE2917CB473B66C09474005EE9125F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_250E8BB02581DA61D6D074005EE9E97A" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_45AE2917CB473B66C09474005EE9125F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_45AE2917CB473B66C09474005EE9125F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_250E8BB02581DA61D6D074005EE9E97A" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_45AE2917CB473B66C09474005EE9125F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_07F4450404EDB74ADCA674005EE9341A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_45AE2917CB473B66C09474005EE9125F" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_07F4450404EDB74ADCA674005EE9341A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_AC4673BB1A9DE8AE811774005EE9F53D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_BA8D776582C7AE8D982574005EE9DCF5" xlink:to="loc_us-gaap_AwardTypeAxis_AC4673BB1A9DE8AE811774005EE9F53D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1C6C876B12CA8F134BCC74005EE91243_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_AC4673BB1A9DE8AE811774005EE9F53D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1C6C876B12CA8F134BCC74005EE91243_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1C6C876B12CA8F134BCC74005EE91243" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_AC4673BB1A9DE8AE811774005EE9F53D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1C6C876B12CA8F134BCC74005EE91243" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_6DD00628B75471CBBF6F74005EE96382" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1C6C876B12CA8F134BCC74005EE91243" xlink:to="loc_us-gaap_EmployeeStockOptionMember_6DD00628B75471CBBF6F74005EE96382" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_E5D0A3089941A8554D6274005EE9B310" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_E5D0A3089941A8554D6274005EE9B310" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_FF85DE87CA5EE920279474005EE93608" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_FF85DE87CA5EE920279474005EE93608" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationIndemnificationAssetsSharesHeldinEscrow" xlink:label="loc_rubi_BusinessCombinationIndemnificationAssetsSharesHeldinEscrow_D1E11293E86FC1B449E374005EE9F1F5" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_rubi_BusinessCombinationIndemnificationAssetsSharesHeldinEscrow_D1E11293E86FC1B449E374005EE9F1F5" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationFutureServiceSharesHeldinEscrow" xlink:label="loc_rubi_BusinessCombinationFutureServiceSharesHeldinEscrow_0B3DE5E1A3F3A75934C574005EE9806A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_rubi_BusinessCombinationFutureServiceSharesHeldinEscrow_0B3DE5E1A3F3A75934C574005EE9806A" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationOutstandingDebtandTransactionexpensesCashPaid" xlink:label="loc_rubi_BusinessCombinationOutstandingDebtandTransactionexpensesCashPaid_0285B4290D18B68DCA7F74005EE9C771" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_rubi_BusinessCombinationOutstandingDebtandTransactionexpensesCashPaid_0285B4290D18B68DCA7F74005EE9C771" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_72C1740124D88757FEE074005EE9763A" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_72C1740124D88757FEE074005EE9763A" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationContingentConsiderationSharesHeldinEscrow" xlink:label="loc_rubi_BusinessCombinationContingentConsiderationSharesHeldinEscrow_5080839300CEB9C015B474005EE98E13" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_rubi_BusinessCombinationContingentConsiderationSharesHeldinEscrow_5080839300CEB9C015B474005EE98E13" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationContingentSharesinEscrowValue" xlink:label="loc_rubi_BusinessCombinationContingentSharesinEscrowValue_750232843F88EC4B76EC74005EE95110" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_rubi_BusinessCombinationContingentSharesinEscrowValue_750232843F88EC4B76EC74005EE95110" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationContingentConsiderationThresholdTradingDaystoDetermineNumberofShares" xlink:label="loc_rubi_BusinessCombinationContingentConsiderationThresholdTradingDaystoDetermineNumberofShares_7C8D2697E38E2C106C6774005EE9395F" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_rubi_BusinessCombinationContingentConsiderationThresholdTradingDaystoDetermineNumberofShares_7C8D2697E38E2C106C6774005EE9395F" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationContingentConsiderationStockPriceTrigger" xlink:label="loc_rubi_BusinessCombinationContingentConsiderationStockPriceTrigger_70CA13B60BAC0223D4A874005EE9B6CB" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_rubi_BusinessCombinationContingentConsiderationStockPriceTrigger_70CA13B60BAC0223D4A874005EE9B6CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_0C910E4EC0220C73D94274005EE9B62B" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_0C910E4EC0220C73D94274005EE9B62B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationOptionsIssued1" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationOptionsIssued1_EC820082FE1CC78AA23B74005EE965E0" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationOptionsIssued1_EC820082FE1CC78AA23B74005EE965E0" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationConsiderationTransferredStockOptionsExchanged" xlink:label="loc_rubi_BusinessCombinationConsiderationTransferredStockOptionsExchanged_69163EC9A536D773C0D074005EE9D53F" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_rubi_BusinessCombinationConsiderationTransferredStockOptionsExchanged_69163EC9A536D773C0D074005EE9D53F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_87469F16E69E7102EF1074005EE9AB00" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_87469F16E69E7102EF1074005EE9AB00" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsGross" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_E2CCDCDAC3FF9A3D700374005EE9EFA5" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_E2CCDCDAC3FF9A3D700374005EE9EFA5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_9CB6CAB63DE6779E089974005EE903F0" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_9CB6CAB63DE6779E089974005EE903F0" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationNetOperatingLossAcquired" xlink:label="loc_rubi_BusinessCombinationNetOperatingLossAcquired_271979A53F2ACEDD1DBA74005EE99309" xlink:type="locator" />
    <definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C4D3C9D4855BAD3861EF74005EE9E93C" xlink:to="loc_rubi_BusinessCombinationNetOperatingLossAcquired_271979A53F2ACEDD1DBA74005EE99309" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsProFormaInformationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_01B82608C6919650BAFE3638D490F3F2" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_85A490BCFE9E26567D2B3638D48FBC80" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01B82608C6919650BAFE3638D490F3F2" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_85A490BCFE9E26567D2B3638D48FBC80" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_16D561E601DC025A93A23638D4900772" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_85A490BCFE9E26567D2B3638D48FBC80" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_16D561E601DC025A93A23638D4900772" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_40926417752778C6A7A73638D4903518_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_16D561E601DC025A93A23638D4900772" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_40926417752778C6A7A73638D4903518_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_40926417752778C6A7A73638D4903518" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_16D561E601DC025A93A23638D4900772" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_40926417752778C6A7A73638D4903518" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_ChangoIncMember" xlink:label="loc_rubi_ChangoIncMember_A2978BA42E608DBEE1B33638D73E5BE7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_40926417752778C6A7A73638D4903518" xlink:to="loc_rubi_ChangoIncMember_A2978BA42E608DBEE1B33638D73E5BE7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_68F80BA4597FE43E78CE3638D490EFC0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01B82608C6919650BAFE3638D490F3F2" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_68F80BA4597FE43E78CE3638D490EFC0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_6968BE00C9B9648604A53638D49532A3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01B82608C6919650BAFE3638D490F3F2" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_6968BE00C9B9648604A53638D49532A3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_BEEA45D96C1EE92067873638D4958363" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_01B82608C6919650BAFE3638D490F3F2" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_BEEA45D96C1EE92067873638D4958363" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/CommitmentsAndContingenciesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherCommitmentsLineItems" xlink:label="loc_us-gaap_OtherCommitmentsLineItems_E55B8F2F4B3360183416AAB41D78C30F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherCommitmentsTable" xlink:label="loc_us-gaap_OtherCommitmentsTable_1E3DF84F80B385B395CCAAB41D7793F0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_E55B8F2F4B3360183416AAB41D78C30F" xlink:to="loc_us-gaap_OtherCommitmentsTable_1E3DF84F80B385B395CCAAB41D7793F0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LeaseArrangementTypeAxis" xlink:label="loc_us-gaap_LeaseArrangementTypeAxis_AC827188D6CF3F089E55AAB41D77A5D8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_1E3DF84F80B385B395CCAAB41D7793F0" xlink:to="loc_us-gaap_LeaseArrangementTypeAxis_AC827188D6CF3F089E55AAB41D77A5D8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_E15A798CF1F91AC3B9C2AAB41D7715E7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_AC827188D6CF3F089E55AAB41D77A5D8" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_E15A798CF1F91AC3B9C2AAB41D7715E7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_E15A798CF1F91AC3B9C2AAB41D7715E7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_AC827188D6CF3F089E55AAB41D77A5D8" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_E15A798CF1F91AC3B9C2AAB41D7715E7" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_LondonLeaseMember" xlink:label="loc_rubi_LondonLeaseMember_6D61381585EAE0ADE2B8AAB41D77335D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_E15A798CF1F91AC3B9C2AAB41D7715E7" xlink:to="loc_rubi_LondonLeaseMember_6D61381585EAE0ADE2B8AAB41D77335D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_967D622A595E4F847ACAAAB41D77F735" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_1E3DF84F80B385B395CCAAB41D7793F0" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_967D622A595E4F847ACAAAB41D77F735" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_E0A2E909ECAFB6A2FBADAAB41D78C0CA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_967D622A595E4F847ACAAAB41D77F735" xlink:to="loc_us-gaap_LossContingencyNatureDomain_E0A2E909ECAFB6A2FBADAAB41D78C0CA_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_E0A2E909ECAFB6A2FBADAAB41D78C0CA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_967D622A595E4F847ACAAAB41D77F735" xlink:to="loc_us-gaap_LossContingencyNatureDomain_E0A2E909ECAFB6A2FBADAAB41D78C0CA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancialStandbyLetterOfCreditMember" xlink:label="loc_us-gaap_FinancialStandbyLetterOfCreditMember_5B5CFFB9FED9C6AF2C8BAAB41D78ADE5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_E0A2E909ECAFB6A2FBADAAB41D78C0CA" xlink:to="loc_us-gaap_FinancialStandbyLetterOfCreditMember_5B5CFFB9FED9C6AF2C8BAAB41D78ADE5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_2EE05F0D2B1051CBCD05AAB41D78631E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_E55B8F2F4B3360183416AAB41D78C30F" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_2EE05F0D2B1051CBCD05AAB41D78631E" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentalsincrease" xlink:label="loc_rubi_OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentalsincrease_F54F9560DE1FCC945325AAB41D78E72A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_E55B8F2F4B3360183416AAB41D78C30F" xlink:to="loc_rubi_OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentalsincrease_F54F9560DE1FCC945325AAB41D78E72A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_034708D7A81841B4006EAAB41EBD5873" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_8B0C44814EB6F742A881AAB41EBC7B84" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_034708D7A81841B4006EAAB41EBD5873" xlink:to="loc_us-gaap_StatementTable_8B0C44814EB6F742A881AAB41EBC7B84" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_23DA5227D8F85429BFE3AAB41EBC6A60" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8B0C44814EB6F742A881AAB41EBC7B84" xlink:to="loc_us-gaap_StatementClassOfStockAxis_23DA5227D8F85429BFE3AAB41EBC6A60" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_378F97D0C6E92F48CAD2AAB41EBC5E7A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_23DA5227D8F85429BFE3AAB41EBC6A60" xlink:to="loc_us-gaap_ClassOfStockDomain_378F97D0C6E92F48CAD2AAB41EBC5E7A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_378F97D0C6E92F48CAD2AAB41EBC5E7A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_23DA5227D8F85429BFE3AAB41EBC6A60" xlink:to="loc_us-gaap_ClassOfStockDomain_378F97D0C6E92F48CAD2AAB41EBC5E7A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_2083BA5E51F3EF515597AAB41EBD73B4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_378F97D0C6E92F48CAD2AAB41EBC5E7A" xlink:to="loc_us-gaap_PreferredStockMember_2083BA5E51F3EF515597AAB41EBD73B4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_70CD3D3374B2F9DEC095AAB41EBD4B60" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_034708D7A81841B4006EAAB41EBD5873" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_70CD3D3374B2F9DEC095AAB41EBD4B60" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_8D5725089A541CE8ED02AAB41EBD43A7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_034708D7A81841B4006EAAB41EBD5873" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_8D5725089A541CE8ED02AAB41EBD43A7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_794630BAA454B46F9F3FAAB41EBD757E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_034708D7A81841B4006EAAB41EBD5873" xlink:to="loc_us-gaap_PreferredStockSharesIssued_794630BAA454B46F9F3FAAB41EBD757E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_D793CACC9F3C2F52AB11AAB41EBDC052" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_034708D7A81841B4006EAAB41EBD5873" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_D793CACC9F3C2F52AB11AAB41EBDC052" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_F5EA5C616966BD2B21B9AAB41EBDF63A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_034708D7A81841B4006EAAB41EBD5873" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_F5EA5C616966BD2B21B9AAB41EBDF63A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_7329271B040DDA79C59FAAB41EBD3AF7" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_034708D7A81841B4006EAAB41EBD5873" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_7329271B040DDA79C59FAAB41EBD3AF7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_6478F7C4325CE253C5B2AAB41EBD1FCA" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_034708D7A81841B4006EAAB41EBD5873" xlink:to="loc_us-gaap_CommonStockSharesIssued_6478F7C4325CE253C5B2AAB41EBD1FCA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_03EC2B1C9BA397510A78AAB41EBDD0C3" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_034708D7A81841B4006EAAB41EBD5873" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_03EC2B1C9BA397510A78AAB41EBDD0C3" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementOfCashFlows" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsOfOperations" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_B5B02C971E68F4ECC6363FCBDCFE2066" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_362FC8C6CA65B8690AFC3FCBDCFEE2B6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_B5B02C971E68F4ECC6363FCBDCFE2066" xlink:to="loc_us-gaap_StatementTable_362FC8C6CA65B8690AFC3FCBDCFEE2B6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_3FC10FE1E48EF39CE2D83FCBDCFE1963" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_362FC8C6CA65B8690AFC3FCBDCFEE2B6" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_3FC10FE1E48EF39CE2D83FCBDCFE1963" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_48595D5180F38B4BE4FD3FCBDCFEDB41_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_3FC10FE1E48EF39CE2D83FCBDCFE1963" xlink:to="loc_us-gaap_EquityComponentDomain_48595D5180F38B4BE4FD3FCBDCFEDB41_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_48595D5180F38B4BE4FD3FCBDCFEDB41" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_3FC10FE1E48EF39CE2D83FCBDCFE1963" xlink:to="loc_us-gaap_EquityComponentDomain_48595D5180F38B4BE4FD3FCBDCFEDB41" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_11B92BB5D7B1F26EBD583FCBDCFE95E0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_48595D5180F38B4BE4FD3FCBDCFEDB41" xlink:to="loc_us-gaap_CommonStockMember_11B92BB5D7B1F26EBD583FCBDCFE95E0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_F677B8961700997EBFE13FCBDCFEB897" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_48595D5180F38B4BE4FD3FCBDCFEDB41" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_F677B8961700997EBFE13FCBDCFEB897" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_92C4D9F64B3BFF360B8A3FCBDCFE77A5" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_48595D5180F38B4BE4FD3FCBDCFEDB41" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_92C4D9F64B3BFF360B8A3FCBDCFE77A5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_786A283EEA794807D4093FCBDCFEC95F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_48595D5180F38B4BE4FD3FCBDCFEDB41" xlink:to="loc_us-gaap_RetainedEarningsMember_786A283EEA794807D4093FCBDCFEC95F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B5B02C971E68F4ECC6363FCBDCFE2066" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_7A79CC4486C1ECA019263FCBDCFEE832" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_7A79CC4486C1ECA019263FCBDCFEE832" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_D76034F70A7DCF2F416D3FCBDCFED2E9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:to="loc_us-gaap_StockholdersEquity_D76034F70A7DCF2F416D3FCBDCFED2E9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_AD45B1E30FDA0553C7B23FCBDCFE4CAE" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_AD45B1E30FDA0553C7B23FCBDCFE4CAE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_077C1E2D85502B4E9FA93FCBDCFE540A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_077C1E2D85502B4E9FA93FCBDCFE540A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_CB4E6879CF411EA316013FCBDCFE65CE" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_CB4E6879CF411EA316013FCBDCFE65CE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross_FC2AAA0B86B03F8CEB113FCBDCFE268D" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross_FC2AAA0B86B03F8CEB113FCBDCFE268D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_D73D2602124FFCD6F9E93FCBDCFE1831" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_D73D2602124FFCD6F9E93FCBDCFE1831" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_FFEC38980815E28CA1B53FCBDCFE00CB" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_FFEC38980815E28CA1B53FCBDCFE00CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_62F631A858D7161600993FCBDCFE98D3" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_62F631A858D7161600993FCBDCFE98D3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_D657EE45CC55922F13583FCBDCFE05A7" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_D657EE45CC55922F13583FCBDCFE05A7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_8660B304D73E7C045CEC3FCBDCFE9691" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_8660B304D73E7C045CEC3FCBDCFE9691" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_CC33F05FC47A97DC561B3FCBDCFEB880" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_CC33F05FC47A97DC561B3FCBDCFEB880" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_EC767E7D162D2BD2E2FA3FCBDCFEA337" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_EC767E7D162D2BD2E2FA3FCBDCFEA337" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_B5F1530A3436CEA600403FCBDCFED805" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_81D055AC1E4140F645403FCBDCFEA161" xlink:to="loc_us-gaap_NetIncomeLoss_B5F1530A3436CEA600403FCBDCFED805" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurements" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsChangeInFairValueDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_D0A3A099099D9A7DE1A9AAB42009651B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_C41C40A8ABAAC092FB54AAB42008165D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_D0A3A099099D9A7DE1A9AAB42009651B" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_C41C40A8ABAAC092FB54AAB42008165D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_31CC8C3323BB63F7D36CAAB420081DCD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_C41C40A8ABAAC092FB54AAB42008165D" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_31CC8C3323BB63F7D36CAAB420081DCD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C04267B8D27532C3C52AAAB420080012_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_31CC8C3323BB63F7D36CAAB420081DCD" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C04267B8D27532C3C52AAAB420080012_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C04267B8D27532C3C52AAAB420080012" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_31CC8C3323BB63F7D36CAAB420081DCD" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C04267B8D27532C3C52AAAB420080012" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_ISocketIncMember" xlink:label="loc_rubi_ISocketIncMember_7CEF6E6D8E609C787138AAB4200891E8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C04267B8D27532C3C52AAAB420080012" xlink:to="loc_rubi_ISocketIncMember_7CEF6E6D8E609C787138AAB4200891E8" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_ChangoIncMember" xlink:label="loc_rubi_ChangoIncMember_AED05EC148FC8B5B3F46AAB42008342D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C04267B8D27532C3C52AAAB420080012" xlink:to="loc_rubi_ChangoIncMember_AED05EC148FC8B5B3F46AAB42008342D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4A68D7BB87CD0EFDB88FAAB420082915" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_C41C40A8ABAAC092FB54AAB42008165D" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4A68D7BB87CD0EFDB88FAAB420082915" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_CED806D5BD57966F666BAAB4200923DC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4A68D7BB87CD0EFDB88FAAB420082915" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_CED806D5BD57966F666BAAB4200923DC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_CED806D5BD57966F666BAAB4200923DC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4A68D7BB87CD0EFDB88FAAB420082915" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_CED806D5BD57966F666BAAB4200923DC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_A398F42ED267BE57FF73AAB42009858F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_CED806D5BD57966F666BAAB4200923DC" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_A398F42ED267BE57FF73AAB42009858F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByLiabilityClassAxis" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_5AE759E6FC04DE75A17CAAB420094867" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_C41C40A8ABAAC092FB54AAB42008165D" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_5AE759E6FC04DE75A17CAAB420094867" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_F99587BE12463A570C19AAB420095A8A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_5AE759E6FC04DE75A17CAAB420094867" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_F99587BE12463A570C19AAB420095A8A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_F99587BE12463A570C19AAB420095A8A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_5AE759E6FC04DE75A17CAAB420094867" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_F99587BE12463A570C19AAB420095A8A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WarrantMember" xlink:label="loc_us-gaap_WarrantMember_2B7565EAE552E9C119F3AAB420097818" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_F99587BE12463A570C19AAB420095A8A" xlink:to="loc_us-gaap_WarrantMember_2B7565EAE552E9C119F3AAB420097818" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_451F515EF3AD2BD92BE3AAB420099044" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_D0A3A099099D9A7DE1A9AAB42009651B" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_451F515EF3AD2BD92BE3AAB420099044" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_EFED35CA2EB18912F4E6AAB42009D1A5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_451F515EF3AD2BD92BE3AAB420099044" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_EFED35CA2EB18912F4E6AAB42009D1A5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_8F50E4C3EF6B5F27AA5DAAB42009A321" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_451F515EF3AD2BD92BE3AAB420099044" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_8F50E4C3EF6B5F27AA5DAAB42009A321" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisLiabilityConversionofWarrantstoStock" xlink:label="loc_rubi_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisLiabilityConversionofWarrantstoStock_43D2D5803CEEB728D670AAB42009DA7F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_451F515EF3AD2BD92BE3AAB420099044" xlink:to="loc_rubi_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisLiabilityConversionofWarrantstoStock_43D2D5803CEEB728D670AAB42009DA7F" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsChangeInFairValueLiabilitiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_D6D74887E636D416629F362F413C1815" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_9D20ADBEDBE07F902130362F413CE77C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_D6D74887E636D416629F362F413C1815" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_9D20ADBEDBE07F902130362F413CE77C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_40BCFCA8C9F2FF47FAB8362F413C65AD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_9D20ADBEDBE07F902130362F413CE77C" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_40BCFCA8C9F2FF47FAB8362F413C65AD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_345E7F260040CB71FFAA362F413CBFF5_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_40BCFCA8C9F2FF47FAB8362F413C65AD" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_345E7F260040CB71FFAA362F413CBFF5_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_345E7F260040CB71FFAA362F413CBFF5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_40BCFCA8C9F2FF47FAB8362F413C65AD" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_345E7F260040CB71FFAA362F413CBFF5" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_ChangoIncMember" xlink:label="loc_rubi_ChangoIncMember_50B6514E739AA726F844362F413C54ED" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_345E7F260040CB71FFAA362F413CBFF5" xlink:to="loc_rubi_ChangoIncMember_50B6514E739AA726F844362F413C54ED" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_BDB16EE0D14DE602ECF0362F413C3834" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_9D20ADBEDBE07F902130362F413CE77C" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_BDB16EE0D14DE602ECF0362F413C3834" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_33E879F639AA9E6D0B2D362F413CE6E6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_BDB16EE0D14DE602ECF0362F413C3834" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_33E879F639AA9E6D0B2D362F413CE6E6_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_33E879F639AA9E6D0B2D362F413CE6E6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_BDB16EE0D14DE602ECF0362F413C3834" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_33E879F639AA9E6D0B2D362F413CE6E6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_F208477BE65D319AC147362F413CFA7D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_33E879F639AA9E6D0B2D362F413CE6E6" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_F208477BE65D319AC147362F413CFA7D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_18CE0FD39B14319A0C2C362F413C4E80" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_D6D74887E636D416629F362F413C1815" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_18CE0FD39B14319A0C2C362F413C4E80" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_EDB1984768F7F46E3E72362F413CA1DA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_18CE0FD39B14319A0C2C362F413C4E80" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_EDB1984768F7F46E3E72362F413CA1DA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_2E5D58C6D53076AD3BE8362F413CF3D6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_18CE0FD39B14319A0C2C362F413C4E80" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_2E5D58C6D53076AD3BE8362F413CF3D6" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsFinancialInstrumentsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2E9145A616D0C535AE80362F46323692" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_8EA4391FCC3D314DC3ED362F4631240F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2E9145A616D0C535AE80362F46323692" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_8EA4391FCC3D314DC3ED362F4631240F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_94BCACE04448B310FFFA367A41BDCE24" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_8EA4391FCC3D314DC3ED362F4631240F" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_94BCACE04448B310FFFA367A41BDCE24" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AD620A48A9DD64C8CDA5367A41BDAF6A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_94BCACE04448B310FFFA367A41BDCE24" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AD620A48A9DD64C8CDA5367A41BDAF6A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AD620A48A9DD64C8CDA5367A41BDAF6A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_94BCACE04448B310FFFA367A41BDCE24" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AD620A48A9DD64C8CDA5367A41BDAF6A" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_ISocketIncMember" xlink:label="loc_rubi_ISocketIncMember_65FAE17564C29DF48357367A41CC57E5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AD620A48A9DD64C8CDA5367A41BDAF6A" xlink:to="loc_rubi_ISocketIncMember_65FAE17564C29DF48357367A41CC57E5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_112AD4AFF62D2F1F55A1362F46311F66" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_8EA4391FCC3D314DC3ED362F4631240F" xlink:to="loc_us-gaap_InvestmentTypeAxis_112AD4AFF62D2F1F55A1362F46311F66" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_A5914FB02B4F3B146626362F46319E4A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_112AD4AFF62D2F1F55A1362F46311F66" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_A5914FB02B4F3B146626362F46319E4A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_A5914FB02B4F3B146626362F46319E4A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_112AD4AFF62D2F1F55A1362F46311F66" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_A5914FB02B4F3B146626362F46319E4A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_31B7D760F7725FA57709362F4631FE70" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_A5914FB02B4F3B146626362F46319E4A" xlink:to="loc_us-gaap_MoneyMarketFundsMember_31B7D760F7725FA57709362F4631FE70" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_49A74DF706256385728B362F463124A6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_A5914FB02B4F3B146626362F46319E4A" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_49A74DF706256385728B362F463124A6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_09CA5076EB123D74639E362F463138D7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_A5914FB02B4F3B146626362F46319E4A" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_09CA5076EB123D74639E362F463138D7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_11067853B6634EFCEF92362F46328471" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_8EA4391FCC3D314DC3ED362F4631240F" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_11067853B6634EFCEF92362F46328471" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_427A503846A90434CAC4362F46324963_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_11067853B6634EFCEF92362F46328471" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_427A503846A90434CAC4362F46324963_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_427A503846A90434CAC4362F46324963" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_11067853B6634EFCEF92362F46328471" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_427A503846A90434CAC4362F46324963" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_67860FFD436B7C51D0F1362F46328FCC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_427A503846A90434CAC4362F46324963" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_67860FFD436B7C51D0F1362F46328FCC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2ADB6B6471EBC301A195362F4632F2EB" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_8EA4391FCC3D314DC3ED362F4631240F" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2ADB6B6471EBC301A195362F4632F2EB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A28469C883ED8B980213362F4632D9B2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2ADB6B6471EBC301A195362F4632F2EB" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A28469C883ED8B980213362F4632D9B2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A28469C883ED8B980213362F4632D9B2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2ADB6B6471EBC301A195362F4632F2EB" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A28469C883ED8B980213362F4632D9B2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_AC283F4F63820F54A721362F46322264" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A28469C883ED8B980213362F4632D9B2" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_AC283F4F63820F54A721362F46322264" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_DD0755FE82FDE4C53D6B362F463245AA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A28469C883ED8B980213362F4632D9B2" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_DD0755FE82FDE4C53D6B362F463245AA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_ADB2EB3766CA27810BB5362F46321569" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A28469C883ED8B980213362F4632D9B2" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_ADB2EB3766CA27810BB5362F46321569" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_30974B3CB33E351F6552362F463208C1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2E9145A616D0C535AE80362F46323692" xlink:to="loc_us-gaap_AvailableForSaleSecurities_30974B3CB33E351F6552362F463208C1" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationContingentConsiderationSharesIssued" xlink:label="loc_rubi_BusinessCombinationContingentConsiderationSharesIssued_20B0451D4B9EEA003323362F5B57F265" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2E9145A616D0C535AE80362F46323692" xlink:to="loc_rubi_BusinessCombinationContingentConsiderationSharesIssued_20B0451D4B9EEA003323362F5B57F265" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_65DBE32F5753989E593F3FCBDC1454EE" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_F20F40DAB3F35ECF57653FCBDC14992B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_65DBE32F5753989E593F3FCBDC1454EE" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_F20F40DAB3F35ECF57653FCBDC14992B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_5EE240F72B16779264863FCBDC14EFB1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_F20F40DAB3F35ECF57653FCBDC14992B" xlink:to="loc_us-gaap_InvestmentTypeAxis_5EE240F72B16779264863FCBDC14EFB1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_20776EF6AB08F06480C13FCBDC143B1D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_5EE240F72B16779264863FCBDC14EFB1" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_20776EF6AB08F06480C13FCBDC143B1D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_20776EF6AB08F06480C13FCBDC143B1D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_5EE240F72B16779264863FCBDC14EFB1" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_20776EF6AB08F06480C13FCBDC143B1D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_A790662774167297BC1E3FCBDC14946F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_20776EF6AB08F06480C13FCBDC143B1D" xlink:to="loc_us-gaap_MoneyMarketFundsMember_A790662774167297BC1E3FCBDC14946F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_EF67715889AAE96A3F5F3FCBDC144ABE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_F20F40DAB3F35ECF57653FCBDC14992B" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_EF67715889AAE96A3F5F3FCBDC144ABE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4113146F8CDA2CCC170D3FCBDC14DAB8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_EF67715889AAE96A3F5F3FCBDC144ABE" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4113146F8CDA2CCC170D3FCBDC14DAB8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4113146F8CDA2CCC170D3FCBDC14DAB8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_EF67715889AAE96A3F5F3FCBDC144ABE" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4113146F8CDA2CCC170D3FCBDC14DAB8" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_ISocketIncMember" xlink:label="loc_rubi_ISocketIncMember_8263376CC5A80B44BCCF3FCBDC1413F7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4113146F8CDA2CCC170D3FCBDC14DAB8" xlink:to="loc_rubi_ISocketIncMember_8263376CC5A80B44BCCF3FCBDC1413F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_3D2AA4F3FF27606F33873FCBDC140E56" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_F20F40DAB3F35ECF57653FCBDC14992B" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_3D2AA4F3FF27606F33873FCBDC140E56" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_D5F5B7103260886DF6B73FCBDC143F18_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_3D2AA4F3FF27606F33873FCBDC140E56" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_D5F5B7103260886DF6B73FCBDC143F18_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_D5F5B7103260886DF6B73FCBDC143F18" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_3D2AA4F3FF27606F33873FCBDC140E56" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_D5F5B7103260886DF6B73FCBDC143F18" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_79BA8DB8FE1D6BD3C23B3FCBDC142EC4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_D5F5B7103260886DF6B73FCBDC143F18" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_79BA8DB8FE1D6BD3C23B3FCBDC142EC4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_398BA737F54D165760D23FCBDC14D060" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_F20F40DAB3F35ECF57653FCBDC14992B" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_398BA737F54D165760D23FCBDC14D060" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_DF3B766244C99D233E933FCBDC1437C0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_398BA737F54D165760D23FCBDC14D060" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_DF3B766244C99D233E933FCBDC1437C0_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_DF3B766244C99D233E933FCBDC1437C0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_398BA737F54D165760D23FCBDC14D060" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_DF3B766244C99D233E933FCBDC1437C0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_090AFEA5E1418A08E7523FCBDC14451A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_DF3B766244C99D233E933FCBDC1437C0" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_090AFEA5E1418A08E7523FCBDC14451A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_47D4F6E4AF5781C2EB343FCBDC1496C3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_DF3B766244C99D233E933FCBDC1437C0" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_47D4F6E4AF5781C2EB343FCBDC1496C3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_2C800BDBF6B6BACF5FB03FCBDC147305" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_DF3B766244C99D233E933FCBDC1437C0" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_2C800BDBF6B6BACF5FB03FCBDC147305" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_796246F5EE34A42FB7A93FCBDC145590" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_65DBE32F5753989E593F3FCBDC1454EE" xlink:to="loc_us-gaap_AvailableForSaleSecurities_796246F5EE34A42FB7A93FCBDC145590" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_D56592954F47EA284E4E3FCBDC1494C9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_65DBE32F5753989E593F3FCBDC1454EE" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_D56592954F47EA284E4E3FCBDC1494C9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_B8ED4C7DFABEA8452EA83FCBDC14F3AD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_65DBE32F5753989E593F3FCBDC1454EE" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_B8ED4C7DFABEA8452EA83FCBDC14F3AD" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShare" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareDilutedLineItems" xlink:label="loc_us-gaap_EarningsPerShareDilutedLineItems_0B74590A5334C3341CEF3FCBDCC03D07" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_BE4F5FF1C3F1EC69B8623FCBDCC0932C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_0B74590A5334C3341CEF3FCBDCC03D07" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_BE4F5FF1C3F1EC69B8623FCBDCC0932C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_64ACD1826E4B961779A03FCBDCC0B164" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_BE4F5FF1C3F1EC69B8623FCBDCC0932C" xlink:to="loc_us-gaap_AwardTypeAxis_64ACD1826E4B961779A03FCBDCC0B164" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0687C450A2D88555603F3FCBDCC06E1D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_64ACD1826E4B961779A03FCBDCC0B164" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0687C450A2D88555603F3FCBDCC06E1D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0687C450A2D88555603F3FCBDCC06E1D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_64ACD1826E4B961779A03FCBDCC0B164" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0687C450A2D88555603F3FCBDCC06E1D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_59D6337CEBEB209F19693FCBDCC04651" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0687C450A2D88555603F3FCBDCC06E1D" xlink:to="loc_us-gaap_EmployeeStockOptionMember_59D6337CEBEB209F19693FCBDCC04651" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_7A2680B93BDDAFA27FC23FCBDCC043F2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0687C450A2D88555603F3FCBDCC06E1D" xlink:to="loc_us-gaap_RestrictedStockMember_7A2680B93BDDAFA27FC23FCBDCC043F2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_8433F80FC68E177006FF3FCBDCC0242C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0687C450A2D88555603F3FCBDCC06E1D" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_8433F80FC68E177006FF3FCBDCC0242C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_5326F8096194C34830553FCBDCC0A57C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0687C450A2D88555603F3FCBDCC06E1D" xlink:to="loc_us-gaap_EmployeeStockMember_5326F8096194C34830553FCBDCC0A57C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_7BBE656CDC4CF51793883FCBDCC0C006" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_BE4F5FF1C3F1EC69B8623FCBDCC0932C" xlink:to="loc_us-gaap_StatementClassOfStockAxis_7BBE656CDC4CF51793883FCBDCC0C006" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_54B6741B1F4D01B96FA53FCBDCC0A69F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7BBE656CDC4CF51793883FCBDCC0C006" xlink:to="loc_us-gaap_ClassOfStockDomain_54B6741B1F4D01B96FA53FCBDCC0A69F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_54B6741B1F4D01B96FA53FCBDCC0A69F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7BBE656CDC4CF51793883FCBDCC0C006" xlink:to="loc_us-gaap_ClassOfStockDomain_54B6741B1F4D01B96FA53FCBDCC0A69F" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_IncrementalCommonSharesAttributableToDilutiveEffectOfEscrowShares" xlink:label="loc_rubi_IncrementalCommonSharesAttributableToDilutiveEffectOfEscrowShares_61DFC6C2213F4B4A304B3FCBDCC00372" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_0B74590A5334C3341CEF3FCBDCC03D07" xlink:to="loc_rubi_IncrementalCommonSharesAttributableToDilutiveEffectOfEscrowShares_61DFC6C2213F4B4A304B3FCBDCC00372" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_871A707D4AABEC4C24643FCBDCC06D32" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_0B74590A5334C3341CEF3FCBDCC03D07" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_871A707D4AABEC4C24643FCBDCC06D32" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_B06418DB05D36A72FD9E3FCBDCC06C87" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_0B74590A5334C3341CEF3FCBDCC03D07" xlink:to="loc_us-gaap_EarningsPerShareDiluted_B06418DB05D36A72FD9E3FCBDCC06C87" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_782B7D87517EDE4C4D413FCBDCC0BA8A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_0B74590A5334C3341CEF3FCBDCC03D07" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_782B7D87517EDE4C4D413FCBDCC0BA8A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_A23FBAA1985577D36CEB3FCBDCC00F57" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_332DC3B15B34FF4B577F3FCBDCC09422" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_A23FBAA1985577D36CEB3FCBDCC00F57" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_332DC3B15B34FF4B577F3FCBDCC09422" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_F4D3206B01E4497841CE3FCBDCC074A5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_332DC3B15B34FF4B577F3FCBDCC09422" xlink:to="loc_us-gaap_StatementScenarioAxis_F4D3206B01E4497841CE3FCBDCC074A5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_5F4015E6BB55781FC3E33FCBDCC0A1CB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_F4D3206B01E4497841CE3FCBDCC074A5" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_5F4015E6BB55781FC3E33FCBDCC0A1CB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_5F4015E6BB55781FC3E33FCBDCC0A1CB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_F4D3206B01E4497841CE3FCBDCC074A5" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_5F4015E6BB55781FC3E33FCBDCC0A1CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProFormaMember" xlink:label="loc_us-gaap_ProFormaMember_FA3E0F9B3766BACB54EC3FCBDCC05095" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_5F4015E6BB55781FC3E33FCBDCC0A1CB" xlink:to="loc_us-gaap_ProFormaMember_FA3E0F9B3766BACB54EC3FCBDCC05095" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_B2AF5E19A72A55D0C4DE3FCBDCC06E7F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_332DC3B15B34FF4B577F3FCBDCC09422" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_B2AF5E19A72A55D0C4DE3FCBDCC06E7F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DEE1177106447B01C3F3FCBDCC05FC0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_B2AF5E19A72A55D0C4DE3FCBDCC06E7F" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DEE1177106447B01C3F3FCBDCC05FC0_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DEE1177106447B01C3F3FCBDCC05FC0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_B2AF5E19A72A55D0C4DE3FCBDCC06E7F" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DEE1177106447B01C3F3FCBDCC05FC0" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_ISocketIncMember" xlink:label="loc_rubi_ISocketIncMember_A984075DE5FD617020033FCBDCC0483C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DEE1177106447B01C3F3FCBDCC05FC0" xlink:to="loc_rubi_ISocketIncMember_A984075DE5FD617020033FCBDCC0483C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_715AC893174EDE9F0CFD3FCBDCC0748A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_332DC3B15B34FF4B577F3FCBDCC09422" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_715AC893174EDE9F0CFD3FCBDCC0748A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_B003EC65AC4DF881783E3FCBDCC0C485_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_715AC893174EDE9F0CFD3FCBDCC0748A" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_B003EC65AC4DF881783E3FCBDCC0C485_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_B003EC65AC4DF881783E3FCBDCC0C485" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_715AC893174EDE9F0CFD3FCBDCC0748A" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_B003EC65AC4DF881783E3FCBDCC0C485" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockOptionMember" xlink:label="loc_us-gaap_StockOptionMember_77F2013623EC32DD93753FCBDCC075DE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_B003EC65AC4DF881783E3FCBDCC0C485" xlink:to="loc_us-gaap_StockOptionMember_77F2013623EC32DD93753FCBDCC075DE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_FA3733DD5FDE410F88763FCBDCC0919A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_B003EC65AC4DF881783E3FCBDCC0C485" xlink:to="loc_us-gaap_RestrictedStockMember_FA3733DD5FDE410F88763FCBDCC0919A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_8A99C490C7E9EE2827693FCBDCC01A9A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_B003EC65AC4DF881783E3FCBDCC0C485" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_8A99C490C7E9EE2827693FCBDCC01A9A" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_SharesHeldinEscrowMember" xlink:label="loc_rubi_SharesHeldinEscrowMember_A4D9F3E4F1DA77A30C843FCBDCC07F69" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_B003EC65AC4DF881783E3FCBDCC0C485" xlink:to="loc_rubi_SharesHeldinEscrowMember_A4D9F3E4F1DA77A30C843FCBDCC07F69" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_1CC86863D82F1D8844B43FCBDCC0DE2D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_A23FBAA1985577D36CEB3FCBDCC00F57" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_1CC86863D82F1D8844B43FCBDCC0DE2D" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_BusinessCombinationContingentConsiderationSharesIssued" xlink:label="loc_rubi_BusinessCombinationContingentConsiderationSharesIssued_A3C02647651654E9B6FB3FCBDCC0441B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_A23FBAA1985577D36CEB3FCBDCC00F57" xlink:to="loc_rubi_BusinessCombinationContingentConsiderationSharesIssued_A3C02647651654E9B6FB3FCBDCC0441B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockDividendsIncomeStatementImpact" xlink:label="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_E080C4BAC8B587552B883FCBDCC089DA" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_A23FBAA1985577D36CEB3FCBDCC00F57" xlink:to="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_E080C4BAC8B587552B883FCBDCC089DA" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmounts" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsAmortizedCostAndFairValueOfMarketableSecuritiesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsInvestmentsInMarketableSecuritiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D8DCF3D52258C0E49E353631F81D3237" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_B06ED6275D5E795F5E6F3631F81D497C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D8DCF3D52258C0E49E353631F81D3237" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_B06ED6275D5E795F5E6F3631F81D497C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_F74725C3D0B7AEF467943631F81D999C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_B06ED6275D5E795F5E6F3631F81D497C" xlink:to="loc_us-gaap_InvestmentTypeAxis_F74725C3D0B7AEF467943631F81D999C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_261AC649DFA062042FF93631F81D627F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_F74725C3D0B7AEF467943631F81D999C" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_261AC649DFA062042FF93631F81D627F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_261AC649DFA062042FF93631F81D627F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_F74725C3D0B7AEF467943631F81D999C" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_261AC649DFA062042FF93631F81D627F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShortTermInvestmentsMember" xlink:label="loc_us-gaap_ShortTermInvestmentsMember_EFD3718F5F84BDA76ECB3631F81D13FA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_261AC649DFA062042FF93631F81D627F" xlink:to="loc_us-gaap_ShortTermInvestmentsMember_EFD3718F5F84BDA76ECB3631F81D13FA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherLongTermInvestmentsMember" xlink:label="loc_us-gaap_OtherLongTermInvestmentsMember_5F8378B009717E11A2A23631F81D3BEB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_261AC649DFA062042FF93631F81D627F" xlink:to="loc_us-gaap_OtherLongTermInvestmentsMember_5F8378B009717E11A2A23631F81D3BEB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_1B9928D8A503E957B10B3631F81D8586" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_B06ED6275D5E795F5E6F3631F81D497C" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_1B9928D8A503E957B10B3631F81D8586" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B3A64B651F7C9A13DF693631F81DD0CF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_1B9928D8A503E957B10B3631F81D8586" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B3A64B651F7C9A13DF693631F81DD0CF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B3A64B651F7C9A13DF693631F81DD0CF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_1B9928D8A503E957B10B3631F81D8586" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B3A64B651F7C9A13DF693631F81DD0CF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_7F8DA3E84511E891D8BC3631F81D796F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B3A64B651F7C9A13DF693631F81DD0CF" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_7F8DA3E84511E891D8BC3631F81D796F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_DCB8AFFDB86D82E468933631F81DC2B7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B3A64B651F7C9A13DF693631F81DD0CF" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_DCB8AFFDB86D82E468933631F81DC2B7" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_AvailableforsaleSecuritiesWeightedaverageRemainingContractualMaturity" xlink:label="loc_rubi_AvailableforsaleSecuritiesWeightedaverageRemainingContractualMaturity_FFFA7284C3550CECFE6436320C82046B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D8DCF3D52258C0E49E353631F81D3237" xlink:to="loc_rubi_AvailableforsaleSecuritiesWeightedaverageRemainingContractualMaturity_FFFA7284C3550CECFE6436320C82046B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_C5378BD6E8725D7F81A63631F81DE81E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D8DCF3D52258C0E49E353631F81D3237" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_C5378BD6E8725D7F81A63631F81DE81E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_8CDAB72CB95FEA409A2E3631F81DA3B2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D8DCF3D52258C0E49E353631F81D3237" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_8CDAB72CB95FEA409A2E3631F81DA3B2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_FB2A259D33F9C98665A73631F81D35D6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D8DCF3D52258C0E49E353631F81D3237" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_FB2A259D33F9C98665A73631F81D35D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_45C07E6E40B2A12CEAA73631F81D78F7" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D8DCF3D52258C0E49E353631F81D3237" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_45C07E6E40B2A12CEAA73631F81D78F7" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems_964F3C30B2B2038035203FCBDBEDBD35" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable" xlink:label="loc_us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable_747E393E7CB02EC05CDC3FCBDBED818F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems_964F3C30B2B2038035203FCBDBEDBD35" xlink:to="loc_us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable_747E393E7CB02EC05CDC3FCBDBED818F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_88B4E71B25F63D4B23B73FCBDBEDC5A4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable_747E393E7CB02EC05CDC3FCBDBED818F" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_88B4E71B25F63D4B23B73FCBDBEDC5A4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_658920D4ED4BC4EC33CF3FCBDBED4CCE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_88B4E71B25F63D4B23B73FCBDBEDC5A4" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_658920D4ED4BC4EC33CF3FCBDBED4CCE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_658920D4ED4BC4EC33CF3FCBDBED4CCE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_88B4E71B25F63D4B23B73FCBDBEDC5A4" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_658920D4ED4BC4EC33CF3FCBDBED4CCE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNoncurrentAssetsMember" xlink:label="loc_us-gaap_OtherNoncurrentAssetsMember_639331BE2DEF49E741173FCBDBED0649" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_658920D4ED4BC4EC33CF3FCBDBED4CCE" xlink:to="loc_us-gaap_OtherNoncurrentAssetsMember_639331BE2DEF49E741173FCBDBED0649" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember" xlink:label="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_484E577DADF33024712B3FCBDBED5743" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_658920D4ED4BC4EC33CF3FCBDBED4CCE" xlink:to="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_484E577DADF33024712B3FCBDBED5743" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_748D18FAB055D5388EA73FCBDBED61EA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems_964F3C30B2B2038035203FCBDBEDBD35" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_748D18FAB055D5388EA73FCBDBED61EA" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_AvailableforsaleSecuritiesWeightedaverageRemainingContractualMaturity" xlink:label="loc_rubi_AvailableforsaleSecuritiesWeightedaverageRemainingContractualMaturity_69DE1F6849ABEA72EFF43FCBDBED0CD3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems_964F3C30B2B2038035203FCBDBEDBD35" xlink:to="loc_rubi_AvailableforsaleSecuritiesWeightedaverageRemainingContractualMaturity_69DE1F6849ABEA72EFF43FCBDBED0CD3" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_AccountsPayableRighttoOffsetCurrent" xlink:label="loc_rubi_AccountsPayableRighttoOffsetCurrent_CF53E0B7CCFD3E1968803FCBDBED3B43" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems_964F3C30B2B2038035203FCBDBEDBD35" xlink:to="loc_rubi_AccountsPayableRighttoOffsetCurrent_CF53E0B7CCFD3E1968803FCBDBED3B43" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CBB6788E9CDA1FEC25E7363DA4CA8036" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_34D5840FB4F7BA5825CD363DA4C951DD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CBB6788E9CDA1FEC25E7363DA4CA8036" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_34D5840FB4F7BA5825CD363DA4C951DD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_A5C3F3E46B6CAFA97B65363DA4C9808C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_34D5840FB4F7BA5825CD363DA4C951DD" xlink:to="loc_us-gaap_PlanNameAxis_A5C3F3E46B6CAFA97B65363DA4C9808C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_896796A555E530E526D0363DA4C91931_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_A5C3F3E46B6CAFA97B65363DA4C9808C" xlink:to="loc_us-gaap_PlanNameDomain_896796A555E530E526D0363DA4C91931_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_896796A555E530E526D0363DA4C91931" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_A5C3F3E46B6CAFA97B65363DA4C9808C" xlink:to="loc_us-gaap_PlanNameDomain_896796A555E530E526D0363DA4C91931" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_A2014EmployeeStockPurchasePlanMember" xlink:label="loc_rubi_A2014EmployeeStockPurchasePlanMember_925007BA529043D8711D363DA4C9CC57" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_896796A555E530E526D0363DA4C91931" xlink:to="loc_rubi_A2014EmployeeStockPurchasePlanMember_925007BA529043D8711D363DA4C9CC57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_5B8A412772862263AE40363DA4CA99E6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_34D5840FB4F7BA5825CD363DA4C951DD" xlink:to="loc_us-gaap_AwardTypeAxis_5B8A412772862263AE40363DA4CA99E6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F80BEDB733E85C815D4D363DA4CA5A90_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_5B8A412772862263AE40363DA4CA99E6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F80BEDB733E85C815D4D363DA4CA5A90_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F80BEDB733E85C815D4D363DA4CA5A90" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_5B8A412772862263AE40363DA4CA99E6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F80BEDB733E85C815D4D363DA4CA5A90" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_988F6A07A98345BF038B363DA4CA256D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F80BEDB733E85C815D4D363DA4CA5A90" xlink:to="loc_us-gaap_EmployeeStockMember_988F6A07A98345BF038B363DA4CA256D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_54BD9BD0C9C3491394A1363DA4CACABA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CBB6788E9CDA1FEC25E7363DA4CA8036" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_54BD9BD0C9C3491394A1363DA4CACABA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_4DE8B7B7E2489A1573F6363DA4CAAB83" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CBB6788E9CDA1FEC25E7363DA4CA8036" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_4DE8B7B7E2489A1573F6363DA4CAAB83" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_3A05211BBCC47C99A4C9363DA4CA91F7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CBB6788E9CDA1FEC25E7363DA4CA8036" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_3A05211BBCC47C99A4C9363DA4CA91F7" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardIncreaseinSharesAuthorizedPercentofOutstandingStock" xlink:label="loc_rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardIncreaseinSharesAuthorizedPercentofOutstandingStock_059DF38C3566B7BE5796363DA4CB1B18" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CBB6788E9CDA1FEC25E7363DA4CA8036" xlink:to="loc_rubi_SharebasedCompensationArrangementbySharebasedPaymentAwardIncreaseinSharesAuthorizedPercentofOutstandingStock_059DF38C3566B7BE5796363DA4CB1B18" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_4FC25BB6A3D952F24DEB363DA4CBFA23" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CBB6788E9CDA1FEC25E7363DA4CA8036" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_4FC25BB6A3D952F24DEB363DA4CBFA23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_ED2469254C14B5E0F58B36587DAE4F75" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CBB6788E9CDA1FEC25E7363DA4CA8036" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_ED2469254C14B5E0F58B36587DAE4F75" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_02BB307DA0DFAEBDAA3D363DA4CBA0F6" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CBB6788E9CDA1FEC25E7363DA4CA8036" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_02BB307DA0DFAEBDAA3D363DA4CBA0F6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_196E9B648F586CEF69DD363DA4CBFE82" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CBB6788E9CDA1FEC25E7363DA4CA8036" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_196E9B648F586CEF69DD363DA4CBFE82" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_31F1074484DC09F33C3E363DA4CB4A9C" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CBB6788E9CDA1FEC25E7363DA4CA8036" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_31F1074484DC09F33C3E363DA4CB4A9C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_82630D9BFD759321024A363DA4CB6ED0" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CBB6788E9CDA1FEC25E7363DA4CA8036" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_82630D9BFD759321024A363DA4CB6ED0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_53839ED9AF46DA929829363DA4CCA4D7" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CBB6788E9CDA1FEC25E7363DA4CA8036" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_53839ED9AF46DA929829363DA4CCA4D7" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationExpenseDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_7637CB2C2A7078D6DC7CAAB41E01E73D" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_704EDA4BDBC6F6C456C9AAB41E009C04" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_7637CB2C2A7078D6DC7CAAB41E01E73D" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_704EDA4BDBC6F6C456C9AAB41E009C04" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_639BD60821B29B622942AAB41E0086CE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_704EDA4BDBC6F6C456C9AAB41E009C04" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_639BD60821B29B622942AAB41E0086CE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_B902C2B78C6FB1032262AAB41E0028B0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_639BD60821B29B622942AAB41E0086CE" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_B902C2B78C6FB1032262AAB41E0028B0_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_B902C2B78C6FB1032262AAB41E0028B0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_639BD60821B29B622942AAB41E0086CE" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_B902C2B78C6FB1032262AAB41E0028B0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_C5D9C3555BCEDCDE0E07AAB41E00DFAB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_B902C2B78C6FB1032262AAB41E0028B0" xlink:to="loc_us-gaap_CostOfSalesMember_C5D9C3555BCEDCDE0E07AAB41E00DFAB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_7F5AAE9CDA5D71922878AAB41E0055A9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_B902C2B78C6FB1032262AAB41E0028B0" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_7F5AAE9CDA5D71922878AAB41E0055A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_2B214E348C98363BE0F3AAB41E006CDF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_B902C2B78C6FB1032262AAB41E0028B0" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_2B214E348C98363BE0F3AAB41E006CDF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_4D5254C2C8766CFCE492AAB41E00C0A1" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_B902C2B78C6FB1032262AAB41E0028B0" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_4D5254C2C8766CFCE492AAB41E00C0A1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_8EEE8472861AE425296AAAB41E01537D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_7637CB2C2A7078D6DC7CAAB41E01E73D" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_8EEE8472861AE425296AAAB41E01537D" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockActivityDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D63AEE7C856A58BF5B624F0586320686" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_875B1F6B8619FB9FC8704F058632D2EA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D63AEE7C856A58BF5B624F0586320686" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_875B1F6B8619FB9FC8704F058632D2EA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_C0331588B893348B66614F058632C168" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_875B1F6B8619FB9FC8704F058632D2EA" xlink:to="loc_us-gaap_AwardTypeAxis_C0331588B893348B66614F058632C168" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_74848D103AB239900A104F058632791C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_C0331588B893348B66614F058632C168" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_74848D103AB239900A104F058632791C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_74848D103AB239900A104F058632791C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_C0331588B893348B66614F058632C168" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_74848D103AB239900A104F058632791C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_BBA1E14A831762383E8C4F0586323A30" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_74848D103AB239900A104F058632791C" xlink:to="loc_us-gaap_RestrictedStockMember_BBA1E14A831762383E8C4F0586323A30" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_A2180C9EA7553C8433BC4F10C3F1C698" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D63AEE7C856A58BF5B624F0586320686" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_A2180C9EA7553C8433BC4F10C3F1C698" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9F033D7D24C442D223124F0D8C1C33A7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_A2180C9EA7553C8433BC4F10C3F1C698" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9F033D7D24C442D223124F0D8C1C33A7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_FE1D2AECC78540EF19EE4F0AE3F770C2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_A2180C9EA7553C8433BC4F10C3F1C698" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_FE1D2AECC78540EF19EE4F0AE3F770C2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_82AC26435069E7E7465E4F0AE4188570" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_A2180C9EA7553C8433BC4F10C3F1C698" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_82AC26435069E7E7465E4F0AE4188570" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_21B6DC9B6E3D0D6115964F0AE43800E0" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_A2180C9EA7553C8433BC4F10C3F1C698" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_21B6DC9B6E3D0D6115964F0AE43800E0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EAF98E20CE59DD2A819A4F10256A424B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D63AEE7C856A58BF5B624F0586320686" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EAF98E20CE59DD2A819A4F10256A424B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_FB8BF3A105BA873F13A54F0E55F344C5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EAF98E20CE59DD2A819A4F10256A424B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_FB8BF3A105BA873F13A54F0E55F344C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_F78D8176D9FA21859C294F0AE409EA27" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EAF98E20CE59DD2A819A4F10256A424B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_F78D8176D9FA21859C294F0AE409EA27" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_47ACEB8954A5B86420284F0AE4275261" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EAF98E20CE59DD2A819A4F10256A424B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_47ACEB8954A5B86420284F0AE4275261" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_63553EC1517C951EA4304F0AE44AB5DB" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_EAF98E20CE59DD2A819A4F10256A424B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_63553EC1517C951EA4304F0AE44AB5DB" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_96F85EDC2399804D48A9779394B8262F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_08A6092EAC8DB61EB302779394B85D09" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_96F85EDC2399804D48A9779394B8262F" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_08A6092EAC8DB61EB302779394B85D09" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_C6DD09ABDF492BFD5A41779394B8B2F1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_08A6092EAC8DB61EB302779394B85D09" xlink:to="loc_us-gaap_AwardTypeAxis_C6DD09ABDF492BFD5A41779394B8B2F1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9F9F12ACE8D36BBC22E7779394B8C454_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_C6DD09ABDF492BFD5A41779394B8B2F1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9F9F12ACE8D36BBC22E7779394B8C454_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9F9F12ACE8D36BBC22E7779394B8C454" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_C6DD09ABDF492BFD5A41779394B8B2F1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9F9F12ACE8D36BBC22E7779394B8C454" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_4CDC6142BE3A0251B10E779394B84949" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9F9F12ACE8D36BBC22E7779394B8C454" xlink:to="loc_us-gaap_RestrictedStockMember_4CDC6142BE3A0251B10E779394B84949" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_30DA097CC91E5E962E51779394B84355" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_08A6092EAC8DB61EB302779394B85D09" xlink:to="loc_us-gaap_VestingAxis_30DA097CC91E5E962E51779394B84355" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_6FD66957DBBAAF973612779394B84C48_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_30DA097CC91E5E962E51779394B84355" xlink:to="loc_us-gaap_VestingDomain_6FD66957DBBAAF973612779394B84C48_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_6FD66957DBBAAF973612779394B84C48" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_30DA097CC91E5E962E51779394B84355" xlink:to="loc_us-gaap_VestingDomain_6FD66957DBBAAF973612779394B84C48" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_VestingRequisiteServiceConditionsMember" xlink:label="loc_rubi_VestingRequisiteServiceConditionsMember_EEDA7C3E16183B4DC119779394B8DD91" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_6FD66957DBBAAF973612779394B84C48" xlink:to="loc_rubi_VestingRequisiteServiceConditionsMember_EEDA7C3E16183B4DC119779394B8DD91" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_VestingStockPricePerformanceMember" xlink:label="loc_rubi_VestingStockPricePerformanceMember_40782D6187CC46624685779394B83085" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_6FD66957DBBAAF973612779394B84C48" xlink:to="loc_rubi_VestingStockPricePerformanceMember_40782D6187CC46624685779394B83085" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_VestingMarketingConditionsMember" xlink:label="loc_rubi_VestingMarketingConditionsMember_D78CB44DFD9805DF1970779394B8CBC0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_6FD66957DBBAAF973612779394B84C48" xlink:to="loc_rubi_VestingMarketingConditionsMember_D78CB44DFD9805DF1970779394B8CBC0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_971E4EF0DF85DAC45BA1779394B8802C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_6FD66957DBBAAF973612779394B84C48" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_971E4EF0DF85DAC45BA1779394B8802C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_9F19E0D9A14F506B137D779394B89754" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_96F85EDC2399804D48A9779394B8262F" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_9F19E0D9A14F506B137D779394B89754" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_76D388EB50D16F6683E9779394B91D09" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_96F85EDC2399804D48A9779394B8262F" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_76D388EB50D16F6683E9779394B91D09" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_E1E672EEE5002F84B672779B6BA664DC" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_96F85EDC2399804D48A9779394B8262F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_E1E672EEE5002F84B672779B6BA664DC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_4E60E37F391BB240B42E779394B9CAD1" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_96F85EDC2399804D48A9779394B8262F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_4E60E37F391BB240B42E779394B9CAD1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_4559F61604FF6A3B7CBB779394B9BEB5" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_96F85EDC2399804D48A9779394B8262F" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_4559F61604FF6A3B7CBB779394B9BEB5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_618913DDF80EB0FF0D2F779394B9C689" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_96F85EDC2399804D48A9779394B8262F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_618913DDF80EB0FF0D2F779394B9C689" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_98AE70FA535FD90282BB779394B952BD" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_96F85EDC2399804D48A9779394B8262F" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_98AE70FA535FD90282BB779394B952BD" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A2A931AC4DA4A94325D64F035AE74176" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4DCD5B56C7A2AC8488704F035AE70A60" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A2A931AC4DA4A94325D64F035AE74176" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4DCD5B56C7A2AC8488704F035AE70A60" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_ED94F281F94BC0968CDF4F035AE739A8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4DCD5B56C7A2AC8488704F035AE70A60" xlink:to="loc_us-gaap_AwardTypeAxis_ED94F281F94BC0968CDF4F035AE739A8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D06F308CF1EA94089D8C4F035AE7A78C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_ED94F281F94BC0968CDF4F035AE739A8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D06F308CF1EA94089D8C4F035AE7A78C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D06F308CF1EA94089D8C4F035AE7A78C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_ED94F281F94BC0968CDF4F035AE739A8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D06F308CF1EA94089D8C4F035AE7A78C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_DB19BE2D05F0B9CBAECA4F035AE71257" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D06F308CF1EA94089D8C4F035AE7A78C" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_DB19BE2D05F0B9CBAECA4F035AE71257" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_B59AD17C473E9E59D5DF4F09215D1D7D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A2A931AC4DA4A94325D64F035AE74176" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_B59AD17C473E9E59D5DF4F09215D1D7D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_1F864EF1221AFCA903994F09215F4E54" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_B59AD17C473E9E59D5DF4F09215D1D7D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_1F864EF1221AFCA903994F09215F4E54" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_4514040214AC5D8F57224F09215FCBB3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_B59AD17C473E9E59D5DF4F09215D1D7D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_4514040214AC5D8F57224F09215FCBB3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_8FB726E4D5936ACBB1224F09215F580A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_B59AD17C473E9E59D5DF4F09215D1D7D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_8FB726E4D5936ACBB1224F09215F580A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_694DD847E65A8351C8B94F09215FCA30" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_B59AD17C473E9E59D5DF4F09215D1D7D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_694DD847E65A8351C8B94F09215FCA30" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_A02E0A952CA3A1E54F024F0921696BEB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A2A931AC4DA4A94325D64F035AE74176" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_A02E0A952CA3A1E54F024F0921696BEB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_73E39719C8E70D93EFAF4F09216CD4A9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_A02E0A952CA3A1E54F024F0921696BEB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_73E39719C8E70D93EFAF4F09216CD4A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_EB98926EB7DA1779443C4F09216CD4C1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_A02E0A952CA3A1E54F024F0921696BEB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_EB98926EB7DA1779443C4F09216CD4C1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_4E06F8C25C2A5194AE854F09216C9A46" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_A02E0A952CA3A1E54F024F0921696BEB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_4E06F8C25C2A5194AE854F09216C9A46" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_1ACDF469A6C0A12D6C5F4F09216C0E32" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_A02E0A952CA3A1E54F024F0921696BEB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_1ACDF469A6C0A12D6C5F4F09216C0E32" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_57DE672B3CB1E17E8A824F035A332333" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_19984482291681D75C544F035A31B6B4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_57DE672B3CB1E17E8A824F035A332333" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_19984482291681D75C544F035A31B6B4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_0E8AEE4C9713BFB6DEF44F035A3107C6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_19984482291681D75C544F035A31B6B4" xlink:to="loc_us-gaap_AwardTypeAxis_0E8AEE4C9713BFB6DEF44F035A3107C6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE490114CB600FC422994F035A319E9A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_0E8AEE4C9713BFB6DEF44F035A3107C6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE490114CB600FC422994F035A319E9A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE490114CB600FC422994F035A319E9A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_0E8AEE4C9713BFB6DEF44F035A3107C6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE490114CB600FC422994F035A319E9A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_05002366175ECB9E93FC4F035A31EA0C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE490114CB600FC422994F035A319E9A" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_05002366175ECB9E93FC4F035A31EA0C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_F8D18B56522ADB0CF13F4F035A33D7F9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_19984482291681D75C544F035A31B6B4" xlink:to="loc_us-gaap_VestingAxis_F8D18B56522ADB0CF13F4F035A33D7F9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_57B7B6DDE257D2BC309E4F035A332FB2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_F8D18B56522ADB0CF13F4F035A33D7F9" xlink:to="loc_us-gaap_VestingDomain_57B7B6DDE257D2BC309E4F035A332FB2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_57B7B6DDE257D2BC309E4F035A332FB2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_F8D18B56522ADB0CF13F4F035A33D7F9" xlink:to="loc_us-gaap_VestingDomain_57B7B6DDE257D2BC309E4F035A332FB2" xlink:type="arc" />
    <loc xlink:href="rubi-20160331.xsd#rubi_VestingStockPricePerformanceMember" xlink:label="loc_rubi_VestingStockPricePerformanceMember_8B08C1397DCBBFE663384F035A332082" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_57B7B6DDE257D2BC309E4F035A332FB2" xlink:to="loc_rubi_VestingStockPricePerformanceMember_8B08C1397DCBBFE663384F035A332082" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_0AA4EDD0B95279E91ABA4F035A3303CC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_57B7B6DDE257D2BC309E4F035A332FB2" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_0AA4EDD0B95279E91ABA4F035A3303CC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_BBC5997156FD74B696014F035A33D383" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_57DE672B3CB1E17E8A824F035A332333" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_BBC5997156FD74B696014F035A33D383" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_2F6AFF688C95C17B8EA94F035A33747A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_57DE672B3CB1E17E8A824F035A332333" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_2F6AFF688C95C17B8EA94F035A33747A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_97B6E86248CE91EDE40F363DB0073DAB" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B3B0E55AA7EDCAE6E089363DB007FF65" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_97B6E86248CE91EDE40F363DB0073DAB" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B3B0E55AA7EDCAE6E089363DB007FF65" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_8FCE0FA1CDD95BE0A5CB363DB007DF6E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B3B0E55AA7EDCAE6E089363DB007FF65" xlink:to="loc_us-gaap_AwardTypeAxis_8FCE0FA1CDD95BE0A5CB363DB007DF6E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0770D50827DFCEAA0670363DB00751C2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_8FCE0FA1CDD95BE0A5CB363DB007DF6E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0770D50827DFCEAA0670363DB00751C2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0770D50827DFCEAA0670363DB00751C2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_8FCE0FA1CDD95BE0A5CB363DB007DF6E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0770D50827DFCEAA0670363DB00751C2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_7E37F11E8CA6A7442DF5363DB0073A6C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0770D50827DFCEAA0670363DB00751C2" xlink:to="loc_us-gaap_EmployeeStockOptionMember_7E37F11E8CA6A7442DF5363DB0073A6C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_DE64B17A18D6B13ED183363DB007446B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_97B6E86248CE91EDE40F363DB0073DAB" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_DE64B17A18D6B13ED183363DB007446B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_5EB4793B31BA9142EAD0363DB007C3A0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_97B6E86248CE91EDE40F363DB0073DAB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_5EB4793B31BA9142EAD0363DB007C3A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_B59F806DF17E3F3425D6363DB007331C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_97B6E86248CE91EDE40F363DB0073DAB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_B59F806DF17E3F3425D6363DB007331C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_E93A7A53E0E23C51B138363DB00807F5" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_97B6E86248CE91EDE40F363DB0073DAB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_E93A7A53E0E23C51B138363DB00807F5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_D0B8EBB0382FBBC786B1363DB00831B0" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_97B6E86248CE91EDE40F363DB0073DAB" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_D0B8EBB0382FBBC786B1363DB00831B0" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationValuationAssumptionsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_321EFC39DDEE227FDF54363DAEB6EADD" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C263D2FA3BE07F4ED6B0363DAEB6B04A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_321EFC39DDEE227FDF54363DAEB6EADD" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C263D2FA3BE07F4ED6B0363DAEB6B04A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_513BFC646BB3566B6760363DAEB68F4F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C263D2FA3BE07F4ED6B0363DAEB6B04A" xlink:to="loc_us-gaap_AwardTypeAxis_513BFC646BB3566B6760363DAEB68F4F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3E0C237D55E3151DFB9F363DAEB67D68_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_513BFC646BB3566B6760363DAEB68F4F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3E0C237D55E3151DFB9F363DAEB67D68_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3E0C237D55E3151DFB9F363DAEB67D68" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_513BFC646BB3566B6760363DAEB68F4F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3E0C237D55E3151DFB9F363DAEB67D68" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_16F6941FDDD5AE61BBF8363DAEB6D90D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3E0C237D55E3151DFB9F363DAEB67D68" xlink:to="loc_us-gaap_EmployeeStockOptionMember_16F6941FDDD5AE61BBF8363DAEB6D90D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_7609C7ECDC59D6F59A94363DAEB627CE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3E0C237D55E3151DFB9F363DAEB67D68" xlink:to="loc_us-gaap_EmployeeStockMember_7609C7ECDC59D6F59A94363DAEB627CE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_734E866A261F796932C5363DAEB79765" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_321EFC39DDEE227FDF54363DAEB6EADD" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_734E866A261F796932C5363DAEB79765" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_0B2CF1030891848D4140363DAEB7C639" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_321EFC39DDEE227FDF54363DAEB6EADD" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_0B2CF1030891848D4140363DAEB7C639" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_AF731C9AB33996FD6B7B363DAEB722C1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_321EFC39DDEE227FDF54363DAEB6EADD" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_AF731C9AB33996FD6B7B363DAEB722C1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_FA27E918D416A49F1A41363DAEB7EEE2" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_321EFC39DDEE227FDF54363DAEB6EADD" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_FA27E918D416A49F1A41363DAEB7EEE2" xlink:type="arc" />
  </definitionLink>
</linkbase>





