On our boondocking trips, we ran the generator a bit during the day for the A/C and charging the batteries, then an hour or so towards eve to cool off (or you could warm up) camper before bed.
The batteries get a bit of charge and you are more comfortable with the temp you want for sleeping ;)
I used a long heavy 30amp extension cord to put the generator back in the woods to not disturb our neighbors or our camping experience.
Turn the fridge to "Gas only" so it doesn't draw on your generator when you run it.
Hope this helps :)