Facebook Will Pay $40 Million to Settle Advertiser Lawsuits Claiming It Inflated Video Views By Up to 900%

Facebook has agreed to pay $40 million to settle charges by advertisers it overstated the average amount of time users watched video on the platform.

The class action suit was filed three years ago and, until this offer, Facebook has contested (and continues to contest) the action, saying it was “without merit.” Plaintiffs said “average viewership metrics were not inflated by only 60%-80%; they were inflated by some 150 to 900%,” in an amended complaint.

While it disputes the lawsuit, Facebook did admit in 2016 to inflating its average video viewing figures by only counting views that lasted longer than three seconds.

The settlement is focused on the advertisers, with 70% of the settlement earmarked for them (with the rest being reserved for attorney fees). However, the overall cost of the issue was higher, since companies ultimately cut a large the number of video-focused jobs when it became apparent that the medium wasn’t as popular as it had been made to seem. (Some observers suggested that Facebook’s inflation of video viewing figures affected not only advertisers but also media outlets.)

The matter now goes before U.S. District Court Judge Jeffrey White, who will rule as to whether the settlement offer is sufficient. The plaintiffs have thrown their support behind the offer.

Facebook has had issues with providing incorrect metrics before this suit. In May 2017 it issued refunds to some advertisers after admitting that it told them people had clicked on their video ads even if those users were just trying to resize the video carousel. And the following September analysts accused Facebook of wildly overstating the potential reach of ads.

More must-read stories from Fortune:

—Apple CEO Tim Cook has plenty to say as new hardware looms
How Russian PR firms plant stories for companies in U.K. news outlets, social media
—Behind the ouster of eBay’s CEO? A trend every tech company should pay attention to
—From porn to scams, deepfakes are unnerving business leaders and lawmakers
Why Apple is offering cheaper streaming and iPhones

Catch up with Data Sheet, Fortune’s daily digest on the business of tech.

Subscribe to Data Sheet, our daily newsletter about the business of tech. Sign up for free.