Skip to main content

Introduction

The Recommended Categories endpoint helps you discover the most relevant product categories for your advertising campaigns by leveraging a retailer’s taxonomy structure. This endpoint analyzes your specified products and returns up to 50 recommended categories that align with where your products naturally fit within the retailer’s inventory organization. Recommended categories are pulled directly from the retailer’s taxonomy, with each product having a category that indicates its position within the retailer’s inventory hierarchy. The endpoint uses the pages and child pages where products are already positioned to generate recommendations, ensuring that the suggestions are inherently relevant to the products associated with your line items. This data-driven approach is particularly valuable for campaign targeting optimization, category expansion strategies, and understanding how your products align with the retailer’s organizational structure. By using these recommendations, you can improve campaign performance by targeting the most appropriate product categories and reaching shoppers who are browsing relevant product sections.

Endpoint

Method

Endpoint

Description

POST

/retailers/{retailerId}/recommend-categories

Gets the top 50 recommended categories for specified products


Attributes table

Attribute

Data Type

Description

retailerId*

string

Unique identifier for the retailer. Found using theGETretailers endpoint.

Required in URL path.

Writable? N / Nullable? N

productIds*

array

Array of product ID strings for category recommendations.

Min: 1 item, Max: 1000 items.

Required field.

Writable? Y / Nullable? N

*Required
This endpoint retrieves the top 50 recommended categories for specified products based on the retailer’s taxonomy structure. Categories are determined by the pages and child pages where products are currently positioned within the retailer’s inventory. Sample Request
Sample Response

Responses

Code

Meaning

Troubleshooting Hint

🟢 200

Success

Request processed successfully, returns up to 50 recommended categories.

🔴 400

Bad Request

Check thatproductIdsarray is provided with 1-1000 items, andretailerIdis valid in URL path.

🔴 403

Forbidden

Verify authorization and retailer access permissions.


Common Error Scenarios

Missing or Empty Product IDs
Invalid Retailer ID


What’s next