Booking three to six months before you travel is usually ideal. Prices tend to be most competitive during this period. There isn't much benefit to booking further ahead. If anything, prices tend to be higher a year ahead.