Well, in Hangouts you wouldn't be getting ads. In Gmail you get generalized ads based on the broad understanding of who we understand you as a user to be. It's not based on the content of the inbox or the mail, no.
On May 10th, 2018. See this statement in context.