Hmm, so Gmail showing you ads based on the email you're currently reading is unlawful? I think you have a weird (i.e., excessively narrow) definition of "target advertising to inviduals".
They are targeting you, yes. But "you" is loosely defined as someone who reads email newsletters about cat toys, not necessarily "John Smith, cat toy enthusiast".