My ex-wife and I have joint custody of our disabled son. How do you claim/calculate/file Child care credit when you alternate years for claiming tax for child dependent.

Example:  In 2021, my ex received advance payments from July to Dec. in the amt. of $1500. This year, I claim him for 2021. Do I answer yes or no to the question, did you receive advance payments in '21? I didn't get the money, my ex did. If I say no, which I didn't (she did), I get $3000. is that correct? The reason she received the payments, is because she claimed him as dependent in 2020. Please advise. If I say yes, because she got payments, I get $1500. That doesn't seem right either.