get_change_history

Google Ads Read

Google Ads change history for the connected account: what was changed, when, and from where

Endpoint

POST https://api.adspirer.ai/api/v1/tools/get_change_history/execute

Headers

Description

Google Ads change history for the connected account: what was changed, when, and from where. READ-ONLY (one Google change_event report, newest first). Changes nothing. **Returns, per change:** when it happened, the kind of resource (campaign, budget, ad group, keyword/criterion, ad, asset ...), the campaign and ad group it belongs to (names + ids, where Google gives them), the operation (CREATE / UPDATE / REMOVE), each changed field with its old and new value where Google returns them, and where the change came from (Google Ads web interface, Google Ads API e.g. an app like Adspirer, an automated rule, scripts, bulk upload, mobile app, recommendations ...). The person's email address is NOT shown. **Limits (Google's rules):** only the past 30 days; a wider or older window is refused and the allowed range is named. At most 1,000 changes per call (default 30); when more exist the answer says so and how to narrow. Long old / new values are shortened, credentials (secret / token / password / key fields) are shown as "(hidden)", and the answer is cut at about 35,000 characters at a whole change, saying how many were shown. Dates are the account's own calendar (its Google Ads time zone). Google says a change can take up to three minutes to appear in change history, so changes made in the last few minutes may not appear yet. **Parameters:** - start_date / end_date: YYYY-MM-DD in the account's time zone, inside the past 30 days (or lookback_days 1-30, default 30) - campaign_id: optional, one campaign - resource_types: optional list, e.g. ["CAMPAIGN", "CAMPAIGN_BUDGET", "AD_GROUP_CRITERION"] - operations: optional list of CREATE / UPDATE / REMOVE - limit: optional, 1-1,000 (default 30) - customer_id: optional Google Ads customer ID **Use this tool when** the user asks "what changed in my account / this campaign", "who paused this", "when did the budget change", or wants an audit trail. **Example:** User: "What changed on campaign 98000000003 this week?" Agent: get_change_history(campaign_id="98000000003", lookback_days=7)

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
customer_idstring optionalGoogle Ads customer ID. Required for multi-account users. Get from get_connections_status.
start_datestring optionalStart date (YYYY-MM-DD). Give with end_date; overrides lookback_days.
end_datestring optionalEnd date (YYYY-MM-DD), not in the future. Give with start_date.
lookback_daysinteger optionalDays back from today, 1-30 (default 30). Google keeps change history for the past 30 days only. Ignored when start_date and end_date are given.
campaign_idstring optionalOptional. Only changes in this campaign (numeric id from list_campaigns).
resource_typesarray optionalOptional. Only these kinds of change: CAMPAIGN, CAMPAIGN_BUDGET, CAMPAIGN_CRITERION, AD_GROUP, AD_GROUP_CRITERION, AD_GROUP_AD, AD, AD_GROUP_BID_MODIFIER, ASSET, CUSTOMER_ASSET, CAMPAIGN_ASSET, AD_GROUP_ASSET, ASSET_SET, ASSET_SET_ASSET, CAMPAIGN_ASSET_SET, FEED, FEED_ITEM, CAMPAIGN_FEED, AD_GROUP_FEED.
operationsarray optionalOptional. Only these operations: CREATE, UPDATE, REMOVE.
limitinteger optionalMost changes to return, newest first (default 30, max 1,000). The answer says when more changes exist; very long answers are cut at a whole change and say so.

Example request

{
  "arguments": {
    "customer_id": "string",
    "start_date": "string",
    "end_date": "string",
    "lookback_days": 1,
    "campaign_id": "string",
    "resource_types": [
      "string"
    ]
  }
}

Example responses

200 — Success

{
  "success": true,
  "data": {
    "text": "(tool-specific textual output for get_change_history)",
    "quota": {
      "used": 42,
      "limit": 150,
      "tier": "plus",
      "period_end": "2026-05-01"
    }
  },
  "tool": "get_change_history"
}

400 — Tool-level error (bad arguments / multi-account selection)

{
  "success": false,
  "error": "You have 25 meta_ads accounts connected. Please specify which account to use by passing the ad_account_id parameter:\n  - Acme Holdings (ad_account_id=\"act_123456789\")\n  - Acme EU (ad_account_id=\"act_987654321\")",
  "is_error": true,
  "tool": "get_change_history"
}

402 — Quota exhausted

{
  "success": false,
  "error": "\ud83d\udea8 Monthly limit reached (150/150 tool calls on Plus tier).\nUpgrade to Pro at https://adspirer.ai to keep building.",
  "is_error": true,
  "tool": "get_change_history",
  "quota": {
    "used": 150,
    "limit": 150,
    "tier": "plus",
    "period_end": "2026-05-01",
    "upgrade_url": "https://adspirer.ai"
  }
}

Try it live


Adspirer REST API — get an API key at adspirer.ai/keys · adspirer.ai