Add/remove item sets
Learn to manage campaign item set associations for featured and halo measurement.
Overview
This API allows users to associate measurement item sets (featured or halo) with a campaign. Associating a featured item set is required for campaign performance measurement (including both attributable sales and revenue metrics). You may also optionally associate a halo item set to expand measurement beyond featured products. Halo item sets can be auto-created and associated to a campaign using this API.
This guide explains:
- How measurement item sets are associated with campaigns
- When item sets can be associated with campaigns
- The difference between featured and halo measurement
- How automated and custom halo measurement works
- How item set removal affects campaign reporting
Availability
Supported for Onsite Display only.
How campaign measurement works
Campaign measurement is driven by item sets.
Campaign
Campaign is created and activated.
Featured Item Set
Products to be measured are assigned.
Measurement Enabled
Campaign becomes eligible for attribution reporting.
Attributed Sales
Sales and revenue metrics become available in reporting.
Featured vs halo measurement
Featured Measurement
Measures the primary products being advertised.
Answers:
How did my campaign impact the products being promoted?
Halo Measurement
Measures broader product impact beyond the advertised products.
Answers:
How did my campaign influence related products across the brand or category?
Measurement requirementA campaign must have a featured item set assigned and in BUILT status to report attributable sales and revenue metrics.
Delivery vs measurementCampaigns can still deliver impressions without a featured item set. However, attributable sales and revenue metrics will not be reported.
Before you begin
- Valid
advertiserId - Valid
campaignId
Campaign cannot be completed or archived. - Valid
itemsetId - Item set status =
BUILT
Finding the right item set to enable campaign performance measurement
- Retrieve list of item sets
Use the LIST item sets API to retrieve a list of item sets with applicable metadata. - Validate item set readiness
To use (and associate) an item set for campaign measurement, it must meet the following requirements.status=BUILTclass=MEASUREMENTitemsetType=FEATURED(item sets whereitemsetType=HALOcan also be added to a campaign; however, this is optional).
- Save item set ID
Save item set ID to use in your add item set request
Endpoint
POST /api/v1/itemsetAssociation
POST /api/v1/itemsetAssociationRequest details
How this request is used
Assigns, updates, or removes item sets associated with a campaign for measurement purposes.
Key fields and behaviors
-
itemsetId
Featured item set used for campaign measurement. -
itemsetType
Item set type (FEATUREDorHALO) -
haloAssociationType(optional)
Defines how halo measurement is configured. -
haloItemsetId
Required only when using a custom halo item set.
Important measurement rules
- Only one featured item set can be assigned per campaign.
- Featured item sets must be in
BUILTstatus. - Items in the featured item set are excluded from halo measurement.
- Halo measurement is optional.
- Halo item set association an removal is only allowed for campaigns with a start date on or after April 1, 2025.
Choosing a halo strategy
The haloAssociationType parameter determines how halo measurement is configured.
Halo configuration options
| Value | Description | Measurement Behavior |
|---|---|---|
none | No halo item set associated | No expanded measurement |
brand | Auto-created including products from the same brand(s) | Measures broader brand impact |
category | Auto-created including products from the same brand(s) and category(s) | Measures category-level influence |
custom | Uses a manually created halo item set (item IDs provided by user) | Provides precise measurement control |
Removing item sets
Delivery impactRemoving the featured item set does not stop delivery.
However, campaign measurement and attribution reporting are removed.
Remove featured item set
To remove a featured item set:
- Omit
itemsetIdfrom the request - Auto-created halo item sets (
brandorcategory) will also be removed - Custom halo item sets remain unchanged
Remove halo measurement
To remove halo measurement:
haloAssociationType = none
Omission behaviors
ImportantOmitting fields may remove existing measurement configuration.
- Omitting
itemsetIdremoves the existing featured item set association.- Omitting
haloAssociationTyperemoves an existing halo configuration.Review requests carefully before submission.
Sample requests
Default with featured item set
curl -X POST \ 'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/itemsetAssociation' \ --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, "campaignId": 73512, "itemsetId": 1234, "itemsetType": "FEATURED" }
]' With auto-created Brand halo item set
curl -X POST \ 'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/itemsetAssociation' \ --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, "campaignId": 1, "itemsetId": 1234, "itemsetType": "featured", "haloAssociationType": "BRAND" }
]' Custom halo item set
curl -X POST \ 'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/itemsetAssociation' \ --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, "campaignId": 73512, "itemsetId": 1234, "itemsetType": "FEATURED", "haloAssociationType": "CUSTOM", "haloItemsetId": 123 }
]' Batch operation
curl -X POST \ 'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/itemsetAssociation' \ --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, "campaignId": 1, "itemsetId": 1234, "itemsetType": "featured", "haloAssociationType" : "BRAND" },
{ "advertiserId": 1, "campaignId": 73512, "itemsetType": "FEATURED", "haloAssociationType" : "CUSTOM", "haloItemsetId": 123 } ]Remove featured / auto halo item sets
curl -X POST \ 'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/itemsetAssociation' \ --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, "campaignId": 73512, "itemsetType": "FEATURED" }
]' Response details
What this response returns
Confirms whether the item set association was successfully applied.
Key fields to use
-
campaignId
Campaign associated with the measurement configuration. -
itemsetId
Featured item set associated with the campaign. -
code
Indicates whether the update request succeeded or failed. -
details
Provides additional information about the request, including errors when applicable. -
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
Successful association
The campaign measurement configuration has been updated successfully.
Failed association
The measurement configuration remains unchanged.
Review the validation details and retry after correcting the issue.
Sample response
Single campaign
[ { "code": "success", "details": [ "ITEMSET_CAMPAIGN_ASSOCIATION_SUCCESS" ], "campaignId": 1, "itemsetId": 1234 }
]Batch operation
[ { "code": "success", "details": ["ITEMSET_CAMPAIGN_ASSOCIATION_SUCCESS"], "campaignId": 1, "itemsetId": 1234 }, { "code": "success", "details": ["ITEMSET_CAMPAIGN_ASSOCIATION_SUCCESS"], "campaignId": 1, "itemsetId": 1234 } ]Sample Response - failure
[ { "code": "failure", "details": [ "string" ], "message": "string",
"errors": [ { "field": "string", "errorType": "string", "description": "string" } ] }
]Common issues
- Item set not in
BUILTstatus - Omitting
itemsetIdunintentionally removes campaign measurement - Missing
haloItemsetIdwhen usingcustom - Using invalid halo configuration values
- Attempting to associate multiple featured item sets
What happens next
After assigning item sets:
- Campaign measurement becomes enabled
- Attribution reporting becomes available
- Creative-to-item alignment can be validated
- Reporting APIs can return attributable sales and revenue metrics
Related pages
Updated 14 days ago
