I'm just speculating, but it probably varies by hotel chain; you need to ask in the forum for the program(s) you want to use. I recall one hotel program that originally had a limit of one points-earning room per night, but later changed it to a maximum of two rooms per night. Whatever rule applies for the hotel giving points in its own program probably applies for when you chose airline program points/credits instead of hotel program points.