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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019f13e3-c8c4-743a-a8af-781465fbe068,g:279bda9f-1fa2-4083-9ce4-68bff67b46bc-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:mgni="http://www.magnite.com/20260630" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.magnite.com/20260630">
  <xs:import namespace="http://fasb.org/srt/2026" schemaLocation="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2026" schemaLocation="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2024-01-31" schemaLocation="https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/country/2026" schemaLocation="https://xbrl.sec.gov/country/2026/country-2026.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei/2026" schemaLocation="https://xbrl.sec.gov/dei/2026/dei-2026.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/ecd/2026" schemaLocation="https://xbrl.sec.gov/ecd/2026/ecd-2026.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mgni-20260630_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mgni-20260630_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mgni-20260630_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mgni-20260630_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="CoverPage" roleURI="http://www.magnite.com/role/CoverPage">
        <link:definition>0000001 - Document - Cover Page</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDBALANCESHEETS" roleURI="http://www.magnite.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS">
        <link:definition>9952151 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical" roleURI="http://www.magnite.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical">
        <link:definition>9952152 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" roleURI="http://www.magnite.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS">
        <link:definition>9952153 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" roleURI="http://www.magnite.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME">
        <link:definition>9952154 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" roleURI="http://www.magnite.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY">
        <link:definition>9952155 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS&#8217; EQUITY</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" roleURI="http://www.magnite.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS">
        <link:definition>9952156 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OrganizationandSummaryofSignificantAccountingPolicies" roleURI="http://www.magnite.com/role/OrganizationandSummaryofSignificantAccountingPolicies">
        <link:definition>9952157 - Disclosure - Organization and Summary of Significant Accounting Policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NetIncomePerShare" roleURI="http://www.magnite.com/role/NetIncomePerShare">
        <link:definition>9952158 - Disclosure - Net Income Per Share</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Revenue" roleURI="http://www.magnite.com/role/Revenue">
        <link:definition>9952159 - Disclosure - Revenue</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurements" roleURI="http://www.magnite.com/role/FairValueMeasurements">
        <link:definition>9952160 - Disclosure - Fair Value Measurements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PropertyandEquipment" roleURI="http://www.magnite.com/role/PropertyandEquipment">
        <link:definition>9952161 - Disclosure - Property and Equipment</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IntangibleAssets" roleURI="http://www.magnite.com/role/IntangibleAssets">
        <link:definition>9952162 - Disclosure - Intangible Assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AccountsPayableandAccruedExpenses" roleURI="http://www.magnite.com/role/AccountsPayableandAccruedExpenses">
        <link:definition>9952163 - Disclosure - Accounts Payable and Accrued Expenses</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeaseObligations" roleURI="http://www.magnite.com/role/LeaseObligations">
        <link:definition>9952164 - Disclosure - Lease Obligations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Debt" roleURI="http://www.magnite.com/role/Debt">
        <link:definition>9952165 - Disclosure - Debt</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingencies" roleURI="http://www.magnite.com/role/CommitmentsandContingencies">
        <link:definition>9952166 - Disclosure - Commitments and Contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockBasedCompensation" roleURI="http://www.magnite.com/role/StockBasedCompensation">
        <link:definition>9952167 - Disclosure - Stock-Based Compensation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxes" roleURI="http://www.magnite.com/role/IncomeTaxes">
        <link:definition>9952168 - Disclosure - Income Taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OrganizationandSummaryofSignificantAccountingPoliciesPolicies" roleURI="http://www.magnite.com/role/OrganizationandSummaryofSignificantAccountingPoliciesPolicies">
        <link:definition>9955511 - Disclosure - Organization and Summary of Significant Accounting Policies (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NetIncomePerShareTables" roleURI="http://www.magnite.com/role/NetIncomePerShareTables">
        <link:definition>9955512 - Disclosure - Net Income Per Share (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueTables" roleURI="http://www.magnite.com/role/RevenueTables">
        <link:definition>9955513 - Disclosure - Revenue (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsTables" roleURI="http://www.magnite.com/role/FairValueMeasurementsTables">
        <link:definition>9955514 - Disclosure - Fair Value Measurements (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PropertyandEquipmentTables" roleURI="http://www.magnite.com/role/PropertyandEquipmentTables">
        <link:definition>9955515 - Disclosure - Property and Equipment (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IntangibleAssetsTables" roleURI="http://www.magnite.com/role/IntangibleAssetsTables">
        <link:definition>9955516 - Disclosure - Intangible Assets (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AccountsPayableandAccruedExpensesTables" roleURI="http://www.magnite.com/role/AccountsPayableandAccruedExpensesTables">
        <link:definition>9955517 - Disclosure - Accounts Payable and Accrued Expenses (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeaseObligationsTables" roleURI="http://www.magnite.com/role/LeaseObligationsTables">
        <link:definition>9955518 - Disclosure - Lease Obligations (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtTables" roleURI="http://www.magnite.com/role/DebtTables">
        <link:definition>9955519 - Disclosure - Debt (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesTables" roleURI="http://www.magnite.com/role/CommitmentsandContingenciesTables">
        <link:definition>9955520 - Disclosure - Commitments and Contingencies (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockBasedCompensationTables" roleURI="http://www.magnite.com/role/StockBasedCompensationTables">
        <link:definition>9955521 - Disclosure - Stock-Based Compensation (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OrganizationandSummaryofSignificantAccountingPoliciesDetails" roleURI="http://www.magnite.com/role/OrganizationandSummaryofSignificantAccountingPoliciesDetails">
        <link:definition>9955522 - Disclosure - Organization and Summary of Significant Accounting Policies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NetIncomePerShareScheduleofBasicandDilutedIncomePerShareDetails" roleURI="http://www.magnite.com/role/NetIncomePerShareScheduleofBasicandDilutedIncomePerShareDetails">
        <link:definition>9955523 - Disclosure - Net Income Per Share - Schedule of Basic and Diluted Income Per Share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NetIncomePerShareScheduleofSharesExcludedFromCalculationofDilutedNetIncomePerShareDetails" roleURI="http://www.magnite.com/role/NetIncomePerShareScheduleofSharesExcludedFromCalculationofDilutedNetIncomePerShareDetails">
        <link:definition>9955524 - Disclosure - Net Income Per Share - Schedule of Shares Excluded From Calculation of Diluted Net Income Per Share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NetIncomePerShareScheduleofActualandExpectedAchievementLevelsforPerformanceStockUnitsDetails" roleURI="http://www.magnite.com/role/NetIncomePerShareScheduleofActualandExpectedAchievementLevelsforPerformanceStockUnitsDetails">
        <link:definition>9955525 - Disclosure - Net Income Per Share - Schedule of Actual and Expected Achievement Levels for Performance Stock Units (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NetIncomePerShareNarrativeDetails" roleURI="http://www.magnite.com/role/NetIncomePerShareNarrativeDetails">
        <link:definition>9955526 - Disclosure - Net Income Per Share - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueScheduleofRevenueRecognizedonaNetBasisandonaGrossBasisDetails" roleURI="http://www.magnite.com/role/RevenueScheduleofRevenueRecognizedonaNetBasisandonaGrossBasisDetails">
        <link:definition>9955527 - Disclosure - Revenue - Schedule of Revenue Recognized on a Net Basis and on a Gross Basis (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueScheduleofDisaggregationofRevenuebyChannelDetails" roleURI="http://www.magnite.com/role/RevenueScheduleofDisaggregationofRevenuebyChannelDetails">
        <link:definition>9955528 - Disclosure - Revenue - Schedule of Disaggregation of Revenue by Channel (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueScheduleofDisaggregationofRevenuebyGeographicLocationDetails" roleURI="http://www.magnite.com/role/RevenueScheduleofDisaggregationofRevenuebyGeographicLocationDetails">
        <link:definition>9955529 - Disclosure - Revenue - Schedule of Disaggregation of Revenue by Geographic Location (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueNarrativeDetails" roleURI="http://www.magnite.com/role/RevenueNarrativeDetails">
        <link:definition>9955530 - Disclosure - Revenue - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueScheduleofAllowanceforDoubtfulAccountsDetails" roleURI="http://www.magnite.com/role/RevenueScheduleofAllowanceforDoubtfulAccountsDetails">
        <link:definition>9955531 - Disclosure - Revenue - Schedule of Allowance for Doubtful Accounts (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsScheduleofFinancialInstrumentsMeasuredatFairValueonRecurringBasisDetails" roleURI="http://www.magnite.com/role/FairValueMeasurementsScheduleofFinancialInstrumentsMeasuredatFairValueonRecurringBasisDetails">
        <link:definition>9955532 - Disclosure - Fair Value Measurements - Schedule of Financial Instruments Measured at Fair Value on Recurring Basis (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsNarrativeDetails" roleURI="http://www.magnite.com/role/FairValueMeasurementsNarrativeDetails">
        <link:definition>9955533 - Disclosure - Fair Value Measurements - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PropertyandEquipmentScheduleofMajorClassesofPropertyandEquipmentDetails" roleURI="http://www.magnite.com/role/PropertyandEquipmentScheduleofMajorClassesofPropertyandEquipmentDetails">
        <link:definition>9955534 - Disclosure - Property and Equipment - Schedule of Major Classes of Property and Equipment (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PropertyandEquipmentNarrativeDetails" roleURI="http://www.magnite.com/role/PropertyandEquipmentNarrativeDetails">
        <link:definition>9955535 - Disclosure - Property and Equipment - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PropertyandEquipmentScheduleofPropertyandEquipmentbyGeographicalRegionDetails" roleURI="http://www.magnite.com/role/PropertyandEquipmentScheduleofPropertyandEquipmentbyGeographicalRegionDetails">
        <link:definition>9955536 - Disclosure - Property and Equipment - Schedule of Property and Equipment by Geographical Region (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IntangibleAssetsScheduleofFiniteLivedIntangibleAssetsDetails" roleURI="http://www.magnite.com/role/IntangibleAssetsScheduleofFiniteLivedIntangibleAssetsDetails">
        <link:definition>9955537 - Disclosure - Intangible Assets - Schedule of Finite-Lived Intangible Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IntangibleAssetsNarrativeDetails" roleURI="http://www.magnite.com/role/IntangibleAssetsNarrativeDetails">
        <link:definition>9955538 - Disclosure - Intangible Assets - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IntangibleAssetsScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" roleURI="http://www.magnite.com/role/IntangibleAssetsScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails">
        <link:definition>9955539 - Disclosure - Intangible Assets - Schedule of Finite-Lived Intangible Assets, Future Amortization Expense (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AccountsPayableandAccruedExpensesDetails" roleURI="http://www.magnite.com/role/AccountsPayableandAccruedExpensesDetails">
        <link:definition>9955540 - Disclosure - Accounts Payable and Accrued Expenses (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeaseObligationsNarrativeDetails" roleURI="http://www.magnite.com/role/LeaseObligationsNarrativeDetails">
        <link:definition>9955541 - Disclosure - Lease Obligations - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeaseObligationsScheduleofMaturityofLeaseLiabilitiesDetails" roleURI="http://www.magnite.com/role/LeaseObligationsScheduleofMaturityofLeaseLiabilitiesDetails">
        <link:definition>9955542 - Disclosure - Lease Obligations - Schedule of Maturity of Lease Liabilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeaseObligationsScheduleofMaturityofLeaseLiabilitiesDetails_1" roleURI="http://www.magnite.com/role/LeaseObligationsScheduleofMaturityofLeaseLiabilitiesDetails_1">
        <link:definition>9955542 - Disclosure - Lease Obligations - Schedule of Maturity of Lease Liabilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeaseObligationsScheduleofRightofUseAssetsByGeographicalRegionDetails" roleURI="http://www.magnite.com/role/LeaseObligationsScheduleofRightofUseAssetsByGeographicalRegionDetails">
        <link:definition>9955543 - Disclosure - Lease Obligations - Schedule of Right-of-Use Assets By Geographical Region (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtScheduleofLongtermDebtDetails" roleURI="http://www.magnite.com/role/DebtScheduleofLongtermDebtDetails">
        <link:definition>9955544 - Disclosure - Debt - Schedule of Long-term Debt (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtScheduleofMaturitiesofPrincipleAmountofLongTermDebtDetails" roleURI="http://www.magnite.com/role/DebtScheduleofMaturitiesofPrincipleAmountofLongTermDebtDetails">
        <link:definition>9955545 - Disclosure - Debt - Schedule of Maturities of Principle Amount of Long-Term Debt (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtLongtermDebtDetails" roleURI="http://www.magnite.com/role/DebtLongtermDebtDetails">
        <link:definition>9955546 - Disclosure - Debt - Long-term Debt (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtConvertibleSeniorNotesandCappedCallTransactionsDetails" roleURI="http://www.magnite.com/role/DebtConvertibleSeniorNotesandCappedCallTransactionsDetails">
        <link:definition>9955547 - Disclosure - Debt - Convertible Senior Notes and Capped Call Transactions (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtScheduleofInterestExpenseRelatedtotheConvertibleSeniorNotesDetails" roleURI="http://www.magnite.com/role/DebtScheduleofInterestExpenseRelatedtotheConvertibleSeniorNotesDetails">
        <link:definition>9955548 - Disclosure - Debt - Schedule of Interest Expense Related to the Convertible Senior Notes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Debt2021and2024CreditAgreementsDetails" roleURI="http://www.magnite.com/role/Debt2021and2024CreditAgreementsDetails">
        <link:definition>9955549 - Disclosure - Debt - 2021 and 2024 Credit Agreements (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtScheduleofTermLoanBFacilityDetails" roleURI="http://www.magnite.com/role/DebtScheduleofTermLoanBFacilityDetails">
        <link:definition>9955550 - Disclosure - Debt - Schedule of Term Loan B Facility (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtScheduleofInterestExpenseRelatedtotheTermLoanBFacilityDetails" roleURI="http://www.magnite.com/role/DebtScheduleofInterestExpenseRelatedtotheTermLoanBFacilityDetails">
        <link:definition>9955551 - Disclosure - Debt - Schedule of Interest Expense Related to the Term Loan B Facility (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtScheduleofAmortizationExpensefortheTermLoanBFacilityDebtDiscountandIssuanceCostsDetails" roleURI="http://www.magnite.com/role/DebtScheduleofAmortizationExpensefortheTermLoanBFacilityDebtDiscountandIssuanceCostsDetails">
        <link:definition>9955552 - Disclosure - Debt - Schedule of Amortization Expense for the Term Loan B Facility Debt Discount and Issuance Costs (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtScheduleofInterestExpenseandInterestIncomeDetails" roleURI="http://www.magnite.com/role/DebtScheduleofInterestExpenseandInterestIncomeDetails">
        <link:definition>9955553 - Disclosure - Debt - Schedule of Interest Expense and Interest Income (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesNarrativeDetails" roleURI="http://www.magnite.com/role/CommitmentsandContingenciesNarrativeDetails">
        <link:definition>9955554 - Disclosure - Commitments and Contingencies - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesScheduleofContractualObligationsDetails" roleURI="http://www.magnite.com/role/CommitmentsandContingenciesScheduleofContractualObligationsDetails">
        <link:definition>9955555 - Disclosure - Commitments and Contingencies - Schedule of Contractual Obligations (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockBasedCompensationScheduleofStockOptionsActivityDetails" roleURI="http://www.magnite.com/role/StockBasedCompensationScheduleofStockOptionsActivityDetails">
        <link:definition>9955556 - Disclosure - Stock-Based Compensation - Schedule of Stock Options Activity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockBasedCompensationStockOptionsDetails" roleURI="http://www.magnite.com/role/StockBasedCompensationStockOptionsDetails">
        <link:definition>9955557 - Disclosure - Stock-Based Compensation - Stock Options (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockBasedCompensationScheduleofWeightedAverageInputAssumptionsDetails" roleURI="http://www.magnite.com/role/StockBasedCompensationScheduleofWeightedAverageInputAssumptionsDetails">
        <link:definition>9955558 - Disclosure - Stock-Based Compensation - Schedule of Weighted-Average Input Assumptions (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockBasedCompensationScheduleofRestrictedStockUnitsActivityDetails" roleURI="http://www.magnite.com/role/StockBasedCompensationScheduleofRestrictedStockUnitsActivityDetails">
        <link:definition>9955559 - Disclosure - Stock-Based Compensation - Schedule of Restricted Stock Units Activity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockBasedCompensationRestrictedStockUnitsDetails" roleURI="http://www.magnite.com/role/StockBasedCompensationRestrictedStockUnitsDetails">
        <link:definition>9955560 - Disclosure - Stock-Based Compensation - Restricted Stock Units (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockBasedCompensationPerformanceStockUnitsDetails" roleURI="http://www.magnite.com/role/StockBasedCompensationPerformanceStockUnitsDetails">
        <link:definition>9955561 - Disclosure - Stock-Based Compensation - Performance Stock Units (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockBasedCompensationScheduleofPerformanceStockUnitsActivityDetails" roleURI="http://www.magnite.com/role/StockBasedCompensationScheduleofPerformanceStockUnitsActivityDetails">
        <link:definition>9955562 - Disclosure - Stock-Based Compensation - Schedule of Performance Stock Units Activity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockBasedCompensationScheduleofWeightedAverageAssumptionsDetails" roleURI="http://www.magnite.com/role/StockBasedCompensationScheduleofWeightedAverageAssumptionsDetails">
        <link:definition>9955563 - Disclosure - Stock-Based Compensation - Schedule of Weighted Average Assumptions (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockBasedCompensationScheduleofStockBasedCompensationExpenseDetails" roleURI="http://www.magnite.com/role/StockBasedCompensationScheduleofStockBasedCompensationExpenseDetails">
        <link:definition>9955564 - Disclosure - Stock-Based Compensation - Schedule of Stock-Based Compensation Expense (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockBasedCompensationScheduleofStockBasedCompensationExpenseDetails_1" roleURI="http://www.magnite.com/role/StockBasedCompensationScheduleofStockBasedCompensationExpenseDetails_1">
        <link:definition>9955564 - Disclosure - Stock-Based Compensation - Schedule of Stock-Based Compensation Expense (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockBasedCompensationStockBasedCompensationExpenseDetails" roleURI="http://www.magnite.com/role/StockBasedCompensationStockBasedCompensationExpenseDetails">
        <link:definition>9955565 - Disclosure - Stock-Based Compensation - Stock-Based Compensation Expense (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxesDetails" roleURI="http://www.magnite.com/role/IncomeTaxesDetails">
        <link:definition>9955566 - Disclosure - Income Taxes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="mgni_InternalUseSoftwareDevelopmentCostsNet" abstract="false" name="InternalUseSoftwareDevelopmentCostsNet" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_NonCashLeaseExpense" abstract="false" name="NonCashLeaseExpense" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_OperatingLeaseRightOfUseAssetsReductionAndAdjustmentToOperatingLeaseLiabilitiesFromLeaseTerminations" abstract="false" name="OperatingLeaseRightOfUseAssetsReductionAndAdjustmentToOperatingLeaseLiabilitiesFromLeaseTerminations" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_NoncashOrPartNoncashFinancingActivity" abstract="false" name="NoncashOrPartNoncashFinancingActivity" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_ScheduleOfRightOfUseAssetsByGeographicalLocationTableTextBlock" abstract="false" name="ScheduleOfRightOfUseAssetsByGeographicalLocationTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mgni_PerformanceSharesGrantedIn2021Member" abstract="true" name="PerformanceSharesGrantedIn2021Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_PerformanceSharesGrantedIn2023Member" abstract="true" name="PerformanceSharesGrantedIn2023Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_PerformanceSharesGrantedIn2024Member" abstract="true" name="PerformanceSharesGrantedIn2024Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_PerformanceSharesGrantedIn2025Member" abstract="true" name="PerformanceSharesGrantedIn2025Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_PerformanceSharesGrantedIn2026Member" abstract="true" name="PerformanceSharesGrantedIn2026Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerformanceMeasurementPercentage" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardPerformanceMeasurementPercentage" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="mgni_ConvertibleSeniorNoteMember" abstract="true" name="ConvertibleSeniorNoteMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_BasisOfRevenueRecognitionAxis" abstract="true" name="BasisOfRevenueRecognitionAxis" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:dimensionItem" type="xbrli:stringItemType"/>
  <xs:element id="mgni_BasisOfRevenueRecognitionDomain" abstract="true" name="BasisOfRevenueRecognitionDomain" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_NetRevenueMember" abstract="true" name="NetRevenueMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_GrossRevenueMember" abstract="true" name="GrossRevenueMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_ConcentrationOfBasisOfRevenueRecognitionMember" abstract="true" name="ConcentrationOfBasisOfRevenueRecognitionMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_ConnectedTelevisionMember" abstract="true" name="ConnectedTelevisionMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_MobileMember" abstract="true" name="MobileMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_DesktopMember" abstract="true" name="DesktopMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_RevenuePaymentTerms" abstract="false" name="RevenuePaymentTerms" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mgni_AccountsPayableSeller" abstract="false" name="AccountsPayableSeller" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AccountsReceivableCreditLossExpenseReversalGross" abstract="false" name="AccountsReceivableCreditLossExpenseReversalGross" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_CreditAgreements2021And2024Member" abstract="true" name="CreditAgreements2021And2024Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour" abstract="false" name="FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AccountsPayableSellerCurrent" abstract="false" name="AccountsPayableSellerCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_IndemnificationClaimAccrualCurrent" abstract="false" name="IndemnificationClaimAccrualCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_LeasesCommencing2030Member" abstract="true" name="LeasesCommencing2030Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_IncreaseDecreaseInRightOfUseAsset" abstract="false" name="IncreaseDecreaseInRightOfUseAsset" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour" abstract="false" name="LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_CreditAgreement2024Member" abstract="true" name="CreditAgreement2024Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_LongTermDebtMaturityAfterYearFour" abstract="false" name="LongTermDebtMaturityAfterYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AmortizationOfDebtIssuanceCostAndDiscount" abstract="false" name="AmortizationOfDebtIssuanceCostAndDiscount" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_DebtInstrumentOverAllotmentOptions" abstract="false" name="DebtInstrumentOverAllotmentOptions" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_DebtInstrumentRepurchasedDuringPeriodFaceAmount" abstract="false" name="DebtInstrumentRepurchasedDuringPeriodFaceAmount" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_CreditAgreement2021Member" abstract="true" name="CreditAgreement2021Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_CreditAgreement2024DebtRepricingMember" abstract="true" name="CreditAgreement2024DebtRepricingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_AlternateBaseRateMember" abstract="true" name="AlternateBaseRateMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_DebtIssuanceCostsAxis" abstract="true" name="DebtIssuanceCostsAxis" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:dimensionItem" type="xbrli:stringItemType"/>
  <xs:element id="mgni_DebtIssuanceCostsDomain" abstract="true" name="DebtIssuanceCostsDomain" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_DebtDiscountMember" abstract="true" name="DebtDiscountMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_DebtRefinanceCostMember" abstract="true" name="DebtRefinanceCostMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_LineOfCreditFacilityCovenantComplianceDebtUtilizationTriggeringLeverageRatioCompliancePercentage" abstract="false" name="LineOfCreditFacilityCovenantComplianceDebtUtilizationTriggeringLeverageRatioCompliancePercentage" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="mgni_LineOfCreditFacilityCovenantComplianceLeverageRatioMaximum" abstract="false" name="LineOfCreditFacilityCovenantComplianceLeverageRatioMaximum" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:pureItemType"/>
  <xs:element id="mgni_DebtInstrumentPeriodicPaymentPercentageOfPrincipal" abstract="false" name="DebtInstrumentPeriodicPaymentPercentageOfPrincipal" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="mgni_DebtInstrumentAnnualPrincipalPaymentPercentage" abstract="false" name="DebtInstrumentAnnualPrincipalPaymentPercentage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="mgni_DebtInstrumentNoncashOrPartNoncashFinancingActivity" abstract="false" name="DebtInstrumentNoncashOrPartNoncashFinancingActivity" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AmortizationOfDebtDiscountsAbstract" abstract="true" name="AmortizationOfDebtDiscountsAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mgni_AmortizationOfDebtDiscountPremiumRemainderOfFiscalYear" abstract="false" name="AmortizationOfDebtDiscountPremiumRemainderOfFiscalYear" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AmortizationOfDebtDiscountPremiumYearOne" abstract="false" name="AmortizationOfDebtDiscountPremiumYearOne" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AmortizationOfDebtDiscountPremiumYearTwo" abstract="false" name="AmortizationOfDebtDiscountPremiumYearTwo" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AmortizationOfDebtDiscountPremiumYearThree" abstract="false" name="AmortizationOfDebtDiscountPremiumYearThree" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AmortizationOfDebtDiscountPremiumYearFour" abstract="false" name="AmortizationOfDebtDiscountPremiumYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AmortizationOfDebtDiscountPremiumAfterYearFour" abstract="false" name="AmortizationOfDebtDiscountPremiumAfterYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AmortizationOfDebtIssuanceCostsAbstract" abstract="true" name="AmortizationOfDebtIssuanceCostsAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mgni_AmortizationOfDebtIssuanceCostsRemainderOfFiscalYear" abstract="false" name="AmortizationOfDebtIssuanceCostsRemainderOfFiscalYear" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AmortizationOfDebtIssuanceCostsYearOne" abstract="false" name="AmortizationOfDebtIssuanceCostsYearOne" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AmortizationOfDebtIssuanceCostsYearTwo" abstract="false" name="AmortizationOfDebtIssuanceCostsYearTwo" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AmortizationOfDebtIssuanceCostsYearThree" abstract="false" name="AmortizationOfDebtIssuanceCostsYearThree" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AmortizationOfDebtIssuanceCostsYearFour" abstract="false" name="AmortizationOfDebtIssuanceCostsYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_AmortizationOfDebtIssuanceCostsAfterYearFour" abstract="false" name="AmortizationOfDebtIssuanceCostsAfterYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_ContractualObligationToBePaidAfterYearFour" abstract="false" name="ContractualObligationToBePaidAfterYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgni_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodGross" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodGross" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="mgni_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsUnvestedAndVestedButDeferredNumber" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsUnvestedAndVestedButDeferredNumber" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="mgni_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedAndVestedButDeferredWeightedAverageGrantDateFairValue" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedAndVestedButDeferredWeightedAverageGrantDateFairValue" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:perShareItemType"/>
  <xs:element id="mgni_ShareBasedPaymentArrangementAggregateTargetMember" abstract="true" name="ShareBasedPaymentArrangementAggregateTargetMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodIncludingGrantsAboveTargetWeightedAverageGrantDateFairValue" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodIncludingGrantsAboveTargetWeightedAverageGrantDateFairValue" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:perShareItemType"/>
  <xs:element id="mgni_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodAboveTarget" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodAboveTarget" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="mgni_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsSelectedPeerCompaniesWeightedAverageVolatilityRate" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsSelectedPeerCompaniesWeightedAverageVolatilityRate" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="mgni_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsCorrelationCoefficients" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsCorrelationCoefficients" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="mgni_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsSelectedPeerCompaniesCorrelationCoefficients" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsSelectedPeerCompaniesCorrelationCoefficients" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="mgni_A2014EmployeeStockPurchasePlanMember" abstract="true" name="A2014EmployeeStockPurchasePlanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_SarahHardenMember" abstract="true" name="SarahHardenMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_KatieEvansMember" abstract="true" name="KatieEvansMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_AaronSaltzMember" abstract="true" name="AaronSaltzMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgni_DaveBounaseraMember" abstract="true" name="DaveBounaseraMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
</xs:schema>
