Samsung’s Device Care app was recently updated to version 13.8.80.7. This update brought a new useful feature.
Device Care can now detect and block apps that spam your notifications with ads. The apps that spam your device will be put in deep sleep to prevent them from disturbing you. Basic blocking uses a list of “apps identified by Samsung as sending frequent ads” and blocks these when they’re detected on your phone.

The intelligent blocking option always analyses your notifications to categorise them as ads or not and blocks them if they’re frequent. Samsung also states that this determination may not always be accurate.
This ad blocking can also be done manually. You can choose to uninstall an app that spams your notifications with ads. The only difference is that Device Care provides an automated system. It’s an app that’s built into One UI so you will have it regardless of your Samsung device. The feature in question has only been seen on One UI 8.5, so updating to that version is necessary to get it. The rollout of the new feature is ongoing and may take a few more days or weeks to finish.