Doesn’t this rely on the app developer maintaining the correct labeling of each category? An unethical developer would just mix advertisements into all notification category, while an ethical developer wouldn’t be sending the spurious notifications in the first place.