Also consider outside your home too - either permantly VPNing back through your home network, or (ie for Android) Tracker Control, which will block most ad / sdk / geo trackers that it knows about.
The Pi-Hole itself is very straightforward if you're cool with using docker - the example docker-compose.yaml on Docker Hub just worked for me. But getting your devices to use the Pi-Hole instead of their usual DNS server can be harder than it should be.
I had to put my pihole on a brake for a while. I had it installed on a raspberry pi 3 and it destroyed 2 SD cards in a month. Now it just runs piVPN and all is well.
Gonna reinstall next time I get a newer raspberry.
Check out the overlay filesystem. I'm using it for one pi and have had the same SD card for years. I don't know if it'll work for pinole, but may get you thinking in a new direction.
I just learned that san disk has a 10 year warranty. Today I made a claim for a 5 year old sdcard. Maybe worth a shot. (Just check with ypur manufacturer.)
Does turning off wifi, force stopping apps, clearing cache, and using a privacy friendly browser work? I been doing that for years and I don't see any intrusive/malicious/super specific targeted ads, heck, ads had been minimal and only appear while I use apps.
Preferring websites to apps when possible makes this approach more effective. If you use apps with ads in them, they will likely get sensitive information as described in the article.
System wide ad blocking helps more. Private DNS is the easiest way; Mullvad provides a free option.