Skip to content

ADC06 - Get sponsored product campaigns

Request

Pagination

This resource supports seek pagination (see documentation)

Sort fields

sort field can have the following values:

  • createdAt (Default) - Campaign creation date (desc by default)
  • startDate - Campaign start date (desc by default)
  • name - Campaign name (desc by default)

Query
campaignsArray of strings

Filter by campaign ids

storesArray of strings

Filter by store ids

advertisersArray of strings

Filter by advertiser ids

publisherstring

Filter by publisher id

delivering_statusesArray of strings

Filter by delivering statuses

Items Enum:"DRAFT""ENDED""PAUSED""SCHEDULED""NOT_DELIVERING""DELIVERY_LIMITED""DELIVERING""ARCHIVED"
delivering_status_reasonsArray of strings

Filter by delivering status reasons

Items Enum:"ARCHIVED""DRAFT""ENDED""PAUSED""SCHEDULED""PARENT_CAMPAIGN_BLOCKED""NO_AD_GROUPS""CREDIT_LIMIT_REACHED""LIFETIME_BUDGET_REACHED""NO_DELIVERING_AD_GROUPS"
curl -i -X GET \
  'https://retailmedia.mirakl.net/api/v1/sp/campaigns?campaigns=string&stores=string&advertisers=string&publisher=string&delivering_statuses=DRAFT&delivering_status_reasons=ARCHIVED'

Responses

OK

Bodyapplication/json
countobjectrequired

Total data count

dataArray of objectsrequired

Page of data

next_page_tokenstring

Token to access the next page. Absent if the current page is the last one.

previous_page_tokenstring

Token to access the previous page. Absent if the current page is the first one.

Response
{ "count": { "capped": true, "counted": 0 }, "data": [ { … } ], "next_page_token": "string", "previous_page_token": "string" }