A customized Google Adwords Ads Script which would take data from Google sheets and use that data in addition to specified Ad Metrics to decide whether to continue the campaign, change the budget or stop the campaign.
google apps script, ads script, google spreadsheet