On stochastic modelling and optimal control in advertising