Looking after my mother-in-law's incontinent house dog for a week is a minor niggle. Everywhere she lays she leaves a puddle. I've made barricades like when the kids were toddlers. I have floorboards not carpet so I'm not going completely nuts... yet.
I think you could try to make the dog wear a pair of old underwear. I know someone who did that when her dog was in heat. However, since the dog will probably not like wearing pants, it's probably less bother to just clean up after if if you only have it for a couple of days.