How well does the targeting of digital ads work?

Dettol

Lucas is served a Dettol ad on Time Out as he is actually holding a bottle of Dettol. Clearly targeting digital ads according to data about a user works.