Audience segments
get_audience_segmentsDiscover available Amazon Ads audience IDs for a profile from targetableEntities/list, with optional text and category-path search. The live endpoint's taxonomy is returned in category; type is often AUDIENCE, and Amazon may omit name, provider, status, and description.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional free-text search for audience segment names, descriptions, types, or categories. | |
| next_token | No | Amazon pagination token from a previous 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. | |
| max_results | No | Maximum number of audience segments to return. Defaults to 25. | |
| segment_types | No | Deprecated legacy filter. segment_types is deprecated for get_audience_segments on targetableEntities/list. Use category_path_contains to filter Amazon's current category taxonomy. | |
| include_raw_rows | No | False returns compact rows. Default true. | |
| include_diagnostics | No | True may add expanded freshness diagnostics. Basic empty-result data-window diagnostics are included by default when available. | |
| category_path_contains | No | Optional case-insensitive substring filter against Amazon's category path, for example 'Custom-built > Product'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence | No |