Come across this interesting image from ppcblog.com on how Google works, you can be rest assured that this is not the half of it. In all my conversations with AdWords reps they seem to have only half of the picture when it comes to quality score, ad ranking etc.. Hope this can shed some light for you