No that is also illegal. You can not target advertisements based on protected characteristics.
> the Justice Department secured a settlement agreement with Meta (formerly Facebook) in February 2025, alleging that Meta’s ad delivery system used machine-learning algorithms relying on Fair Housing Act (FHA)-protected characteristics such as race, national origin, and sex to determine who saw housing ads
It would take a lengthy essay to explain all the ways you've misunderstood how the law works in the United States, but in summary FHA rules only apply to FHA cases,
Furthermore, you seem to be conflating different meanings of the word "advertisement" where the one you've chosen to support your point is a broad meaning that would seem to make Barbie commercials that feature only girls illegal (which is obviously not the case).
> the Justice Department secured a settlement agreement with Meta (formerly Facebook) in February 2025, alleging that Meta’s ad delivery system used machine-learning algorithms relying on Fair Housing Act (FHA)-protected characteristics such as race, national origin, and sex to determine who saw housing ads