Originally Posted by
kellyl
Booked YYC-SFO on AC.com, flex fare. United plane. Miles came in at only 50% instead of 100% AQM. United booking class is "S". Doesn't AC owe me 100% AQM on this flight since I booked Flex fare with them?

Unfortunately no, and the fact you booked on aircanada.com means you would have passed several pages where you would have seen this. These pages are somewhat buried, but they are there, and you would have clicked on "I accept, Continue" before purchasing, so there isn't much you can do.
Had you hovered over the details for "Flex" you would have seen that the mileage earning is only for flights operated by Air Canada.
On the next page (Review Flight Details) you would have seen the following:
Flight ACXXXX: This is a codeshare flight with United Express/Skywest Airlines. For important information regarding certain rules applied on United Airlines (e.g. baggage allowance and fees), please visit
www.united.com. You can also learn more about
Aeroplan mileage accumulation for this flight.
The message might have been slightly different depending on if the operating carrier was Skywest, United mainline, etc. but the link would have been the same.
The link above shows that it is the booking fare code, not family (i.e. Tango/Flex) that matters on codeshare flights. If you were booked in AC classes B M U H Q V you would earn 100%, otherwise only 50%. UA S does not necessarily mean you were booked into S on AC.