But the strategy backfired a bit when Obama canceled plans to visit wounded troops at a military hospital in Germany.
Obama had been part of a congressional delegation that visited Iraq and Afghanistan, but when that trip ended Obama stayed on the road, spending several days on a campaign-funded tour of Europe. Landstuhl Regional Medical Center in Landstuhl, Germany, was supposed to be one of the stops.
The decision to cancel was made after the Pentagon raised a number of issues about its policy against campaign activity at a military base — including visits by campaign staff or any media coverage or speeches. As a sitting senator, Obama was welcome to visit troops, but no one on the campaign trip with him, including a retired general who is advising his campaign, could go along.
Obama found himself in an awkward spot: visit wounded troops alone and risk being seen as having used them as campaign props, or skip the wounded troops altogether. It was a no-win pickle of Obama's own making. He hoped to minimize the political controversy by backing out of the hospital visit.
The McCain campaign quickly pounced.
An ad released on July 26, 2008, implied Obama blew off the visit with wounded troops because he wasn't allowed to use it as a photo op.
"He made time to go to the gym, but canceled a visit with wounded troops," an annoucer says. "Seems the Pentagon wouldn't allow him to bring cameras."
That Obama visited a Berlin gym is not in dispute (though the McCain ad actually shows footage of Obama playing basketball with American troops at an airbase in Kuwait). Nor is it disputed that Obama canceled a scheduled visit with wounded troops.
But the ad suggests Obama canceled the visit because he wasn't allowed to bring cameras. That's the part the Obama campaign vehemently denies.
The Pentagon did raise questions about whether Obama's visit would amount to political activity, which is restricted at military installations.
"Nobody denied Sen. Obama the opportunity to visit our wounded being cared for at Landstuhl. Obviously as a sitting senator he has an interest in that and can certainly visit in an official capacity," said Bryan Whitman, spokesman for the Pentagon. "There are, as you know though, restrictions on what you can do as a candidate for political office, that stems from trying to maintain political neutrality and not have the military involved in politics."
"Under no circumstances may a candidate make a campaign-related statement on an instillation," Whitman said.
According to Department of Defense policy, "Any activity that may be reasonably viewed as directly or indirectly associating the Department of Defense ... with a partisan political activity ... shall be avoided." Said Whitman: "The senator's staff was informed of the limits on what the military can do with respect to a political campaign and how we could support a senator's visit to Landstuhl, and quite frankly I expected them to have the visit."
The Obama campaign apparently thought better of it.
"Sen. Obama did not want to have a trip to see our wounded warriors perceived as a campaign event when his visit was to show his appreciation for our troops and decided instead not to go,'' retired Maj. Gen. Scott Gration, a foreign policy adviser to Obama, stated in a release from the campaign.
In addition to the ad, McCain took a swipe at Obama's decision during an appearance on the ABC News program This Week .
"Well, I know this, that those troops would have loved to have seen him," McCain said. "And I know of no Pentagon regulation that would have prevented him from going there — without the media and the press and all of the associated people."
"The important thing is that, if I had been told by the Pentagon that I couldn't visit those troops, and I was there and wanted to be there, I guarantee you, there would have been a seismic event."
"I believe he had the opportunity to go without the media. And I'll let the facts speak for themselves."
Obama campaign spokeswoman Linda Douglass told ABC News that Obama never intended for the visit to be a public event.
"We told military officials explicitly that Sen. Obama had absolutely no intention of bringing any members of the media or photographers in with him to visit the wounded warriors," Douglass said. "In all of our communications with the military, we stressed that this was to be a private visit by Sen. Obama."
In the past, Obama has met privately with wounded veterans at Walter Reed Army Medical Center. U.S. Sen. Jack Reed, D-R.I., who accompanied Obama on part of his tour, said Obama met privately with troops in Iraq and Afghanistan.
Sen. Chuck Hagel, R-Neb., also accompanied Obama as part of a congressional delegation on the official trip to Afghanistan and Iraq, but broke off when Obama parted with the delegation and embarked on a short European tour.
"At that point, it was a political trip for Sen. Obama," Hagel said on CBS's Face the Nation. "I think it would have been inappropriate for him and certainly he would have been criticized by the McCain people and the press and probably should have been if on a political trip in Europe paid for by political funds — not the taxpayers — to go, essentially, then and be accused of using our wounded men and women as props for his campaign. ... I think it would be totally inappropriate for him on a campaign trip to go to a military hospital and use those soldiers as props. So I think he probably, based on what I know, he did the right thing."
Hagel added that he did not think the McCain ad was appropriate.
Here's what Obama said about it all:
"The staff was working this so I don't know each and every detail but here is what I understand happened," Obama told ABC News. "We had scheduled to go, we had no problem at all in leaving, we always leave press and staff off — that is why we left it off the schedule. We were treating it in the same way we treat a visit to Walter Reed which I was able to do a few weeks ago without any fanfare whatsoever. I was going to be accompanied by one of my advisors, a former military officer (Gration).
"And we got notice that he would be treated as a campaign person, and it would therefore be perceived as political because he had endorsed my candidacy but he wasn't on the Senate staff. That triggered then a concern that maybe our visit was going to be perceived as political. And the last thing that I want to do is have injured soldiers and the staff at these wonderful institutions having to sort through whether this is political or not or get caught in the crossfire between campaigns.
"So rather than go forward and potentially get caught up in what might have been considered a political controversy of some sort," Obama said, "what we decided was that we not make a visit and instead I would call some of the troops that were there. So that essentially would be the extent of the story."
In a briefing with reporters, Robert Gibbs, a senior communications adviser to the Obama campaign, said the trip had been planned weeks in advance, but the campaign believed "it could be done in a way that would not ... be ... seen as a campaign stop."
Gibbs said the plan was to leave the media entourage on the plane while Obama made his visit.
MSNBC reporter Andrea Mitchell, who was part of the traveling press corps, confirmed that in an on-air interview with Sen. Richard Burr, R-N.C.
"The point is that Obama had no intention of bringing any cameras with him," Mitchell said. "I was there. I can vouch for that."
So where are we? The Obama campaign explanation seems plausible. There is no hard evidence from the McCain campaign that the loss of a photo op played any role in Obama's decision. There's ample evidence, though no documentation, that Obama never intended to bring press to the hospital.
On the other hand, this is a problem of Obama's own creation. The fact remains he canceled the visit after the Pentagon voiced concern about political overtones. The fact remains, too, that Obama could have done a private visit even after the Pentagon raised its objections. Obama had done such visits before.
We can't give McCain's campaign any points for accuracy here, but neither can we say Obama is a helpless victim of a baseless attack. To do that we would have to give Obama and his version of the campaign's plans every benefit of the doubt. That leads us to Barely True.
Editor's note: This statement was rated Barely True when it was published. On July 27, 2011, we changed the name for the rating to Mostly False.