The quality score is a measurement of how relevant your ad is to the user. This number is based on several factors including CTR, keyword relevance and the quality of the landing page that the user is directed to through the ad.