Here, M stands as Roman M, which is equivalent to a thousand. This means advertisers pay to publisher when they get 1000 Ad impressions on their website.