Ad account changes
get_ad_account_changesWhat was changed in the ad and email accounts (Meta, Google Ads, Klaviyo) over the period, newest first: budgets (summary.from → summary.to, changePct), campaign, ad group and flow status (paused, enabled), bidding strategy, campaigns created or removed, targeting (keywords, negative keywords, locations), creatives, conversion tracking, and email or SMS sends. summary.key true = it can move spend or measurement; summary.alert true = it can silently break attribution (a tracking change). clientType says how it was made: ui (a person in the platform), api, script, rule (an automated rule), platform (the platform itself). Use for 'what changed', 'why did spend or ROAS move on day X', 'did someone pause a campaign'. earliestDay = the first day change history exists for; before it Nuira cannot say what changed. truncated true = more changes than returned. Who made a change is never returned. Optional from and to (inclusive YYYY-MM-DD, both or neither, never after today) read another span instead of the default period. A named month, a week or two dates the operator gave MUST be sent here: without them this reads the last 30 days, which is not that month.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day of the span, inclusive, as YYYY-MM-DD; not after today. Send together with `from`, or omit both to read the default 30-day period. | |
| from | No | First day of the span, inclusive, as YYYY-MM-DD. Send together with `to`, or omit both to read the default 30-day period. | |
| scope | No | key (default) = only changes that can move spend or measurement; all = every recorded change. |