Quality score is one part of the equation that determines ad rank. It calculates the relevancy of an ad to its users, and is determined by a number of factors, among which are:
- Your click-through rate (CTR).
- The relevance of each keyword to its ad group.
- Landing page quality and relevance.
- The relevance of your ad text.
- Your historical AdWords account performance.