Paying for an ad-free service will prevent ads.
Example: YouTube Premium.
Example: YouTube Premium.
Granted they're the ones creators put in their own videos, which is kind of a technicality. Premium does block the overt ads that YouTube itself pushes. (There's no telling if it blocks submarine ads that are videos) However, it was promised to block all ads, and that's what the lawsuit is about.