How to programmatically search the Facebook Ad Library

In this godawful year of all godawful years, it’s good to keep an eye on who’s trying to sell what to you, why, and for how much. Facebook’s Ad Library API lets you see the detail – here’s how to access it.