Pharmaceutical companies plan to shift dollars to online advertising and away from television, radio and other traditional channels this year, two new surveys indicate.