Legacy Views - Campaign Results

Views are out-of-the-box data queries on top of the base structure of the data, providing easy access to common use cases required datasets and additional data useful to exploit the data lakes product fully.

Using views, Data Share evolve while providing you with data contracts that will be kept and enable stable integrations with your internal platforms.

VW_CAMPAIGN_RESULTS (v1.2)


Table Description

Field NameDescriptionData TypeFormat
PLAN_IDA Campaign's IDString
EXECUTION_DATECampaign Occurrence dayDateyyyy-mm-dd
END_TEST_DATELast day of testing that is calculated into this campaign metricsDateyyyy-mm-dd
TARGET_GROUP_IDUnique identifier for each target group (same as TARGET_GROUP_SERIAL)String
TARGET_GROUP_NAMEName of the target groupString
LIFECYCLE_STAGE_IDUnique identifier for each lifecycle stageString
LIFECYCLE_STAGE_NAMEName of the lifecycle stageString
KPIName of the KPI represented in each rowString
IS_DEFAULT_KPIFlag to indicate if KPI is default for this campaignBoolean
KPI_DISTRIBUTION_TYPEType of KPI distributionString
CAMPAIGN_TYPEType of campaignString
CAMPAIGN_TYPE_NAMEName of the campaign typeString
TARGET_GROUP_PRIORITYPriority of target groupInteger
IS_AUTO_PRIORITYFlag to indicate if priority is auto-generatedBoolean
PLAN_GROUPSIZESize of target group according to planInteger
IS_AVERAGE_SIGNIFICANCEFlag to indicate if average value is significantBoolean
IS_RESPONSE_RATE_SIGNIFICANCEFlag to indicate if response rate is significantBoolean
INCREASE_INIncrease in KPIFloat
INCREASE_PER_CUSTOMERIncrease in KPI per customerFloat
IS_COMPLETEDFlag to indicate if campaign is completedBoolean
PLAN_DETAIL_IDCampaign action IDString
IS_CONTROLFlag to indicate if target group is a control groupBoolean
PLAN_DETAIL_GROUP_SIZESize of target group according to plan occurrenceInteger
PLAN_DETAIL_NUMBER_OF_RESPONDENTSNumber of customers who responded to campaign occurrenceInteger
PLAN_DETAIL_RESPONSE_RATEResponse rate of campaign occurrenceFloat
PLAN_DETAIL_AVGVALUEAverage value of campaign occurrenceFloat
PLAN_DETAIL_STDEV_VALUEStandard deviation of campaign occurrenceFloat
PLAN_DETAIL_AVG_LOG_VALUEAverage logarithmic value of campaign occurrenceFloat
PLAN_DETAIL_VAR_LOG_VALUEVariance of logarithmic value of campaign occurrenceFloat
PLAN_DETAIL_NUMBER_OF_CLICKED_AND_RESPONDNumber of customers who clicked and responded to campaign occurrenceInteger
PLAN_DETAIL_AVG_VALUE_OF_CLICKED_AND_RESPONDAverage value of customers who clicked and responded to campaign occurrenceFloat


V1.0 -

-- FOR V1.0 (FKA ACTION_SERIAL_CAMPAIGNS)
SELECT *
FROM [SHARED_DB].[BI].[CAMPAIGN_RESULTS]

Base Table Columns

Column NameDescriptionData TypeFormat
PLAN_IDA Campaign's IDNUMBER(38,0)
EXECUTIONDATEDate of campaign executionTIMESTAMP_NTZyyyy-mm-dd HH:MM:SS
ENDTESTDATELast day of testingTIMESTAMP_NTZyyyy-mm-dd HH:MM:SS
TARGETGROUPNAMEName of target groupTEXT(1700)
LIFECYCLE_STAGEName of lifecycle stageTEXT(200)
KPIIDName of key performance indicatorNUMBER(38,0)
ISDEFAULTKPIFlag to indicate if KPI is defaultNUMBER(38,0)
DISTRIBUTIONTYPEType of KPI distributionNUMBER(38,0)
CAMPAIGNTYPEType of campaignNUMBER(38,0)
TARGET_GROUP_PRIORITYPriority of target groupNUMBER(38,0)
IS_AUTO_PRIORITYFlag to indicate if priority is auto-generatedNUMBER(38,0)
PLAN_GROUPSIZESize of target group according to planNUMBER(38,0)
ISAVERAGESIGNIFICANCEFlag to indicate if average value is significantNUMBER(38,0)
ISRESPONSERATESIGNIFICANCEFlag to indicate if response rate is significantNUMBER(38,0)
INCREASEINIncrease in KPINUMBER(30,6)
INCREASEPERCUSTOMERIncrease in KPI per customerNUMBER(30,6)
IS_COMPLETEDFlag to indicate if campaign is completedNUMBER(38,0)
PLANDETAILIDCampaign occurrence IDNUMBER(38,0)
ISCONTROLFlag to indicate if plan detail group is a control groupNUMBER(38,0)
GROUPSIZE_PLANDETAILSize of target group according to plan occurrenceNUMBER(38,0)
NUMBEROFRESPONDENTSNumber of customers who responded to campaign occurrenceNUMBER(38,0)
RESPONSERATEResponse rate of campaign occurrenceNUMBER(30,6)
AVGVALUEAverage value of campaign occurrenceNUMBER(30,6)
STDEVVALUEStandard deviation of campaign occurrenceNUMBER(30,6)
AVGLOGVALUEAverage logarithmic value of campaign occurrenceNUMBER(19,4)
VARLOGVALUEVariance of logarithmic value of campaign occurrenceNUMBER(19,4)
NUMBEROFCLICKEDANDRESPONDNumber of customers who clicked and responded to campaign occurrenceNUMBER(38,0)
AVGVALUEOFCLICKEDANDRESPONDAverage value of customers who clicked and responded to campaign occurrenceNUMBER(19,4)
LAST_UPDATED_TIMETIMESTAMP_TZ