Question
Is earning money through YouTube ads permissible? And if a person donates a part of this money, does it make it permissible?
Answer
I say, and with God's help: The profit from it is permissible as long as the advertisements do not involve prohibited things, and giving charity from a portion of the forbidden money does not make the remaining part permissible. And God knows best.