(Reuters) - Alphabet Inc’s Google will stop giving advertisers the ability to target election ads using data such as public voter records and general political affiliations, the company said in a blog post on Wednesday.

FILE PHOTO: The Google logo is displayed outside the company offices in New York, U.S., June 4, 2019. REUTERS/Brendan McDermid/File Photo

The move coincides with pressure on social media platforms over their handling of political advertising ahead of the U.S. presidential election in 2020.

Google said it would limit audience targeting for election ads to age, gender and general location at a postal code level. Political advertisers also can still contextually target, such as serving ads to people reading about a certain topic.

Previously, verified political advertisers could also target ads using data gleaned from users’ behavior, such as search actions, that categorized them as left-leaning, right-leaning or independent. They could also upload data such as voter file lists to target ads to a lookalike audience which exhibited similar behaviors to those in the data.

Google will enforce the new approach in the United Kingdom within a week, ahead of the Dec. 12 general election. Google said it would enforce it in the European Union by the end of the year and in the rest of the world starting on Jan. 6, 2020.

“Given recent concerns and debates about political advertising, and the importance of shared trust in the democratic process, we want to improve voters’ confidence in the political ads they may see on our ad platforms,” Scott Spencer, vice president of product management for Google Ads, said in the blog post.

The changes are expected to prompt political campaigns to shift some ads to television and Google’s smaller rivals.

Tim Cameron, chief executive of FlexPoint Media, which buys ads for Republican campaigns, said he will stop licensing Google’s ad-buying tool in January because of the new restrictions.

The voter file feature had enabled FlexPoint to target people who did not regularly cast a ballot and encourage them to turn out. The loss of such targeting could result in “a slow decline of civic participation” and hurt the ability of “insurgent, underfunded candidates” to gain support, Cameron said.

Google also added examples to its misrepresentation policy to show that it would not allow false claims about election results or the eligibility of political candidates based on age or birthplace.

Last month, Google refused to remove an ad run by President Donald Trump’s re-election campaign on its YouTube video-streaming service that Democratic presidential hopeful Joe Biden’s campaign said contained false claims, because it did not violate the policy.

A Google spokeswoman told Reuters on Wednesday that the video would still be allowed under the latest policy.

Google also clarified that its policies for political and nonpolitical ads prohibit doctored and manipulated media.

On Dec. 3, the company will expand its ad transparency efforts to ads related to state-level elections, including them in an online database created to catalog political advertising.

Twitter Inc has banned political ads, while Facebook Inc is reviewing its policies after criticism from lawmakers and regulators over its decision to not fact-check ads run by politicians.