refactor api to better support creating new actions on campaigns.