She continued: “A 93 percent drop in stop-and-frisk while bringing down crime four years in a row. Murders, robberies and shootings — all down dramatically. Making neighborhoods safer by bringing police and communities closer together. Protecting and respecting every New Yorker. Right now, this is his” — referring to an image of the Oval Office — “but this is yours.”

ON SCREEN Neither Mr. de Blasio nor Ms. McCray appear on the screen. Instead, the ad opens with an image of Mr. Trump giving a speech. Next on the screen are children and families. Then a shopkeeper opening her business. Each scene includes a key point — like “Murders, Robberies, Shootings Down Dramatically” — with “De Blasio Record” written below each.

The words, which focus on policing, are paired with an image of a car driving slowly down a tree-lined city street, with parents and children at a playground and then an array of smiling faces of different ages and ethnicities. No police officers or any Police Department insignia appear in the video.

The ad then turns back to Mr. Trump, but this time without him, showing only the Oval Office. It ends with the mayor’s campaign slogan, “This is your city,” in the center of a grid of faces aimed at highlighting racial and religious diversity.

ACCURACY The central claim is correct: Overall crime has continued to decline during Mr. de Blasio’s four years. While there have been increases in some categories, notably misdemeanor and felony sex crimes, which Ms. Malliotakis has highlighted in her campaign, violence in the city is at or near a record low, with 2017 on pace to break a record for the fewest murders, with 210 as of Oct. 8.