cleanup ads placement in file