When our doggie was younger we used the puppy pads for him, but they were always outside the crate. We put them in the big x-pen where we kept the crate, but away from the crate so he wouldn't be going potty right next to his crate. Dogs usually want to keep thier sleeping place clean.
For overnight, we would make sure he didn't have any food or water for about 2 hours before putting him in the crate at night. We would take him out for potty often and then a final trip out right before we put him in the crate for nighttime. That way he would sleep for at least 5 hours before he had to have a potty break.
Laura (Momma to Riley, 3 yr. old male)