Facebook adds the Ad Library API to improve ad transparency and offer deeper insights into ads running on its platform.