【】A civil rights lawyer told

Facebook lets advertisers exclude users by "ethnic affinity," according to a new report by。 ProPublica 。. 。

Companies buying targeted advertising through Facebook can exclude users who are determined to have an "affinity" for certain ethnic groups. A screenshot of an ad purchased by 。 ProPublica。 and approved by Facebook shows users excluded by "ethnic affinity" for "African American (US)," "Asian American (US)," and "Hispanic (US - Spanish dominant.)" 。

Ads that exclude people based on race, gender and "other sensitive factors" are illegal under federal law in housing and employment, ProPublica。 noted. The news organization's approved ad was related to housing.。

noted. The news organization's approved ad was related to housing.。

SEE ALSO:Facebook is about to become more NSFW 。 A civil rights lawyer told。ProPublica 。

Mashable Games

the exclusionary advertising was "massively illegal." 。

Facebook said that race is not the same as its "ethnic affinity" category. Facebook users do not explicitly self-identify with any ethnic groups.。 Facebook puts users in this category instead through their interests: liking。 BET 。 or。Ebony。

, reading content in Spanish or liking an Asian-American Chamber of Commerce. 。Mashable Top StoriesStay connected with the hottest stories of the day and the latest entertainment news.Sign up for Mashable's Top Stories newsletter 。By signing up you agree to our Terms of Use and Privacy Policy. 。

By signing up you agree to our Terms of Use and Privacy Policy. 。

Thanks for signing up!。

Facebook says that users don't have to be of a certain ethnic group to have interests that would place them in an ethnic affinity category. 。

Facebook said these ads have been used to target Hispanic-Americans during the 2014 World Cup, for companies that sell African-American hair products and for Spanish beer. 。

SEE ALSO:Facebook's livestream had one big advantage over everybody else。 "We are committed to providing people with quality ad experiences, which includes helping people see messages that are both relevant to the cultural communities they are interested in and have content that reflects or represents their communities -- not just generic content that's targeted to mass audiences," Facebook said in a statement. "We believe that multicultural advertising should be a tool for empowerment. We take a strong stand against advertisers misusing our platform: our policies prohibit using our targeting options to discriminate, and they require compliance with the law. We take prompt enforcement action when we determine that ads violate our policies."。Despite the distinction between targeting or excluding specific members of a race or ethnic group versus people who have expressed an "affinity" for that race or ethnic group,

ProPublica 。 's reporting found that ads using these tools could still be illegal.。 's reporting found that ads using these tools could still be illegal.。

Mashable ImageFacebook said it is looking into the ad 。

ProPublica。

purchased and how it was approved. The social networking company said the ad was not for housing exactly, but was instead for a renters' forum related to housing, pointing to the ad as evidence. 。

ProPublica's ad, according to Facebook.Credit: facebook 。

Other companies have come under criticism for similar targeted advertising before. A Harvard professor in 2013 found that Google ads related to background checks and arrest records appeared during searches for more "black-sounding names." Google's ad algorithm also showed ads for higher-paying jobs to more men than women.。Facebook released a blog post about the issue.。Facebook released a blog post about the issue. 。TopicsFacebookAdvertising 。