List campaigns
Retrieve, filter, and paginate Onsite Display campaigns for management and reporting.
Overview
Use this endpoint to retrieve a paginated list of campaigns for a single advertiser account.
The response includes campaign attributes such as:
- Status
- Budget type
- Budget values
- Objectives
- Flight dates
- Configuration placement
Use this endpoint when you need to:
- Synchronize campaign metadata into partner platforms
- Populate campaign management interfaces
- Validate campaign configuration before updates
- Review campaign state before reporting or measurement workflows
This endpoint is read-only and does not modify campaign state.
Availability
Supported for Onsite Display only.
Read-only endpointCampaign List APIs retrieve campaign data but do not create, update, pause, resume, archive, or delete campaigns.
How campaign discovery works
List Campaigns
Retrieve campaign metadata and lifecycle state.
Review Configuration
Validate budgets, objectives, and flight dates.
Check Readiness
Confirm campaigns before updates or reporting.
Populate UI
Power dashboards and management interfaces.
Sync Systems
Keep partner platforms aligned with Walmart Connect.
Common use cases
Platform synchronization
Keep campaign data aligned between Walmart Connect and partner systems.
Campaign management
Retrieve current campaign settings before performing updates.
Measurement validation
Review campaign state before reporting or measurement workflows.
Endpoint
POST /api/v1/campaigns/list
POST /api/v1/campaigns/listBefore you begin
- Valid
advertiserId
Request details
How this request is used
Applies filters and pagination to retrieve campaign data for display, validation, or synchronization purposes.
Key fields and behaviors
Filter options
Use filters to narrow results. Multiple filters may be combined.
Supported filters include:
campaignId
Retrieve specific campaigns (maximum 25 IDs)name
Exact campaign namestatus
Lifecycle statelastModifiedDate
ISO 8601 date filter; processed in eastern time.
Sample request
Multiple filters
curl -X POST \ 'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/campaigns/list' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <auth_token>'
--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'
--data '{ "advertiserId": 1, "Filter[campaignId]": [1], "Filter[name]": ["string"], "Filter[status]": "string”, "Filter[lastModifiedDate]": "string", "startIndex": 0, "count": 10 }'Response details
What this response returns
A paginated list of campaigns and their associated metadata.
Key fields to use
-
campaignId
Unique campaign identifier. -
status
Campaign lifecycle state. -
budgetType
Indicates whether the campaign uses daily or total budget. -
startDate/endDate
Campaign flight dates. -
attributesSetOnAdGroupLevel
Indicates whether budget and schedule are controlled at the ad group level. -
code
Overall operation result (success,failure) -
details
Validation messages, processing feedback, or failure details -
message
Optional. High-level, human-readable summary of the error when available. -
errors
Detailed information about one or more errors. This is an array object with fields:field,errorType,description
-
code
Overall operation result (success,failure) -
details
Validation messages, processing feedback, or failure details -
name
Name of the campaign. Returned only when code=success -
message
Optional. High-level, human-readable summary of the error when available. -
errors
Detailed information about one or more errors. This is an array object with fields:field,errorType,description
Error Handling
If the request or an individual item fails, the response includes error information to help identify the issue and determine the corrective action. Use errorType for the error condition, field for the affected request field when applicable, and description for an explanation of the error and, when available, guidance on how to resolve it.
For the complete error response schema and endpoint-specific response definitions, see the API Reference. For guidance on HTTP status codes and how clients should handle them, see API status codes and error handling.
How to interpret results
-
Each campaign object represents a single campaign.
-
Budget fields vary by budget type:
dailyBudgetappears when the campaign uses a daily budgettotalBudgetappears when the campaign uses a total budget
-
Campaigns created before April 2025 may return
objective=default
Sample response
Sample response with multiple results
{ "totalResults": 2, "response": [ { "campaignId": 1, "campaignExtId": 1, "name": "string", "description": "string", "objective": "string", "status": "string", "startDate": "string", "endDate": "string", "budgetType": "DAILY", "deliverySpeed": "string", "dailyBudget": 1, "campaignType": "NGD", "creationDate": "string", "lastUpdatedDate": "string", "attributesSetOnAdGroupLevel": false, "mediaType": "BANNER" }, { "campaignId": 2, "campaignExtId": 2, "name": "string", "description": "string", "objective": "string", "status": "string", "startDate": "string", "endDate": "string", "budgetType": "TOTAL", "deliverySpeed": "string", "totalBudget": 10, "campaignType": "NGD", "creationDate": "string", "lastUpdatedDate": "string", "attributesSetOnAdGroupLevel": false, "mediaType": "BANNER" } ]
}Sample response - failure
[ { "code": "failure", "details": [ "string" ], "message": "string",
"errors": [ { "field": "string", "errorType": "string", "description": "string" } ] }
]Common issues
- Using broad queries without filters
- Incorrect filter formats
- Incorrect date formatting
- Forgetting to set
countfor smaller responses - Expecting this endpoint to modify campaign data
- Using invalid IDs or enums as filters
What happens next
- Use campaign IDs to retrieve campaign details before updates
- Use the results to populate partner UIs or dashboards
- Validate configuration before issuing update requests
Related pages
Updated 15 days ago
