Try these experimental filters in Ublock Origin (I don't know if they are working with uBO Legacy...).
From:
https://old.reddit.com/r/uBlockOrigin/comments/1nf7heb/youtube_ads_detection_breakages_2025_megathread_2/
It worked for me in current Firefox.
</Offtopic>