Taxpayers foot multimillion-dollar advertising bill in final days before election is called