<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/schedule13g" xmlns:com="http://www.sec.gov/edgar/common">
  <schemaVersion>X0202</schemaVersion>
<headerData>
    <submissionType>SCHEDULE 13G/A</submissionType>
    <filerInfo>
      <filer>
        <filerCredentials>
          <cik>0000919859</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>



    </filerInfo>
  </headerData>
  <formData>
    <coverPageHeader>
      <amendmentNo>21</amendmentNo>
      <securitiesClassTitle>Common Shares</securitiesClassTitle>
      <eventDateRequiresFilingThisStatement>09/30/2026</eventDateRequiresFilingThisStatement>
      <issuerInfo>
        <issuerCik>0001468079</issuerCik>
        <issuerName>ADVANTAGE OIL &amp; GAS LTD.</issuerName>
        <issuerCusips>
          <issuerCusipNumber>00791P107</issuerCusipNumber>
        </issuerCusips>
        <issuerPrincipalExecutiveOfficeAddress>
          <com:street1>300, 440 - 2 AVENUE SW</com:street1>
          <com:city>CALGARY</com:city>
          <com:stateOrCountry>A0</com:stateOrCountry>
          <com:zipCode>T2P 5E9</com:zipCode>
        </issuerPrincipalExecutiveOfficeAddress>
      </issuerInfo>
      <designateRulesPursuantThisScheduleFiled>
        <designateRulePursuantThisScheduleFiled>Rule 13d-1(c)</designateRulePursuantThisScheduleFiled>
      </designateRulesPursuantThisScheduleFiled>
    </coverPageHeader>
    <coverPageHeaderReportingPersonDetails>

      <reportingPersonName>MACKENZIE FINANCIAL CORP</reportingPersonName>
      <memberGroup>b</memberGroup>
      <citizenshipOrOrganization>A6</citizenshipOrOrganization>
      <reportingPersonBeneficiallyOwnedNumberOfShares>
        <soleVotingPower>16667817.00</soleVotingPower>
        <sharedVotingPower>0.00</sharedVotingPower>
        <soleDispositivePower>16667817.00</soleDispositivePower>
        <sharedDispositivePower>0.00</sharedDispositivePower>
      </reportingPersonBeneficiallyOwnedNumberOfShares>
      <reportingPersonBeneficiallyOwnedAggregateNumberOfShares>16667817.00</reportingPersonBeneficiallyOwnedAggregateNumberOfShares>
      <classPercent>9.9</classPercent>
      <typeOfReportingPerson>IA</typeOfReportingPerson>
    </coverPageHeaderReportingPersonDetails>
    <items>
      <item1>
        <issuerName>ADVANTAGE OIL &amp; GAS LTD.</issuerName>
        <issuerPrincipalExecutiveOfficeAddress>300, 440 - 2 AVENUE SW, CALGARY, ALBERTA, CANADA, T2P 5E9</issuerPrincipalExecutiveOfficeAddress>
      </item1>
      <item2>
        <filingPersonName>Mackenzie Financial Corporation</filingPersonName>
        <principalBusinessOfficeOrResidenceAddress>180 Queen Street West, Toronto, Ontario M5V 3K1</principalBusinessOfficeOrResidenceAddress>
        <citizenship>Organized in Toronto, Ontario, Canada</citizenship>
      </item2>
      <item3>
        <notApplicableFlag>N</notApplicableFlag>
        <typeOfPersonFiling>IA</typeOfPersonFiling>
      </item3>
      <item4>
        <amountBeneficiallyOwned>16,667,817</amountBeneficiallyOwned>
        <classPercent>9.96%</classPercent>
        <numberOfSharesPersonHas>
          <solePowerOrDirectToVote>16,667,817</solePowerOrDirectToVote>
          <sharedPowerOrDirectToVote>NIL</sharedPowerOrDirectToVote>
          <solePowerOrDirectToDispose>16,667,817</solePowerOrDirectToDispose>
          <sharedPowerOrDirectToDispose>NIL</sharedPowerOrDirectToDispose>
        </numberOfSharesPersonHas>
      </item4>
      <item5>
        <notApplicableFlag>Y</notApplicableFlag>
      </item5>
      <item6>
        <notApplicableFlag>Y</notApplicableFlag>
      </item6>
      <item7>
        <notApplicableFlag>Y</notApplicableFlag>
      </item7>
      <item8>
        <notApplicableFlag>Y</notApplicableFlag>
      </item8>
      <item9>
        <notApplicableFlag>Y</notApplicableFlag>
      </item9>
      <item10>
        <notApplicableFlag>N</notApplicableFlag>
        <certifications>By signing below I certify that, to the best of my knowledge and belief, the securities referred to above were acquired and are held in the ordinary course of business and were not acquired and are not held for the purpose of or with the effect of changing or influencing the control of the issuer of the securities and were not acquired and are not held in connection with or as a participant in any transaction having that purpose or effect, other than activities solely in connection with a nomination under &amp;#167; 240.14a-11.

By signing below I certify that, to the best of my knowledge and belief, the securities referred to above were not acquired and are not held for the purpose of or with the effect of changing or influencing the control of the issuer of the securities and were not acquired and are not held in connection with or as a participant in any transaction having that purpose or effect, other than activities solely in connection with a nomination under &amp;#167; 240.14a-11.

</certifications>
      </item10>
    </items>
    <signatureInformation>
      <reportingPersonName>MACKENZIE FINANCIAL CORP</reportingPersonName>
      <signatureDetails>
        <signature>Gillian Seidler</signature>
        <title>Vice-President &amp; Chief Compliance Officer</title>
        <date>11/03/2026</date>
      </signatureDetails>
    </signatureInformation>
  </formData>
</edgarSubmission>
