DSP entities (live)
get_dsp_entities_liveList Amazon-source DSP campaigns, ad groups, or targets through documented DSP v1 campaign-management read endpoints. Requires an explicit Amazon-Ads-AccountId DSP advertiser ID and returns factual source fields only; no DSP writes are exposed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| states | No | DSP targets only: optional Amazon DSP state filter values such as ENABLED. Campaign/ad-group state filters are not sent because Amazon does not document them for those list endpoints. | |
| next_token | No | Amazon pagination token from a previous DSP list response. | |
| 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. | |
| target_ids | No | DSP targets only: filter targets by target ID. Target reads require target_ids or ad_group_ids because Amazon documents those as the bounded target-list filters. | |
| entity_type | Yes | DSP entity family to list: campaign, ad_group, or target. | |
| max_results | No | Maximum rows to request from Amazon (1-100). | |
| ad_group_ids | No | Filter DSP ad groups by ad group ID, or targets by ad group ID. | |
| campaign_ids | No | Filter DSP campaigns by campaign ID, or ad groups by campaign ID. DSP target list docs do not expose a campaign-id filter. | |
| target_types | No | DSP targets only: optional target type filters such as AUDIENCE or LOCATION. | |
| include_raw_rows | No | False returns compact rows. Default true. | |
| include_regional | No | DSP campaigns/ad groups only: request cross-region records when Amazon supports includeRegional. | |
| include_diagnostics | No | True may add expanded freshness diagnostics. Basic empty-result data-window diagnostics are included by default when available. | |
| amazon_ads_account_id | Yes | Required Amazon-Ads-AccountId header value for DSP v1 campaign-management APIs. Amazon documents this as the Amazon DSP advertiser ID; discover it with get_dsp_advertisers_live. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence | No |