Don't fly Air Canada metal if you want *A partner credit (or seat assignments).
I booked an SFO-YVR ticket on united's website - the flights were codeshare on AC metal. [Of course, UA doesn't inform you that you have to check in at AC rather than UA, and that AC is in the SFO domestic terminal even though last I checked British Columbia was not part of the 50 states

but that is another matter.]
Anyway, I had my UA MP # and Mrs. Boraxo's # in both the UA and AC the reservation records, it even printed the #s on the AC boarding passes. Lo and behold, no flight credits.

I then went through a song and dance with UA regarding the missing miles. UA demanded the E-ticket serial # (which I never received), and the credit card statement doesn't provide the full 16-digit #. We finally received our measely 1600 miles each after sending in the original AC boarding cards and the email itinerary. [Both AC and UA also said it was impossible to get advance seat assignments though that was never disclosed up front either - but that's another story.]
Contrast to my experience with another *A carrier - SAS - which posted the miles very quickly. ^
It will be a cold day in ++++ before I fly AC again.