generate advertisement and event models