The different eco fare family shown on TAP website all book in the same bucket.
TAP gives more miles for Plus vs Classic vs Basic in their own Miles&Go but that does not change the underlying fare bucket and all 3 credit the same to M&M.
What is the fare basis shown in your ticket? Y can be confusing as it is both the generic letter used for economy but also the most expensive economy bucket.