# ADC09 - Get Sponsored Product ad groups

Read MoreMore contextPaginationThis resource supports seek pagination (see documentation)Sort fieldssort field can have the following values:createdAt (Default) - Ad group creation date (desc by default)startDate - Ad group start date (desc by default)name - Ad group name (desc by default)

Endpoint: GET /api/v1/sp/adgroups

## Query parameters:

  - `campaigns` (array)
    The list of campaign ids you want to list

  - `ad_groups` (array)
    The list of ad groups ids you want to list

  - `delivering_statuses` (array)
    Filter by delivering statuses

  - `delivering_status_reasons` (array)
    Filter by delivering status reasons

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `count` (object, required)

  - `count.capped` (boolean)

  - `count.counted` (integer)

  - `data` (array, required)
    Page of data

  - `data.bid` (number)
    Amount of the bid

  - `data.bid_mode` (string)
    If AUTO, Ads will decide which bid to apply, else if MANUAL you have to define the amount in "bid" attribute, else if MANUAL_BY_PRODUCT you have to define the amount in ./products/add
Enum: `"AUTO"`, `"MANUAL"`, `"MANUAL_BY_PRODUCT"`

  - `data.budget` (number)
    Maximum amount the ad group is allowed to spend according to the selected budget type

  - `data.budget_type` (string)
    Ad group budget type
Enum: `"DAILY"`, `"LIFETIME"`

  - `data.campaign_id` (string)
    Campaign Id

  - `data.dayparting` (object)

  - `data.dayparting.schedule` (object)
    Delivering time slots per day of week. Every day of the week (MONDAY..SUNDAY) must be present. An empty list means the ad group does not deliver on that day. Times are in the publisher timezone, formatted as HH:mm:ss.

  - `data.delivering_status` (string)
    Delivering status of the ad group
Enum: `"DRAFT"`, `"ENDED"`, `"PAUSED"`, `"SCHEDULED"`, `"NOT_DELIVERING"`, `"DELIVERY_LIMITED"`, `"DELIVERING"`, `"ARCHIVED"`
    Example: DELIVERING

  - `data.delivering_status_reasons` (array)
    Reasons explaining the delivering status

  - `data.end_date` (string)
    When the ad group ends

  - `data.id` (string)
    Ad group Id

  - `data.keyword_targeting` (string)
    If AUTO, Ads will decide which keywords to target, else if MANUAL you have to add keywords with ../keywords/add
Enum: `"AUTO"`, `"MANUAL"`

  - `data.name` (string)
    Ad group name

  - `data.product_selection_mode` (string)
    Used when product_targeting = MANUAL. If PRODUCT_SKU you have to add product SKUs with ../products/add, else IF OFFER_SKU you have to add offer SKUs
Enum: `"PRODUCT_SKU"`, `"OFFER_SKU"`

  - `data.product_targeting` (string)
    If AUTO, Ads will decide which products to sponsor, else if MANUAL you have to add products with ../products/add
Enum: `"AUTO"`, `"MANUAL"`

  - `data.start_date` (string)
    When the ad group starts

  - `data.status` (string)
    Ad group status. DRAFT when the ad group is created
Enum: `"DRAFT"`, `"INACTIVE"`, `"ACTIVE"`, `"PAUSED"`, `"SCHEDULED"`, `"ENDED"`, `"BUDGET_HIT"`, `"NO_FUNDS"`, `"ARCHIVED"`

  - `next_page_token` (string)
    Token to access the next page. Absent if the current page is the last one.

  - `previous_page_token` (string)
    Token to access the previous page. Absent if the current page is the first one.

## Response 200 examples:

  - `Example with business values (application/json)` (unknown)

  - `Complete example with value types (application/json)` (unknown)

