The retail industry's evolution into a digital advertising platform is transforming the way brands engage with consumers.