/spotify-ads-api:change-history list | who changed <entity> | what changed today | budget changes last weekfrom spotify-ads-api
Retrieves a paginated timeline of changes to campaigns, ad sets, creatives, and other entities in a Spotify Ads account. Useful for auditing who changed what, tracking budget modifications, and reviewing status changes.
Ships in spotify-ads-api. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Retrieve a paginated timeline of changes made to campaigns, ad sets, creatives, and other entities within an ad account. Useful for auditing who changed what, tracking budget modifications, reviewing status changes, and understanding campaign activity over time.
Set the plugin root and define the request wrapper:
PLUGIN_ROOT="${CODEX_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-.}}"
api() { "$PLUGIN_ROOT/scripts/api-request.sh" change-history "$@"; }
Before the first Ads API v3 call, read and follow $PLUGIN_ROOT/skills/api-reference/references/live-openapi.md.
Before sending any output to a human user, read and follow $PLUGIN_ROOT/skills/api-reference/references/language-standards.md.
To retrieve settings values (TOKEN, AD_ACCOUNT_ID, AUTO_EXECUTE, BASE_URL, SDK_HEADER, SKILL_HEADER, PLUGIN_VERSION) for use outside API calls, run api --env. The output is eval-safe, so eval $(api --env) assigns them all.
GET /ad_accounts/{ad_account_id}/change_history
Results are constrained to a rolling 180-day retention window.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entity_type | enum | No | — | CAMPAIGN, AD_SET, AD_ACCOUNT, BUSINESS, CREATIVE |
entity_ids | array[string] | No | — | Filter by specific entity IDs |
entity_name | string | No | — | Case-insensitive substring match (2-255 chars); requires entity_type |
change_ids | array[string] | No | — | Fetch specific change records by ID |
actor_ids | array[string] | No | — | Filter by who made the change |
principal_type | enum | No | — | USER, SERVICE |
change_category | enum | No | — | STATUS, BUDGET, TARGETING, CREATIVE, SCHEDULING, SETTINGS, BILLING |
created_gte | ISO 8601 | No | 30 days ago | Changes on or after this timestamp |
created_lte | ISO 8601 | No | — | Changes on or before this timestamp |
limit | integer | No | 50 | 1-50 |
offset | integer | No | 0 | Pagination offset |
sort_direction | enum | No | DESC | ASC, DESC |
sort_field | enum | No | TIMESTAMP | TIMESTAMP, ENTITY_TYPE, PRINCIPAL_TYPE |
Interpret the user's natural language request to determine the right query. Build query parameters from their intent.
list (default if no argument)Show recent changes for the configured ad account.
api GET "ad_accounts/{ad_account_id}/change_history?limit=20&sort_direction=DESC"
Format the output as a table: Timestamp | Entity Type | Entity Name | Operation | Category | Actor
Map the user's request to query parameters:
created_gte set to today at 00:00:00 UTCchange_category=BUDGET + created_gte set to 7 days agoentity_type=CAMPAIGN + entity_name=Xactor_ids with the user's principal IDchange_category=STATUS + created_gte set to start of monthentity_type=AD_SETprincipal_type=SERVICEBuild the query string from the mapped parameters:
api GET "ad_accounts/{ad_account_id}/change_history?entity_type=CAMPAIGN&change_category=BUDGET&created_gte=2026-07-01T00:00:00Z&limit=50&sort_direction=DESC"
If total_results exceeds the page size, offer to fetch the next page:
api GET "ad_accounts/{ad_account_id}/change_history?offset=50&limit=50&sort_direction=DESC"
When the user asks about a specific change, fetch it by ID:
api GET "ad_accounts/{ad_account_id}/change_history?change_ids=$CHANGE_ID"
Display the full change record including before/after values for each changed field.
Each change record contains:
CREATED, CHANGED, REMOVEDname — Display nameprincipal_type — USER or SERVICEcategory — ADVERTISER_USER, SUPPORT, API_INTEGRATION, SYSTEM, UNKNOWNfield_type — Internal field identifierdisplay_label — Human-readable field namechange_category — Category of the changebefore — Previous value (null for CREATED operations)after — New value (null for REMOVED operations)total_results without listing every recordauto_execute is true, execute the curl command directly.auto_execute is false, present the curl command to the user and ask for confirmation before executing.HTTP_STATUS: line from curl output to determine success or failure before interpreting the response body.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
20 skills in this plugin
/account-adminAdminister Spotify Ads API businesses and ad accounts: discover businesses and accounts, inspect or update supported profile and billing fields, create businesses or ad accounts, list members and roles, invite users, assign ad-account access, update roles, cancel invitations, and remove access. Use when a user asks to find an ad account by ID, audit access, onboard an agency or teammate, manage business/ad-account membership, or update supported account identity details./adsList or get Spotify Ads API ad sets and ads, and stage their creation or updates through drafts by default. Use direct live writes only when explicitly requested./spotify-ads-api-referenceThis skill should be used when the user asks to "call the Spotify Ads API", "create a Spotify ad campaign", "manage Spotify ads", "pull Spotify ad reports", "set up ad sets or ads", "upload ad assets", "target audiences on Spotify", "check campaign status", "get ad account info", "look up API schema or fields", "check what targeting options exist", or asks about Spotify advertising endpoints, request/response formats, enum values, or authentication./assetsUpload, list, and manage Spotify Ads API creative assets — audio, video, and images for ad campaigns./audiencesManage Spotify Ads API audiences: upload or replace customer lists, create custom web-event or ad-engagement audiences, create lookalikes, list/get/edit audiences, inspect eligible datasets, and delete audiences. Use when a user asks to onboard first-party data, retarget people who saw or clicked ads, build an event-based audience, create a lookalike, replace an audience file, check audience status, or remove an audience./build-campaignCreate a full campaign (campaign + ad sets + ads) from a plain-text description. Parses natural language into structured API calls. Prefers the draft workflow for safer creation with batch validation.Other plugins' skills for the same job
npx claudepluginhub spotify/ads-agentic-tools --plugin spotify-ads-api