Could you go into more detail please? I'm not sure how that scene was important to plot and development as you never see the character Shadow had sex with again, there are no consequences for his actions, and (IMO) it did not reveal anything about his character.
Well first off, she's an incarnation of the Egyptian goddess Bast, of fertility, etc., who seduces Shadow through his dream: "his head now filled with sand dunes and desert winds." (Lion/cat goddess: "her voice a throaty feline growl.") She's part of the signs and portents, feeding of energy and god wars of the whole story. She's also part of the gods becoming aware of Shadow's presence, of them trying to use him, of him developing as what he is -- a god. In American Gods, dreams are important -- this is the guy who did Sandman for years -- and all characters, god and human, are symbolic, are part of stories. It doesn't matter how long they are on stage for. Easter doesn't even come in till the end of the book, but she's quite important.
Second, consider how Shadow's wife died, how he views her and the conflict of those views, that he was in prison for awhile, that he still feels the sex is a betrayal of her, even in a dream: "My wife, Laura. She will kill you." This is part of his development, his searching to forgive and be forgiven. The whole story is about his journey -- to find his power, to be the sacrifice, to make peace.
Third, sex is part of the power equation -- sex is part of religion, mythology, is seen as a kind of energy feed, vehicle for prophecy, etc. That's why Wednesday sleeps with the women too. So the sex is symbolic -- Shadow's resistance to actually, um, getting there and her urging him to do so is a combination of battle and seduction, a mirror of the conflicts in Shadow. When Shadow wakes in the morning, he has claw marks on his back, has been marked, but all his other bruises are healed.
Evidently, you were just paying attention to the naughty bits.

But the scene had very specific roles in the plot and in Shadow's character development. It wasn't that Gaiman had decided suddenly to write porn and then never again.
The assumption you gratuitous folk keep starting with is that the author is seeking to titilate the audience and throwing sex in on the fly to do so. You seem to think that's some sort of goal rampant among fiction writers. Even in romances, this does not happen. Sex scenes are a tool. I would suggest dropping your own criteria about what is and isn't acceptable and considering why a sex scene might be there and looking at how the author did it, particularly character pov thoughts over the meshing of fluids. If you can't figure it out, then pick another story, because you're clearly not into the one you're reading enough to follow it.
You can accept that or not, or continue to compile a morals and writing code on your fellow authors. But the reason to write a sex scene is if the author finds it useful, whether all the readers agree or not.