I work on an engineering growth team that focuses on large-scale digital advertising and can say it does work, for the right business, in the right context. You need a proper analytics team, engineering team, and experience to do it right. Most people who buy online ads have no idea what they are doing.