I think Fitzgerald is being both, literal and figurative. Literally, the Valley of Ashes is a massive trash dump. The rotting valley represents the rotting American dream. Tom, Daisy, and Jordan, with their endless socials and superficial lives represent how material excess rots their very souls. Their lives, like the valley, are hollow. As time goes on the valley gets ranker as do the lives of many characters in the novel. Self-centered individuals litter the story with meaningless "trash", much like the valley itself. Figuratively, it is the American Dream: rotten and futile.