There are different bird house dimensions for different species. To attract the species you desire you will need to construct your bird house with specific sizes for the box itself, entrance holes and the species desired height placement above ground. Using the correct bird house dimensions will also help to exclude undesirable species, i.e. house sparrows and starlings.
Here are some plans for common birds, see the corresponding photo below.