No, you get them according to the flight designator. Lets say you are going LAX-SYD. If you take QF12, you get 70% miles. If you take AA7364, you get 100% miles. Even though it's the same flight. Yes, the AA tickets are often a bit more, in part because you get miles. More often, though, it just has to do with the pricing structure that the companies use.