Query advertising ad groups
query_advertising_ad_groupsReturns current advertising ad groups with stable IDs, name, state, serving status, default bid, parent campaign including campaignType, and Amazon createdAt/updatedAt timestamps as UTC ISO-8601 instants. Results can proceed to AD_AD_GROUP_CHANGE, AD_AD_CREATE, or AD_TARGETING_CREATE. AD_AD_CREATE resolves the product-specific creative: SP uses PRODUCT_AD/productCreative and SD uses COMPONENT/responsive eCommerce componentCreative. Choose targeting inputs from campaign.campaignType: Sponsored Display supports ASIN Targets and negative ASIN Targets only, never keywords or negative keywords.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return. Defaults to 100 and cannot exceed 100. | |
| offset | No | Zero-based pagination offset. | |
| states | No | Ad group states. Omit to return all states. | |
| storeId | Yes | Store ID from the Stores API, formatted as sellerId:marketplaceId. | |
| campaignIds | No | Campaign IDs limiting the ad groups. | |
| campaignName | No | Campaign-name substring filter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||