To take full advantage of digital marketing, businesses must carefully choose where and how they advertise online.