Skip to content

ADC11 - Remove targeted products from ad groups

Request

Bodyapplication/json
Array [
ad_group_idstringrequired

Ad group id

campaign_idstringrequired

Campaign id

idstringrequired

Offer of product SKU

]
curl -i -X POST \
  https://retailmedia.mirakl.net/api/v1/sp/products/remove \
  -H 'Content-Type: application/json' \
  -d '[
    {
      "ad_group_id": "0190ff4d-6363-7d9d-fd34-56c81eba0837",
      "campaign_id": "019011ef-6888-639f-b569-227f92df2069",
      "id": "0327834072035"
    }
  ]'

Responses

OK

Bodyapplication/json
failureArray of objects

List of products that failed to be removed

successArray of objects

List of products successfully removed from the ad groups

Response
{ "failure": [ { … } ], "success": [ { … } ] }