Your pictures do look like a canker to me, so botryosphaeria seemed likely. It probably wouldn't matter if it was some other canker--there wouldn't be much you could do. But now you know to watch for this problem in the future if you decide to get more apple trees. General good care of the trees: proper planting, mulching, appropriate watering, etc. can help limit canker infection/spread.