How publishers are coping with an online advertising revolution