Favorable ad search terms for Apple considered in deal with Amazon - documents