The ad validation scanners in the platform are actually built on an API, which is available to you too. API access is included in the Automate plan. See the API docs or the PHP Class on Github.