Refactor campaigns_completed_by_action