I use masking tape and polythene garden bags and tape over the lids to ensure airtightness. And then a blanket over the top for good measure. I don't turn off filters tho, if the canister filter is in a sealed cupboard with sealed pipes going into the tank ie. a closed system, I don't see the point in risking my filter bacteria by turning it off. But I do very carefully seal the cupboard and around the pipes with masking tape/ polythene.
I have done it a few times and it has been a bit random, sometimes all ok, but once 3 tanks out of 4 were fine, so there is still a risk even when you take care. The other option is to set up a tank in the garage and move the most precious/valuable fish out there for a couple of weeks while bombing. (I have done this too).
FYI - We have also lived in a rental once with a terrible german cockroach problem. The sticky traps did nothing, and we eventually got in a professional to treat the house. It worked well and they stayed gone.