A gift card transaction will not do it. Officially, the only ways to keep an SPG account active are to get points for a stay or by using the SPG Amex. I can't recall if it's official, but eating at a Starwood hotel restaurant and giving them your SPG number may also work.