OP, to earn E50K (equivalent of *G), your friend needs:
1a) 50K AQM - 50,000 qualifying miles; not necessarily 50K miles flown (50K BIS)
or 1b) 50K AQS - 50 qualifying segments
and
2) 3,000 AQD - qualifying spend of 3K CAD (50% less for non-Canadian residents)
Here is a good oveview with a nice chart:
https://altitude.aircanada.com/status/overview