The news release for Jonathan Chait’s new book about the presidency of Barack Obama, “Audacity,” carries an unusual endorsement. Typically a publisher will promote advance reviews or praise from fellow authors. But Custom House, Mr. Chait’s publisher, has instead reprinted a Twitter post by President-elect Donald J. Trump.

In the May 2013 tweet, Mr. Trump called Mr. Chait’s employer, New York magazine, “a piece of garbage” and the political reporter himself a “no-talent illiterate hack.”

For Kelly Rudolph, senior publicity director for Custom House, a new imprint of William Morrow, the insulting post was manna from heaven. In addition to using it for the book’s news release, she circulated it on the publisher’s Instagram account.

“From a marketing standpoint, these days a negative tweet from Trump guarantees that people will pay attention,” Ms. Rudolph said. “In a fun, opposite-day kind of way,” she said, being called a hack by Mr. Trump was high praise for her author.