get_entities
campaigns|ad_groups|ads|targets|portfolios: Ads v1 objects {campaigns|adGroups|ads|targets|portfolios: [...], nextToken}; negative targets: negative=true; all states unless filtered. assets: {assetList, token}, newest asset version, assets gone from Amazon omitted. campaign_settings: compact rows: name, state, budget, bid strategy, placement adjustments. campaign_details: one campaign's config, performance, ad groups with targets, top search terms, negative targets; money in profile's native currency. brand_store_page: DRAFT widgets, ASIN lists with path + widgetTag for ads.brand_store.update_page_asins; page ids: dataset amazon_brand_store_page_snapshot. Read before/after submit_mutation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | assets: amzn1.assetlibrary.* ids; campaign_details/brand_store_page: one id. | |
| tags | No | assets only. | |
| text | No | assets only. Name contains, or exact tag or ASIN. | |
| asins | No | assets only. | |
| entity | Yes | ||
| format | No | campaign_settings: Agent default: JSON for <=10 fetched rows, otherwise compact {columns,rows}. | |
| offset | No | campaign_settings: skip N rows. | |
| states | No | ACTIVE/PROCESSING: assets only; campaign_settings: one. | |
| target | No | From get_session_context targets: kind:account[:unit]. | |
| columns | No | campaign_settings: Output column names as an array or comma-separated string. | |
| endDate | No | campaign_details: End date YYYY-MM-DD (default: today). | |
| idOffset | No | Linked-id page. | |
| negative | No | targets only. | |
| nextToken | No | ||
| startDate | No | campaign_details: Start date YYYY-MM-DD (default: 30 days ago). | |
| ad_product | No | ||
| edition_id | No | brand_store_page: edition. | default |
| maxResults | No | Default 50, or len(ids); campaign_settings: 25, max 500. | |
| asset_types | No | assets only. | |
| ad_group_ids | No | ||
| all_versions | No | assets only. Default: newest version per asset. | |
| campaign_ids | No | ||
| widget_limit | No | brand_store_page: 1-200 widgets. | |
| include_stale | No | assets only. Include assets gone from Amazon (not synced for 48h). | |
| portfolio_ids | No | campaigns only. | |
| widget_offset | No | brand_store_page: skip N widgets. | |
| asset_sub_types | No | assets only. | |
| brand_entity_id | No | brand_store_page: only if page id is in several stores. | |
| searchTermLimit | No | campaign_details: Max search terms to return (default 10). | |
| approved_programs | No | assets only. specCheckApprovedPrograms, e.g. STORES_VIDEO_TILE. | |
| includeSearchTerms | No | campaign_details: Include top search terms (default true). | |
| include_renditions | No | assets only. All processedUrls, not the 4 useful ones. |