You should probably be using zones or keywords. With zones you generate one set of code for the headers then any banner that is active for that zone would be pulled based on your weighting, etc.
You will need to make sure that the banners are pretty much the same size or it could create a problem for you. Maybe initially it would be better for you to do the uploading of the banners instead of the advertisers until you get used to it some.