Gender, race, ethnicity - these are all morally neutral. But homosexuality is - involves voluntary sexual conduct with serious public health, social, sociological implications. It's not irrational to discriminate on that basis.
A good advertisement is one which sells the product without drawing attention to itself.