Ad Rank is a calculation of max CPC, quality score (expected CTR, ad relevance, landing page experience), the expected impact of ad extensions and ad formats as well as other contextual factors like location and device. It determines if your ad is eligible to show and where it appears on the page relative to other ads.