The advertisement, which features a recording of Ronald Reagan, was sharply criticized by the U.S. president.