We introduce two new function spaces, the source space and the target space for the Hardy average operator and we prove that this result is optimal