Google Ads Ad Rank is determined by six factors: bid, ad and landing page quality, Ad Rank thresholds, auction competitiveness, search context (location, device, time, search terms), and expected impact from ad assets.
Source: Google, About Ad Rank — Google Ads Help (2023)