Incorporating long-term effects in determining the effectiveness of different types of online advertising