Is it permissible to earn money from online advertisements that may include Haram content, even if I do not have control over or endorse the ads being displayed?
Online advertisements which include sinful content must be avoided. Earning from such advertisements which contain sinful content is not lawful.
Wassalam.