export
Installation
SKILL.md
Spotify Ads API — Campaign Data Export
Export campaign hierarchies to CSV for offline review, combining entity data with optional performance metrics.
Setup
- Read
access_token,ad_account_id, andauto_executefrom the active platform settings file:- Codex: prefer
.codex/spotify-ads-api.local.md, then fall back to.claude/spotify-ads-api.local.md, then.gemini/spotify-ads-api.local.md. - Claude: prefer
.claude/spotify-ads-api.local.md, then fall back to.codex/spotify-ads-api.local.md, then.gemini/spotify-ads-api.local.md. - Gemini: prefer
.gemini/spotify-ads-api.local.md, then fall back to.claude/spotify-ads-api.local.md, then.codex/spotify-ads-api.local.md.
- Codex: prefer
- Base URL:
https://api-partner.spotify.com/ads/v3 - If no settings file exists, instruct the user to run the configure skill first (
/spotify-ads-api:configureon Claude/Codex,/configureon Gemini). - Read the active platform manifest for the plugin
version:.codex-plugin/plugin.jsonon Codex,.claude-plugin/plugin.jsonon Claude, orgemini-extension.json(extension root) on Gemini. - Set
SDK_PRODUCTtocodex-pluginon Codex,claude-code-pluginon Claude, orgemini-cli-extensionon Gemini. SetSDK_HEADER="X-Spotify-Ads-Sdk: $SDK_PRODUCT/$PLUGIN_VERSION"and include-H "$SDK_HEADER"on all API requests.