Placement depends on the zoning laws of your area. Be sure to get the required zoning permit and ensure that the gazebo is placed with the required minimum space from any buildings or the property line.
For example: my town requires min 5 ft from any buildings and min 10 ft from the property line
also, gazebos should be placed on a level surface with enough open space around it. Avoid low-lying areas that collect water.