defined campaign server model and client