The move is part of a more aggressive push by Apple into advertising.