---
updatedAt: 2026-06-11T19:27:20.000Z
---

# List All the Campaigns

Retrieve a specific campaign or all the campaigns for a specific advertiser.

> 📘 URL: ​GET /api/v1/campaigns

**Note:** It will not return deleted campaigns.

# Query Parameters

| Parameter                 | Description                                                                                                                                                                                    | Type    | Required | Possible Values                                                                         |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | -------- | --------------------------------------------------------------------------------------- |
| campaignId                | The ID of the campaign. It returns a specific campaign in response                                                                                                                             | integer | N        | A valid campaign ID                                                                     |
| advertiserId              | The ID of the advertiser. It returns all campaigns run by specific advertiser in response                                                                                                      | integer | Y        | Advertiser ID for the campaign(s) to be retrieved                                       |
| filter\[name]             | A valid campaign name with which the desired campaign can be searched in the absence of campaign idNote: characters encoding is required for \[ and ]                                          | string  | N        | Provide a campaign name to search the relevant campaign by name instead of campaign Id. |
| filter\[lastModifiedDate] | Provide a date to fetch only those campaigns which were modified on or after that dateNote: Modified describes any change to campaign set upNote: characters encoding is required for \[ and ] | date    | N        | Date should be in format: yyyy-mm-dd                                                    |

## Sample Request

```
curl -X GET \ 
'https://developer.api.stg.walmart.com/api-proxy/service/WPA/Api/v1/api/v1/campaigns?campaignId=600001&advertiserId=500003&filter[name]=camp1&filter[lastModifiedDate]=2019-07-03' \
--header 'Authorization: Bearer <auth_token>' \
--header 'accept: application/json' \
--header 'WM_SEC.AUTH_SIGNATURE: **************'\
--header 'WM_SEC.KEY_VERSION: 1' \ 
--header 'WM_CONSUMER.ID: adfwe-v23-faasd2r-afs-asdfqeff' \
--header 'WM_CONSUMER.intimestamp: 1565309779'\
```

# Response

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Element 
      </th>

      <th>
        Description
      </th>

      <th>
        Type
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        name
      </td>

      <td>
        Name of the campaign
      </td>

      <td>
        string
      </td>
    </tr>

    <tr>
      <td>
        campaignType
      </td>

      <td>
        Type of campaign. Possible values for campaign type: <ul><li>sponsoredProducts</li><li>sba</li><li>video</li></ul>

        Note: <ul><li>You receive campaign type “sba” in association with targeting type “manual” (for Sponsored Brands campaigns). </li><li>You receive campaign type “video” in association with targeting type “manual” (for Sponsored Videos campaigns).</li></ul>
      </td>

      <td>
        string
      </td>
    </tr>

    <tr>
      <td>
        targetingType
      </td>

      <td>
        The targeting type of the campaign is a set of options to create campaigns with different bidding types.Possible values to targeting type are: <ul><li>manual</li><li>auto</li></ul>

        Note: You receive targeting type as “manual” in case of keyword bidding campaigns (including Sponsored Brands) and Sponsored Video
      </td>

      <td>
        string
      </td>
    </tr>

    <tr>
      <td>
        status
      </td>

      <td>
        Specified status of campaign. Possible status values are: <ul><li>Enabled</li><li>Scheduled</li><li>Rescheduled</li><li>Live</li><li>Paused</li><li>Completed</li><li>Proposal</li></ul>

        Notes: <ul><li>If you extend a completed campaign, the campaign status changes to “rescheduled” and eventually switches to “live”</li><li>An API campaign acquires “proposal” status when you create it through Self-Serve tool. This indicates that the respective campaign is in draft mode and has not been scheduled yet</li><li>It is not recommended to create API campaigns via Self-Serve. You should use the API to create API campaigns because campaigns created this way do not have a draft option and they are directly scheduled.</li></ul>
      </td>

      <td>

      </td>
    </tr>

    <tr>
      <td>
        budgetType
      </td>

      <td>
        The type of budget allocation chosen for the campaign. Possible values of budgetType are: <ul><li>daily</li><li>both</li></ul>
      </td>

      <td>
        string
      </td>
    </tr>

    <tr>
      <td>
        startDate
      </td>

      <td>
        The date to start campaign
      </td>

      <td>
        date 
      </td>
    </tr>

    <tr>
      <td>
        endDate
      </td>

      <td>
        The date when Campaign ends. It returns value 9999-XX-XX if running indefinitely, for example 9999-12-30
      </td>

      <td>
        date
      </td>
    </tr>

    <tr>
      <td>
        totalBudget
      </td>

      <td>
        Total budget of campaign
      </td>

      <td>
        double
      </td>
    </tr>

    <tr>
      <td>
        dailyBudget 
      </td>

      <td>
        Daily budget of campaign
      </td>

      <td>
        double
      </td>
    </tr>

    <tr>
      <td>
        rollover
      </td>

      <td>
        The indicator to suggest whether the unspent daily budget from the previous day should be carried forward to next day’s daily budget or not. The default and only value of rollover is “true” at present.
      </td>

      <td>
        boolean
      </td>
    </tr>

    <tr>
      <td>
        campaignOptions
      </td>

      <td>
        List of campaign setting options for a given campaign. Possible campaign setting options (only applicable to Sponsored Search automatic campaigns):<ul><li>BRAND\_TERM\_OPT\_OUT</li><li>COMPLEMENTARY\_OPT\_OUT</li></ul>
      </td>

      <td>
        array
      </td>
    </tr>

    <tr>
      <td>
        campaignId
      </td>

      <td>
        The ID of the campaign
      </td>

      <td>
        integer
      </td>
    </tr>

    <tr>
      <td>
        advertiserId
      </td>

      <td>
        The ID of the advertiser for whom the campaign is retrieved
      </td>

      <td>
        integer
      </td>
    </tr>

    <tr>
      <td>
        biddingStrategy
      </td>

      <td>
        A json object containing `strategy 
        The possible values of the `strategy\` field are: <ul><li>DYNAMIC – Indicates the bidding strategy is dynamic</li><li>FIXED – Indicates the bidding strategy is fixed</li></ul>
      </td>

      <td>
        JSON Object
      </td>
    </tr>
  </tbody>
</Table>

## Sample Response

```
[ 
  { 
    "name": "Campaign 21 for API Test", 
    "campaignType": "sponsoredProducts", 
    "targetingType": "auto", 
    "status": "Scheduled", 
    "budgetType": "both", 
    "startDate": "%currentDate%", 
    "endDate": "%currentDatePlus1Month%", 
    "totalBudget": 72000, 
    "dailyBudget": 2500, 
    "rollover": true, 
    "advertiserId": 600001, 
    "campaignId": 600021, 
    "channel": "Walmart.com", 
    "campaignOptions": ["BRAND_TERM_OPT_OUT"],
    "biddingStrategy": { 
      "strategy": "DYNAMIC"
    } 
  } 
] 
```

<br />