First, you can't use numbers on Duo. Second, since you give a specific year it's probably the most important info here so it should come just before the verb.
İki bin on birde bu cami yapıldı. is also correct but has a different emphasis. You can report it though.