List Sponsored Products ad groups
sp_list_ad_groupsRetrieve Sponsored Products ad groups filtered by campaign or state. Supports pagination with nextToken for large result sets.
Instructions
List Sponsored Products ad groups (v3), optionally filtered to specific campaigns. Paginate with nextToken.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profileId | No | Amazon Ads profile id (Amazon-Advertising-API-Scope). Omit to use the AMAZON_ADS_PROFILE_ID default. Discover ids with get_profiles. | |
| stateFilter | No | Filter by entity state. Omit for all states. | |
| campaignIds | No | Restrict to these campaign ids. | |
| maxResults | No | Page size (Amazon max varies by endpoint; <=1000). | |
| nextToken | No | Opaque pagination token from a previous response. |