In short
The country where the company behind a programme keeps its head office.
The headquarters country is where the company behind a programme keeps its head office. 1-800Accountant Affiliate Program is based in the US, 1000Farmacie IT, 12Go Travel Affiliate Program in Singapore, 2Performant in Romania, and 7bet in Lithuania. Where a programme is registered shapes the contract a publisher signs and the payment handling around it, which matters when weighing a programme against one in their own market.