CLI
Run Adwarp from your terminal with no AI client: install the adwarp command, check that it works, and put it on a schedule.
On this page
Every capability of the MCP server is also an adwarp command, for your terminal, scripts and cron. It needs no AI client. Create a LinkedIn app first.
Install
Requires Node.js 20 or newer. Run any command without installing, or install the command once:
npx -y adwarp --help
npm install -g adwarpThe package installs the adwarp, adwarp-mcp and liam commands. Save your app's Client ID and Secret as in Authenticate, then sign in, which opens your browser and saves your tokens in ~/.adwarp:
adwarp auth loginCheck that it works
adwarp accounts listIt lists the ad accounts your app can reach. Set defaultAccountId in ~/.adwarp/config.json so you can leave --account off. For Google Ads, adwarp google accounts list proves the developer token and the OAuth client work.
Change a single ad
adwarp ad pause, adwarp ad resume and adwarp ad archive change 1 ad without touching the rest of its ad group. Each previews the change until you add --apply, and resume sets the ad ACTIVE, which starts spend:
adwarp ad list <campaignId>
adwarp ad pause <creativeId> # preview
adwarp ad pause <creativeId> --apply # pause itPut it on a schedule
Adwarp has no scheduler of its own, so use cron. A Monday report at 9am:
0 9 * * 1 adwarp report summary -p last_7_daysSee CLI commands for every command and option.