Do hours flying "advanced ultralight" aircraft contribute towards your license in Canada?
It looks like you can count the flight hours towards a recreational license if you logged the hours in an advanced ultralight with an aeroplane certificate of airworthiness.
For the private pilot license only 10 hours in three-axis ultralights can be counted.
For a commercial ticket a maximum of 25 hours pilot-in-command flight time in three axis ultra-light aeroplanes can be counted towards the 200 hours total flight time requirement but this time does not count towards the 100 hour pilot-in-command flight time.
This is based on my cursory reading of the requirements. I would suggest you talk to a reputable flight training organization or Canadian aviation authorities for confirmation.