A Measure of Quantity, not Quality
A CPM is a media measure that values the cost-per-mille (or cost-per-thousand impressions) for an ad campaign buy.
It’s a legacy from radio and TV advertising. Networks estimated the size of their audiences so they could calculate how many times ads were exposed to listeners and viewers (impressions) and place a dollar value on that number (CPMs).