No, the conjured creature was the target of the spell, as the spell creates the creature. Any creature attacked by a conjured creature doesn't just become the target of the spell that conjured the creature, because they aren't being directly affected by the spell. Being affected by a spell means that if, say, color spray was cast, and the 15 ft. cone included 2 creatures.
Those 2 creatures are considered targets, because they are directly influenced. After that, anything they interact with in any way doesn't then also become targets of color spray. If a spell creates, conjures, or summons something, unless the spell says otherwise, anything that that object, character, or creature interacts with in any way does not become the target, as the spell is simply creating that thing, not targeting anything that that thing interacts with. That's just not how spells work.