Cost per thousand impressions (CPM) is a widely used metric in online advertising that determines how much an advertiser pays…