Made number of ads customizable.