A clanmate has encountered this: he had 2 spring traps between buildings, but it didnt affect giants.
Why ? because there is a small gap at all of egdes at all buildings, thats so the troops can walk between two buildings (that are touching each other).
I would suggest the spring trap to work here.

