Optimal advertising under uncertainty with carryover effects