Charterstone - Does "Gain card type" via a building include the Market
If I understand your question correctly the AfterGame 1 section you linked says:


  Persona cards: The first persona card with an ability that each player receives will say something like, “After using a building with a pumpkin cost, gain 1 VP” (the exact resource will vary). This ability only applies when the printed cost on the building includes at least 1 pumpkin icon, not buildings with the “any resource” icon. It is possible to have persona cards that don’t look like your original persona. Also, you may only mark personas as used if you actually use their ability during the game. This wording on Rule 5 (card 15) is a little ambiguous.


It looks to me, that if the persona specify advancement card type, but you are using Market which does not give the exact card type, you do not get the bonus.