I use a two-part process.
First I use Titebond II yellow glue on the bottom of the ground throw and attach that to the foam.
I then take two N-scale track nails, cover them in the same glue, and drive one into each hole on the plastic base of the throw.
The ground throws stay very secure. I really have to apply some pressure in order to get one to break loose.