in someone's bad books vs unpopular

in someone's bad books

unpopular

adj
  • Not liked or popular; disliked or ignored by the public. 

  • Lacking popularity. 

How often have the words in someone's bad books and unpopular occurred in a corpus of books? (source: Google Ngram Viewer )