After opening her general election advertising campaign focusing on her record of working with families and children, Hillary Clinton has pivoted to foreign policy, releasing two new ads criticizing Donald J. Trump’s lack of experience.

One of them, titled “The Shows” and running in eight swing states, opens with Mr. Trump telling an interviewer that, for military advice, he watches Sunday news programs like “Meet the Press” — then cuts Mr. Trump off in midsentence, reinforcing the rambling nature of his response. (The interview was from August.)

“While Donald Trump was watching the shows,” a narrator says, Mrs. Clinton, the former secretary of state, “negotiated a cease-fire in Gaza, a reduction of nuclear weapons, took on Vladimir Putin, and stood up against the trafficking of human beings.”

She is shown inspecting troops, descending from Air Force One, speaking to the news media with Prime Minister Benjamin Netanyahu of Israel and sitting across from a sullen-looking Mr. Putin.