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

📌

Measurement requirement

A campaign must have a featured item set assigned and in BUILT status to report attributable sales and revenue metrics.

⚠️

Delivery vs measurement

Campaigns 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

  1. Retrieve list of item sets
    Use the LIST item sets API to retrieve a list of item sets with applicable metadata.
  2. Validate item set readiness
    To use (and associate) an item set for campaign measurement, it must meet the following requirements.
    1. status=BUILT
    2. class=MEASUREMENT
    3. itemsetType=FEATURED (item sets where itemsetType=HALO can also be added to a campaign; however, this is optional).
  3. Save item set ID
    Save item set ID to use in your add item set request

Endpoint

POST /api/v1/itemsetAssociation


Request 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 (FEATURED or HALO)

  • 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 BUILT status.
  • 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.

none

Measure only featured products.

brand

Measure broader brand impact.

category

Measure category-level influence.

custom

Measure a manually curated item set.

Halo configuration options

ValueDescriptionMeasurement Behavior
noneNo halo item set associatedNo expanded measurement
brandAuto-created including products from the same brand(s)Measures broader brand impact
categoryAuto-created including products from the same brand(s) and category(s)Measures category-level influence
customUses a manually created halo item set (item IDs provided by user)Provides precise measurement control

Removing item sets

📌

Delivery impact

Removing 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 itemsetId from the request
  • Auto-created halo item sets (brand or category) will also be removed
  • Custom halo item sets remain unchanged

Remove halo measurement

To remove halo measurement:

haloAssociationType = none


Omission behaviors

⚠️

Important

Omitting fields may remove existing measurement configuration.

  • Omitting itemsetId removes the existing featured item set association.
  • Omitting haloAssociationType removes 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 BUILT status
  • Omitting itemsetId unintentionally removes campaign measurement
  • Missing haloItemsetId when using custom
  • Using invalid halo configuration values
  • Attempting to associate multiple featured item sets

What happens next

After assigning item sets:

  1. Campaign measurement becomes enabled
  2. Attribution reporting becomes available
  3. Creative-to-item alignment can be validated
  4. Reporting APIs can return attributable sales and revenue metrics

Related pages


Did this page help you?