Skip to main content

This type defines all rules/inclusion filters used to add listings to campaigns or promotions. Use of the specific fields is different for campaigns or promotions. See Using the selectionRules container.

Types that use SelectionRule

CampaignCriterionRuleCriteria

Calls that use SelectionRule

Fields

Field
Type
Description
brands
array of string
An array of product brands. For more details, see Using the selectionRules container.
categoryIds
array of string
This field contains an array of the associated category ID(s).

For Item promotions, a single-item array containing the category ID associated with the promotion. Required when used in an Item promotion and either specifying a selectionRules container or when inventoryCriterionType is set to INVENTORY_BY_RULE.

For Promoted Listing campaigns, an array of category ID(s) associated with the campaign.

For information on how to get category IDs, see eBay Marketplace category IDs and Seller store category IDs
categoryScope
This enumerated value indicates if the category ID for the item is an identifier for eBay categories or for a seller's eBay store categories.

For Promoted Listing campaigns, this field includes the type of the category ID for the item(s) to be included in the campaign.

For Item promotions, this field identifies the scope for the corresponding array as eBay categories or for a seller's eBay store categories. Required when used in an Item promotion and inventoryCriterionType is set to INVENTORY_BY_RULE.
listingConditionIds
array of string
A comma-separated list of unique identifiers for the conditions of listings to be included

For Promoted Listing campaigns, refer to Add items to the PLS campaign. Up to four IDs can be specified.

For Item promotions, refer to Item condition ID and name values.
maxPrice
This container sets the maximum price threshold. For more details, see Using the selectionRules container.
minPrice
This container sets the minimum price threshold. For more details, see Using the selectionRules container.