AG Barr has said it expects strong first-half sales as its brands benefit from increased marketing investments.