As others have mentioned, each service that you use for ads typically has category and advertiser blacklists that allow you to configure exactly the type of ads you want to allow in your app. Believe me, those advertisers also don't want to be wasting money advertising to the wrong user groups.