The company’s team clarified that their terms prohibit third-party apps from disabling ads, as it denies creators their due reward for viewership. Although the announcement did not specify any app by name, it’s plausible to presume that third-party YouTube apps such as NewPipe, YouTube ReVanced, Piped, and others might be implicated.
So NewPipe doesn’t use yt API and it never accepted its terms, so NewPipe is safe (from my understanding)