Google’s quality score determine how relevant the ad is to the user. It is based on ad’s CTR(Click through ratio), the quality of landing page and the keywords.