get_campaigns(type) error fixed