Pharmaceutical companies are shifting more of their digital budgets towards programmatically-traded advertising to better contextually target campaigns.