Social media giant Facebook has banned a pro-Trump advertisement after House Speaker Nancy Pelosi (D-Calif.) complained that the ad was deceptive.

The ad from the Trump re-election campaign told Facebook users, "President Trump needs you to take the Official 2020 Congressional District Census today."

Clicking on the ad would take the user to a website survey to gather their information and opinions.

Pelosi objected to the ad on Thursday in a scathing statement to reporters.

"A lie that is consistent with the misrepresentation policy of Facebook," Pelosi said.

"But now they're messing with who we are as Americans," she added, "I know the profit motive is their business model, but it should not come at the cost of counting who is in our country."

Facebook pulled the ad and explained in a statement that it didn't meet Facebook's advertisement standards.

"There are policies in place to prevent confusion around the official U.S. Census and this is an example of those being enforced," read the statement from Facebook.

Democrats also complained about a mailer from the Republican National Committee that they said bore too much resemblance to an official census request.

The RNC said it would change the mailer but denied malfeasance.

"This is a standard direct mail piece that has been utilized for decades. These mailers are fully compliant with the law, clearly marked as a fundraising solicitation from the Republican National Committee, and in no way resemble the official government census," read the RNC statement.

Here's more about the Facebook census ad: