Ar feadh is a compound preposition meaning during, throughout.
Seachtain is a feminine noun meaning week.
Seachtaine is seachtain in the genitive case. This occurs here because of the preceding compound preposition.
Thus, ar feadh seachtaine: for a week.