NEW YORK (AP) _ ABC has canceled late-night talk shows hosted by Dick Cavett and columnist Jimmy Breslin, who took out a front-page ad in The New York Times to ''fire'' the network.

In his Sunday column in the New York Daily News, Breslin said he wouldn't continue ''Jimmy Breslin's People'' for ABC after his current contract for 26 shows runs out.

The Times ad ran Monday, and later in the day, ABC said it had decided Friday to cancel both shows.

''They had run out of the Daily News where I am. Then I heard about the thing in the Times this morning, which I thought was hilarious,'' Cavett said in a telephone interview Monday from his home on Long Island.

Breslin was furious because ABC affiliates were not airing his and Cavett's shows at the hour at which the network spotted them - midnight EST, following the news show ''Nightline.''

Cavett's show was offered for airing Tuesdays and Wednesdays and Breslin's for Thursdays and Fridays.

''Apparently it came as a surprise to everyone once the ball got rolling that the stations didn't have to put it there (at the scheduled time) and that many weren't going to,'' Cavett said.

ABC spokesman Vic Ghidalia said Breslin's final show would be seen on Jan. 2 and Cavett's on Dec. 30 and that the network would replace them with some other entertainment programming next spring.