Affiliate/Advertising sites with API for self hosted ads as Adblock alternative [closed]

I’m asking what Affiliate/Advertising programs, companies, do you know that are reliable, global, and have and API so I can make my site automatically fill up the database of promotions/banners and keep them up to date.

I know Aliexpress for example.