ads-spotify
Spotify Ads
Spotify Ads Manager exposes Ads API v3 for campaign management, measurement, audiences, and reporting. It also provides a browser Pixel and a tagless Conversions API (CAPI). See the Ads API overview and Ads API guides.
Use ad-conversion-hub for the canonical event envelope, consent gate, identity rules, retry policy, and adapter contract. Pair it with ad-experiments for one-audience tests, seed sizing, PII-export authorization, and payment-provider truth.
Account and access
Spotify requires a Spotify account and an Ads Manager account for Ads API use. Create a Spotify for Developers application, select Ads API, and accept the Ads API Terms with its client ID. Spotify says allowlisting can take up to one hour after terms acceptance. See the Ads API Quickstart.
Ads API authentication uses OAuth 2.0. The authorization request uses https://accounts.spotify.com/authorize/ with client_id, response_type=code, and redirect_uri; exchange the code at https://accounts.spotify.com/api/token. The returned bearer token expires in one hour and includes a refresh token. See the OAuth Quickstart.
The Ads API uses https://api-partner.spotify.com/ads/v3/ for management calls. The current documentation lists v3 as the most recent version and says v2 was sunset on August 5, 2025. See the Ads API release notes.
Spotify documents no environment-variable names. Its examples use <ACCESS_TOKEN>, <ADS_API_ACCESS_TOKEN>, and <CAPI_ACCESS_TOKEN> placeholders. Map those values to the hub's server-only secret convention. See the Quickstart and CAPI guide.
For a no-spend integration test, create an ad account with test_account_type: "NO_DELIVERY_NO_BILLING". Spotify says test and production accounts use the same endpoint, and this field distinguishes them. See the test-account guide.