Create product sets
Learn how to create product sets in Dema to segment your catalog and export custom labels for Google and Meta feeds.
Why segmentations matter
Segmenting your products lets you slice and dice performance data by profitability, inventory levels, or other meaningful dimensions. By building product sets, you can quickly identify opportunities—for example, which products have low impressions, which are high-margin, or which are slow movers—and leverage that information across Google and Meta feeds.
How it works
Dema’s Segmentations feature allows you to group products into sets based on rules. These rules can reference key metrics (e.g., impressions, gross sales, net gross margin) or dimensions (e.g., category, channel). Once your product sets are defined, you can:
- Export a CSV mapping each relevant product to its custom label (e.g., “High margin,” “Low impressions”).
- Use these labels in your Google or Meta feeds for more targeted campaigns or bidding strategies.
Creating a product set
-
Go to “Segmentations.”
- In the Dema platform, look for the Segmentations section to manage product-level groupings.
-
Click “New product set.”
- Give your product set a name (e.g., “Slow movers” or “High margin products”) to easily recognize it.
- Pick a custom label—this label will appear in your output CSV and can be mapped to a custom_label_x field in Google or Meta.
-
Save.
- After entering a name and custom label, click “Save.”
- You can always come back and edit these details later.
Adding rules to your product set
Once your product set is created, click its name to configure rules that define which products belong in it.
-
Click “Add rule.”
- Provide a description for the rule (e.g., “Products without impressions”).
- Configure filters to identify which products match your criteria.
- Remember that the timeframe in the top-right corner (e.g., last 28 days) controls the data window for all metrics.
-
Choose filters.
- You can filter on metrics (e.g., impressions, gross sales, net gross margin) or dimensions (e.g., category, channel).
- For example, a rule might say: Impressions < 500 AND Channel = “Google.” Any product meeting all filters in this rule qualifies for that label.
-
Assign a label.
- In the rule configuration, set a Label (e.g., “Low impressions”). This label will be applied as the custom label in your exported feed whenever a product matches these filters.
-
Optional: set an expiry date.
- If you want this rule to expire on a certain date—e.g., after a seasonal promotion—include an expiry date. After that date, the rule disappears.
-
Rule order matters.
- If a product matches multiple rules, it inherits the label from the first matching rule in the list.
- Reorder rules if you want different prioritization.
-
Save.
- Each time you add or modify a rule, click “Save.” Dema then updates the product set accordingly.
Viewing the results
Once your rules are in place, you’ll see charts on the right side (or elsewhere in the interface) that show:
- % of products in the set (by count)
- % of marketing spend (feed-based ads) these products account for
- % of gross sales they represent
- % of inventory value they hold
These metrics help you assess each segment’s importance to your overall business. For example, if 5% of products consume 20% of your marketing spend, that might warrant closer examination.
Practical examples
-
Rule 1: Low impressions
- Filters: Impressions (Product ads) < 500 AND Channel = Google
- Label: “Low impressions”
- Captures products with fewer than 500 impressions on Google in the last 28 days.
-
Rule 2: Slow moving clothes
- Filters:
- Forecast sell-through (Rest of season) < 50%
- Category = CLOTHING
- Gross sales < 20,000
- Label: “Slow movers”
- Targets items with low sell-through rates and modest sales.
- Filters:
-
Rule 3: High margin
- Filter: Net gross margin 2 > 50.00%
- Label: “High margin”
- Ideal for identifying highly profitable products to promote further.
Exporting your product sets to feeds
After defining your product sets, you can export them as a CSV for use in Google or Meta:
-
Find the export option.
- In the Segmentations view, locate the three dots (⋮) next to your product set and select Copy link to CSV file.”
-
How the CSV is structured.
- The CSV contains product IDs at a higher “product” level, rather than size or variant level.
- Dema also pulls in all relevant feed-based ad IDs to properly label items in Google or Meta. For instance, if product 1920 in Dema has size variants 1920-1, 1920-2 in Google, the CSV will list all those variant IDs under the same custom label.
- Important: If a product hasn’t had any marketing spend in feed-based ads (i.e., it never appeared in Google or Meta), Dema doesn’t have a corresponding external ID. Consequently, that Google ID won’t appear in the exported file.
-
Mapping IDs.
- Since Dema aggregates marketing data, it knows how product 1920 in your e-commerce platform relates to IDs 1920-1, 1920-2, etc. in Google, and possibly 1920 in Meta.
- All these IDs get the same custom label in the export, meaning you can easily update your Google or Meta feeds to reflect the segmentation.
-
Use in Google or Meta.
- In your advertising platforms, map the exported custom label column to custom_label_x or whichever attribute is appropriate. This allows you to create specialized campaigns or rules (e.g., increase bids on “High margin” items, limit spend on “Slow movers,” etc.).
Tips and best practices
-
Keep labels short and descriptive.
- “LowImpr” or “HighMargin” are easier to manage in ad platforms than lengthy names.
-
Timeframe awareness.
- Rules use the data from the timeframe in the top-right corner (e.g., last 28 days). If you need a broader overview, adjust the date range.
-
Mind the rule order.
- The first matching rule is applied, so prioritize rules carefully to avoid unintended overlaps.
-
Monitor the charts.
- The segmentation charts help you see how each product set affects overall business metrics.
-
Regularly refresh rules.
- Product statuses change over time (e.g., a slow mover could become high margin if costs drop). Revisit your rules periodically.
-
Check product IDs.
- If a product has never had any feed-based ad spend, Dema can’t export an external ID for it. It won’t appear in the CSV.
Next steps
- Create product sets aligned with your goals—e.g., handling slow movers, capitalizing on high-margin items, or grouping low-impression products for improvement.
- Refine rules and watch the segmentation charts to understand the impact on marketing spend, gross sales, and inventory value.
- Export the CSV once you’re satisfied with your segment definitions.
- Update your feeds: Upload the CSV to Google or Meta, mapping Dema’s custom labels to the correct attribute fields.
- Optimize campaigns based on these new labels—target, bid, or pause segments strategically for higher profitability.
By leveraging Segmentations in Dema, you gain deeper insight into product performance and can act on those insights by customizing your ads. This ensures your ad budgets and product promotions are continuously aligned with what’s most profitable and strategically important in your catalog.