I'm surprised there's ad networks that don't have an API. Detecting automation of chrome thru puppeteer/webdriver can be done so make sure the ad network doesn't mind before building your app. An extension or bookmarklet may be easier or more suitable for your use case.
__________________
I play with Google.
|