An ad opposing Roy Moore's bid for the U.S. Senate has been removed from You Tube and other digital platforms because it was misleading and confusing to voters, according to the state's top elections official.

Alabama Secretary of State John Merrill said the ad - which suggested that a record of how citizens voted in next week's Senate election would be kept on file - has been removed after discussions between his office and Google, the parent company for You Tube.

The ad was removed by Google at the request of Merrill's office, he said in a statement released Wednesday night.

The ad was produced by Highway 31, a new Alabama-based political action committee working to help Democrat Doug Jones win Tuesday's election.

Merrill said Tuesday he had received complaints about the ad "from several sources" and that his office had contacted Highway 31 to "express the misrepresentations presented in this political commercial."

Highway 31 responded by saying they would not remove the misleading information from the ad, according to Merrill.

Merrill said in the Wednesday night statement that his office contacted the media and advertising team at Google "and through several intense discussions and many references to Alabama State Law the team at Google felt the ad should be 'disapproved' and that it was in violation of the AdWords advertising policies."

Merrill reiterated that no records are kept of which candidate a citizen votes for. The only records that are kept, he said, is whether a person voted and - in the case of a primary or primary runoff - whether that person cast a ballot in the Democratic or Republican primary.

The Highway 31 ad suggested that the "community" would know whether a voter cast their ballot for Moore or Jones.

The full text of the ad:

"If you don't vote and Roy Moore - a child predator - wins, could you live with that? Your vote is public record and your community will know whether or not you helped stop Roy Moore. On Tuesday, December 12, vote for Doug Jones."

Moore has repeatedly denied allegations made by women in recent weeks that, when they were teenagers and he was in his 30s, he made unwanted romantic or sexual advances.

Moore's campaign spoke out Wednesday about another ad produced by Highway 31, which includes the statement, "Moore was actually banned from the Gadsden Mall ... for soliciting sex from young girls."

In a statement, the Moore campaign said the ad was "patently false" and had issued cease and desist letters to Highway 31.

Moore has repeatedly denied the assertion that he was ever banned from the mall and AL.com has not reported Moore was banned from the mall.

Highway 31 cited a report in New American Journal that said Moore had solicited sex from young girls for the basis of its claim in the ad. The article did not name a source for that claim.

AL.com reporter Mike Cason contributed to this report.