Implementing advertisement model