He'd have more take-home income if he worked outside of ad-tech and didn't give 50% of income to charity. So from a utilitarian perspective, I think I'm basically fine with this? Even if ads are "evil" (I am skeptical), they are very much a first-world problem compared with major global problems like malaria, clean drinking water, and hygienic bathrooms.
The trick to the utilitarian calculation is to include the externalities of all the work he's putting in -- an engineer's salary is only a subset of the value they create for the company.
The question is really how do you count all that excess "value", and is it good-value or evil-value. Once upon a time, the culture over there explicitly stated that they didn't want it to be evil... the bikeshedding going on here is opinions about the current implications of it all.