Facebook will no longer allow advertising for certain things to exclude people from its ads based on race or ethnicity, it says.
The company said on Friday it would no longer allow certain advertisers to exclude racial or ethnic groups when placing ads on its service, following criticism that the practice was discriminatory.
The move came amid growing scrutiny of how the world's largest online social media network's policies and algorithms shape what content appears in a user's news feed.
The unexpected victory of Donald Trump in the US presidential election this week has prompted questions over how much voters were swayed by inaccurate or misleading news items shared on Facebook.
Facebook will disable use of the advertising tool called 'ethnic affinities,' for ads that offer housing, employment and extension of credit - areas where certain groups have historically faced discrimination, the company said in a blog post.
"There are many non-discriminatory uses of our ethnic affinity solution in these areas, but we have decided that we can best guard against discrimination by suspending these types of ads," Facebook's chief privacy officer Erin Egan said.
Facebook collects vast amounts of data on its users, including photographs, allowing it to demographically categorize them in ways that allow advertisers to precisely target content to those they want to reach.
The company said it would now use tools that automatically detect and disable ads offering housing, employment or credit that relied on ethnic affinity marketing, Egan said.
It would also update its policies to more explicitly require advertisers to not engage in discriminatory advertising.
The changes come two weeks after ProPublica, a non-profit investigative news organization, published an article showing how Facebook allowed advertisers to exclude groups on the basis of ethnic affinities, a practice it said may violate federal housing and civil rights laws passed in the 1960s.
A group of Facebook users filed a lawsuit against the company after the ProPublica report, claiming such ad targeting violated the Fair Housing Act and Civil Rights Act.
Facebook has attracted criticism in recent months for how it polices several forms of content for its 1.8 billion users, including extremist propaganda, nudity and misleading or inaccurate political articles, which have become known as 'fake news.'
The company has been accused by some reporters, political observers and some in Silicon Valley of helping Mr Trump win Tuesday's election by doing little to limit the spread of such items, many from dubious websites, on its service.
Facebook chief executive Mark Zuckerberg rejected those claims on Thursday.
"I think the idea that fake news on Facebook, [which is] a very small amount of the content, influenced the election in any way, is a pretty crazy idea," Mr Zuckerberg said at a technology conference in California.