Customer Segment Hierarchy File

AP currently uses Customer Segments only to interface DT data available from AIF which is available at the Customer Segment level. Currently, this file needs to be loaded manually by customers using the same customer segments available in AIF once or whenever any changes to Customer Segments happened in AIF.

AP GA currently does not use the Customer Segment Hierarchy but this hierarchy is kept for use of non-template customers to customize and use the RAP Interfaces available if they are using the same.

Name Label Hierarchy Type Aggs
CSVD Version Main None
CSGD Customer Segment Main CSVD

File name: csgh.hdr.csv.dat

File format: comma-separated values file

The following table describes the fields in this file.

Field Description

Version

This is the version of Customer Segment. If there are no versions of customer segment, this can be mapped to the same value as Customer Segment.

Customer Segment Customer Segment unique id used in AIF.

Example:

csvd,csvd_label,csgd,csgd_label
5100,All Customers,5100,All Customers
5101,Value Seekers,5101,Value Seekers
5102,Top Spenders,5102,Top Spenders
5103,Seasonal Shopper,5103,Seasonal Shopper
5104,Loyal Customers,5104,Loyal Customers

Note:

In RAP Integration with AIF, AP can get the Customer Segment Hierarchy from AIF.