Keyword and target history
get_ad_entity_historyReturns daily SP/SB keyword or product-target bid, source currency and state observations, including paused/zero-delivery entities. history returns captures; net_changes compares the exact start/end dates, including unchanged entities. Missing or incomplete enumeration is unknown, not absence. Null is not zero. Daily captures cannot identify actors, causes, intraday edits/reversals, or states before collection began.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Daily observations, or net differences between the exact start and end capture dates (not every edit). | history |
| limit | No | Rows per page, 1–100 | |
| offset | No | Continue with pagination.next_offset; keep all filters unchanged | |
| end_date | No | UTC capture date, YYYY-MM-DD. Defaults to today. Net changes use these exact endpoints, with no carry-forward. | |
| ad_product | Yes | Sponsored Products or Sponsored Brands | |
| entity_ids | No | Up to 100 exact entity IDs. Without parent filters, includes absent/unknown observations for these IDs. | |
| profile_id | No | Numeric Amazon Ads profile ID. Optional when this API key has exactly one enabled Ads profile; agentcentral will default it. Call get_account_info for amazon_ads.enabled_profile_ids. Do not use the marketplace ID, tenant ID, or API key prefix. | |
| start_date | No | UTC capture date, YYYY-MM-DD. Defaults to 30 days ago. At most 90 inclusive dates per request. | |
| ad_group_id | No | Exact ad group ID; net changes match either observed endpoint | |
| campaign_id | No | Exact campaign ID; net changes match either observed endpoint | |
| entity_kind | Yes | Entity family; IDs are scoped to this family and ad product | |
| include_raw_rows | No | For tabular results, false returns compact rows capped at MCP_TEXT_ROW_PREVIEW_LIMIT (default 10), regardless of limit. Complete-page and custom non-tabular responses may ignore this option; see tool-specific notes. Default true; large full-row responses are capped separately. Freshness fields require include_diagnostics=true in either row mode, where supported. | |
| include_diagnostics | No | True enables expanded freshness diagnostics. Where supported, snapshot_capture_at and snapshot_data_through_date are populated only when include_diagnostics=true, in both compact and full-row modes; values may still be null if source data is unavailable. Default false. Basic empty-result data-window diagnostics are included by default when available. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence | No |