Lawyer gives pointers on advertising in the digital era