I believe (from second-hand sources) that many libraries in the US are required by their funders (state and municipal governments) to spend a certain fraction of their budgets on buying books.
Well, that doesn't sound too crazy ("you need to spend some part of your budget on actually being a library") -- but that shouldn't exclude all marketing -- unless that fraction is very high indeed...?