Karen Nyberg, a retired astronaut who is married to Doug Hurley, one of the astronauts aboard the SpaceX rocket launched this week, also complained about being featured in the ad without her consent.
"I find it disturbing that a video image of me and my son is being used in political propaganda without my knowledge or consent. That is wrong," she tweeted.
Trump traveled to Florida on Saturday to watch the successful launch of the NASA/SpaceX rocket and to give a speech at the Kennedy Space Center, saying "the United States has regained our place of prestige as the world leader."
The President continued: "You can't be number one on earth if you are number two in space," and that "we are not going to be number two anywhere."
The video no longer appears on the campaign's YouTube channel. The Trump campaign did not immediately respond to a request for comment.
It's not clear whether NASA administrator Jim Bridenstine, who accompanied Trump at last Saturday's launch, was aware of the ad beforehand.