Facebook knew of problems with how it measured viewership of video ads for more than a year before it revealed them in 2016, according to a complaint filed by advertisers.