Any website can connect with Google AdSense and can publish advertisement through it; in this way the website owners can earn money (Google collects the money from the advertisement publisher and shares these earnings with the website owner who shows their advertisements).
Unfortunatley, the website owner can't fully control which advertisement will be shown on his website, as it's determined automatically by some program which Google uses to dispatch the advertisement according the web page content/material. For example, if your web page shows articles about real estate then Google may choose to display real estate business-related advertisements.
Website owners do have access to some filtering based on advertisement category (e.g. financing, wine, real estate etc.) which he can apply so that if he doesn't want to show advertisements from a specific category then he can disable those particular advertisements.
Advertisements can also be either text or image, and the website owner can also decide to show text advertisements or image advertisements.
Now my actual questions are:
- If I don't filter any advertisements based on category or text or image then will the earning from this AdSense be halal in Islam?
- If I do filter the advertisements based on category (i.e. don't show advertisements from categories containing directly haram businesses such as interest based bank/financing, wine or adult products) then will the earning be halal? (In this case there would still be a possibility of showing image advertisements with short dressed woman or something like that which is not permissible in Islam)
- If I filter both based on category (as explained above) and disable image advertisements entirely, would the earning then be halal?
- Would it be a problem if other religions (e.g. Christianity) end up advertised?
Basically, I just need to know how (if possible) to make the earnings from AdSense halal.
Ideally, answers should include authentic sources (e.g. Qur'an, Sahih Hadith, credible Islamic research, or the opinions of well-known Arab Sheikh).