0) Google's only purpose is to make money.
1) Google's strongest strategy (by orders of magnitude) for making money is targeted advertising.
2) Google has surpassed the critical size threshold beyond which morality plays no role in business decisions (see surveillance state-supporting tech in China among other issues).
Due to these facts it appears inevitable that Google will seek in all of its large-scale actions to involve ad tech in whatever it produces or engages in. It's how they fulfill their purpose (selling the most sophisticated targeted advertising possible).