I'm a software engineer. My impression is that pay for PMs (product managers) is very similar, although I couldn't say for sure. Not sure about other positions. And for QA specifically, I believe a lot are hired through a vendor so I imagine it would be very different.
I don't know if I have particularly useful advice. I think honestly it's a mix of happening to be good at what I do, working hard, and being in the right place at the right time (both in terms of ending up Google and being on the teams/projects that I did which helped me rise quickly).
The only thing I would say is that I very much did not go in expecting this or with the idea of optimizing for it. When I joined at the end of 2007, Google was already post-IPO and it wasn't clear (to me at least) that there was "big bucks" to be made there. At that time, it seemed like going into finance or to a startup was the way to go to optimize for that, and I thought I was leaving a bunch on the table picking Google over those. I do think it helped working with the mindset of doing what I truly enjoyed instead of "doing it for the money".