Skip to content

ADC12 - Get products targeted by an ad group

Request

Query
ad_groupstringrequired

Ad group id

curl -i -X GET \
  'https://retailmedia.mirakl.net/api/v1/sp/products?ad_group=string'

Responses

OK

Bodyapplication/json
Array [
ad_group_idstring

Ad group id

campaign_idstring

Campaign id

category_idstring

Product category

framework_idstring

Product framework id (=master)

idstring

Product id

offer_skustring

Offer sku mentioned when ad group productSelectionMode = OFFER_SKU

product_activitystring

Product availability

Enum: "AVAILABLE", "INACTIVE_OFFER", "UNAVAILABLE", "DELETED"

product_bidnumber, (with decimals)

Amount of the individual product bid mentioned when bid_mode = MANUAL_BY_PRODUCT

product_skustring

Product sku mentioned when ad group productSelectionMode = PRODUCT_SKU

]
Response
[ { "ad_group_id": "0190ff4d-6363-7d9d-fd34-56c81eba0837", "campaign_id": "019011ef-6888-639f-b569-227f92df2069", "category_id": "1846371", "framework_id": "0327834072035", "id": "0327834072035", "offer_sku": null, "product_activity": "AVAILABLE", "product_bid": 1.2, "product_sku": "0327834072035" } ]