spotify-ads-api — Claude Code plugin: run Spotify ads from chat
A Claude plugin that runs Spotify ad campaigns from plain text: set up campaigns and ads, then pull performance reports.
/plugin install spotify-ads-api@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-officialWhat spotify-ads-api does
The plugin adds slash commands and skills to Claude for the Spotify Ads API. You describe a campaign, audience, ad or report in words, and the plugin turns that into API calls. Sign-in happens in the browser; tokens land on disk and refresh on their own before each request, so you do not repeat the OAuth dance.
Setup needs a Spotify Developer account whose app has Ads API enabled, plus your ad account ID. The team administrator hands out a client ID; the application secret is never requested. Run /spotify-ads-api:configure to start. PKCE authorization relies on Python 3.8+ or uv, and on Windows you also need Git Bash because the token refresh hook is a bash script.
After that, commands like /spotify-ads-api:build-campaign do the work. Access is bound to the ad account whose terms you accepted on the Ads API page, so the wrong account selection is enough to break the whole flow.
What it helps with
- launch a campaign from a one-line brief
- generate a spend and impressions report
- target listeners by age and country
- create an ad inside an existing campaign
- keep OAuth tokens fresh between sessions
Example prompts for the agent
- /spotify-ads-api:configure
- Pull a report for the last campaign this week
How to install spotify-ads-api
Plugin marketplace
/plugin install spotify-ads-api@claude-plugins-official/plugin marketplace add anthropics/claude-plugins-officialStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about spotify-ads-api
How do I install spotify-ads-api in Claude Code?
Add the marketplace first: /plugin marketplace add anthropics/claude-plugins-official. Then install the plugin: /plugin install spotify-ads-api@claude-plugins-official.
What does spotify-ads-api do?
It gives Claude commands for the Spotify ads console: build campaigns, audiences and ads, export reports, and authorize through OAuth.
What do I need before installing?
A Spotify Developer account with an app that has Ads API checked, your ad account ID, and a client ID from the team administrator. Authorization needs Python 3.8+ or uv, plus Git Bash on Windows.