> ## Documentation Index
> Fetch the complete documentation index at: https://developers.criteo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Managing Campaigns

> [!NOTE]
>
> A MPO-Campaign is a course of action to advertise the products of your sellers.

## Adding Campaigns

Campaigns are not added with the API. Instead, they are created, started and stopped by your Technical Solution engineer.

***

## Managing Seller-Campaigns

A Seller-Campaign contains all the information relative to the advertisement for the products of a Seller in a Campaign. In particular, it contains information about bid and status:

**`bid`**\
Bid specified for this Seller in this Campaign

**`suspendedSince`**\
Date and time since we stopped delivering ads for this Seller in this Campaign.

**`suspensionReasons`**\
List of reasons why the campaign is suspended (possible values are: `NoMoreBudget`, `ManuallyStopped`, `NoBudgetDefined`, `NoCpcDefined`, `RemovedFromCatalog`)

Every Seller-Campaign is identified by:

**`sellerId`**\
`SellerId` of the seller associated to this Seller-Campaign

**`campaignId`**\
`CampaignId` of the MPO-campaign associated to this Seller-Campaign

***

## Adding Seller-Campaigns

Seller-Campaigns get automatically created for every Campaign and every Seller in your feed.

* New Seller-Campaigns are created inactive by default (`suspendedSince` flag is set to the moment of creation) 

***

## Getting Seller-Campaigns

To see what Seller-Campaigns are available, can make the following query:

GET

```http theme={null}
/marketplace-performance-outcomes/seller-campaigns
```

**Sample response**

```json JSON theme={null}
[{
    "id": "1.10001",
    "suspendedSince": "2018-07-30T18:00:13.333",
    "suspensionReasons": ["NoMoreBudget"],
    "sellerId": "1",
    "campaignId": 10001,
    "bid": null
},{
    "id": "2.10001",
    "suspendedSince": "2018-09-03T09:00:23.8",
    "suspensionReasons": ["ManuallyStopped"],
    "sellerId": "2",
    "campaignId": 10001,
    "bid": null
},{
    "id": "3.10001",
    "suspendedSince": "2018-09-03T09:00:23.8",
    "suspensionReasons": ["NoCpcDefined"], 
    "sellerId": "3",
    "campaignId": 10001,
    "bid": null
}]
```

***

## Get specific Seller-campaign

You can also fetch the details of a single Seller-campaign using the following request:

GET

```http theme={null}
/marketplace-performance-outcomes/seller-campaigns/{sellerCampaignId}
```

**Sample response**

```json theme={null}
{
  "id": "543210.123456",
  "sellerId": "543210",
  "campaignId": 123456,
  "bid": 1.55,
  "suspendedSince": "2018-07-30T15:15:24.813",
  "suspensionReasons": [
    "NoMoreBudget"
  ]
}
```

An active seller campaign meets these conditions:

* The `suspendedSince` field is `null`.
* The `bid` value is greater than zero.
* The bid currency matches the `bidCurrency` of the related campaign.

Additionally, an active seller campaign must have an active total budget (capped or uncapped). It may also have an active daily budget to further restrict spending.

> [!NOTE]
>
> **Suspension reasons**
>
> * `ManuallyStopped`: The campaign has been manually paused, independent of other suspension causes.
> * `NoBudgetDefined`: No valid budget is linked to the campaign.
> * `NoCpcDefined`: No cost-per-click (CPC) has been set for the campaign.
> * `NoMoreBudget`: The current budget of the campaign has been fully used.
> * `RemovedFromCatalog`: All products in the campaign have been removed from the catalog.
> * `NotYetStarted`: The campaign is newly created and has not yet been processed.

***

## Get a collection of budgets for selected Seller-Campaign

The following endpoint retrieves a list of budgets for the specified seller campaign, applying any optional filters provided.

If no filters are set, it returns all accessible budgets except those with an `endDate` in the past.\
When multiple filters are applied, only budgets meeting all criteria are included.

GET

```http theme={null}
/marketplace-performance-outcomes/seller-campaigns/{sellerCampaignId}/budgets
```

**Sample response**

```json theme={null}
[
  {
    "id": "6907877",
    "sellerId": "10624700",
    "campaignIds": [
      225662
    ],
    "budgetType": "Daily",
    "amount": 12.0000,
    "startDate": "2021-02-25",
    "endDate": "Never",
    "spend": null,
    "status": "Current",
    "isSuspended": false
  }
]
```

You can apply the following query parameters to the endpoint to specify filters:

<table>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Definition
      </th>

      <th>
        Type
      </th>

      <th>
        Required?
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `sellerCampaignId`
      </td>

      <td>
        Filters budgets belonging to the specified seller campaign.
      </td>

      <td>
        `string`
      </td>

      <td>
        Yes
      </td>
    </tr>

    <tr>
      <td>
        `endAfterDate`
      </td>

      <td>
        Returns budgets ending after the specified date (

        `yyyy-MM-DD`

        ). Defaults to only active (not ended) budgets if omitted.
      </td>

      <td>
        `string`
      </td>

      <td>
        No
      </td>
    </tr>

    <tr>
      <td>
        `startBeforeDate`
      </td>

      <td>
        Returns budgets starting on or before the specified date (

        `yyyy-MM-DD`

        ).
      </td>

      <td>
        `string`
      </td>

      <td>
        No
      </td>
    </tr>

    <tr>
      <td>
        `status`
      </td>

      <td>
        Filters budgets by their status. Possible values:

        **Archived**

        , \*\*

        Current

        **,**

        Scheduled\*\*.
      </td>

      <td>
        `string`
      </td>

      <td>
        No
      </td>
    </tr>

    <tr>
      <td>
        `type`
      </td>

      <td>
        Filters budgets by the specified budget type.
      </td>

      <td>
        `string`
      </td>

      <td>
        No
      </td>
    </tr>

    <tr>
      <td>
        `withBalance`
      </td>

      <td>
        Returns only budgets with a positive balance.
      </td>

      <td>
        `boolean`
      </td>

      <td>
        No
      </td>
    </tr>

    <tr>
      <td>
        `withSpend`
      </td>

      <td>
        Returns budgets with a positive spend amount.
      </td>

      <td>
        `boolean`
      </td>

      <td>
        No
      </td>
    </tr>
  </tbody>
</table>

***

## Starting Seller-Campaigns

In order to start delivering ads for a Seller in a Campaign, the Seller-Campaign needs to:

* be part of a running Campaign,
* have a bid (see "[Setting the Bid for a given Seller-Campaign](https://developers.criteo.com/marketing-solutions/v2025.07/docs/managing-campaigns.md#setting-the-bids-of-seller-campaigns)" section),
* have an active budget (see "[Managing Budgets](https://developers.criteo.com/marketing-solutions/v2025.07/docs/managing-budgets.md)" section),

When a Seller-Campaign becomes inactive, the `suspendedSince` flag is null.

***

## Stopping Seller-Campaigns

In order to stop delivering ads for a Seller in a Campaign, you can do one of the following actions:

* set the bid of the Seller-Campaign to null (see "[Setting the Bid for a given Seller-Campaign](https://developers.criteo.com/marketing-solutions/v2025.07/docs/managing-campaigns.md#setting-the-bids-of-seller-campaigns)" section),
* suspend the current budget (see "[Suspend a Budget](https://developers.criteo.com/marketing-solutions/v2025.07/docs/managing-budgets.md#suspending-budgets)" section),
* remove products of this Seller from the feed (if you have several MPO-Campaigns, this will also stop the Seller in the other MPO-Campaigns).

When a Seller-Campaign becomes inactive, the `suspendedSince` flag is set to the current date.

***

## Setting the Bids of Seller-Campaigns

In order to have a Sellers active in the campaign, you have to specify the bids that will be used for these Sellers in the given Campaign.

PATCH

```http theme={null}
/marketplace-performance-outcomes/seller-campaigns
```

**Sample response**

```json JSON theme={null}
[{
    "id": "1.10001",
    "bid": 0.3
},{
    "id": "2.10001",
    "bid": 0.6
},{
    "id": "3.10001",
    "bid": 0.5
}]
```

> [!WARNING]
>
> Note that the ID is defined by “seller ID” dot “campaign ID” (e.g 1.10001 for seller ID 1 and campaign 10001).

## What's next

* [Managing Budgets](https://developers.criteo.com/marketing-solutions/v2025.07/docs/managing-budgets.md)
* [Getting statistics](https://developers.criteo.com/marketing-solutions/v2025.07/docs/getting-statistics.md)
* [Validation Errors](https://developers.criteo.com/marketing-solutions/v2025.07/docs/validation-errors.md)
