It is the administrative centre of the Municipality of Ajdovščina .
in the municipality ; the main is Ajdovščina , which is the administrative centre of the municipality .