The communities that I manage are monetized via display advertising. I only work with reputable companies and have restrictions in place to ensure that the ads served meet my standards.
All networks worth your time will be actively protecting their publishers from ads that serve up malware. That’s obvious. But they’ll also provide you with filters that you can set to restrict the types of creatives they serve and the content of those creatives.
For me, this means no popup ads. No ads that expand automatically. No ads that play sound automatically. No ads related to sexuality. No ads related to gambling and betting. And there are other standards, as well. AdSense is very good about this, as are most networks you’d want to work with.