Adding advertisement and query.