Adwords-Scripts
Runs JavaScript‑based Google Ads scripts that automatically adjust bids based on performance metrics.
- •You need to auto‑adjust CPC/CPA bids across many keywords without manual spreadsheets.
- •You want to enforce a hard ROAS or CPA ceiling every hour or day.
- •You have a large account (hundreds of campaigns) and want a single script to keep bids in line with budget pacing.
```javascript
function main() {
var TARGET_ROAS = 5.0; // 500% ROAS
var campaignIterator = AdsApp.campaigns()
.withCondition('Status = ENABLED')
.get();
while (campaignIterator.hasNext()) {
var camp = campaignIterator.next();
var stats = camp.getStatsFor('LAST_30_DAYS');
var currentRoas = stats.getConversionValue() / stats.getCost();
if (currentRoas < TARGET_ROAS) {
camp.bidding().setTargetRoas(TARGET_ROAS);
}
}
}
```Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/adwords-scripts && curl -fsSL https://workflowstacks.com/api/skills/adwords-scripts/claude-skill -o ~/.claude/skills/adwords-scripts/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Adwords-Scripts is a small JavaScript project (~1.8k lines across 5 code files). Setup is light: small project — see the README for how to run it. Last commit 20 months ago, MIT license, no tests found.
- 1README.mdStart here — what it does and how to install it
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/adwords-scripts && curl -fsSL https://workflowstacks.com/api/skills/adwords-scripts/claude-skill -o ~/.claude/skills/adwords-scripts/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/adwords-scripts?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Do this with a working workflow
Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.
Related skills
More performance-marketing tools founders pair with this one.