Search Results ams_mkt_segment_type
Overview
The APPS.AMS_P_CAMPAIGN_MKT_SEGMENTS_V view is a denormalized reporting and integration view within the Oracle Marketing (AMS) module of Oracle E-Business Suite. It exposes the association between active marketing campaigns and the market segments (cells) targeted by those campaigns. The view is designed to present a flattened, read-only projection of campaign-to-segment relationships so that concurrent programs, OA Framework pages, Discoverer workbooks, and third-party integrations can query this information without navigating the normalized underlying model.
Because it is defined with a _V suffix and owned by APPS, the view is intended for consumption by custom reports, BI Publisher data templates, and Oracle Marketing's own internal processing logic rather than for direct DML. The presence of a MARKET_SEGMENT_NAME column makes it the canonical source for discovering which named market segments are attached to which campaigns — exactly the term searched by the user (market_segment_name).
Underlying Base Objects
The ETRM metadata documents four referenced base objects:
- AMS_ACT_MARKET_SEGMENTS (synonym) — the primary transactional table that records each market segment assignment against a campaign, including segment type, eligibility type, exclusion flag, and the "used by" discriminator.
- AMS_CAMPAIGNS_VL (view) — a multi-language enabled view exposing campaign header details such as campaign name, status, and execution dates; joined on
CAMPAIGN_ID. - AMS_CELLS_VL (view) — the multi-language view over marketing cells (segments), supplying the
CELL_ID/CELL_NAMEused to populateMARKET_SEGMENT_IDandMARKET_SEGMENT_NAME. - AMS_UTILITY_PVT (package) — called through
GET_LOOKUP_MEANINGto translate lookup codes (AMS_MKT_SEGMENT_TYPE,AMS_MARKET_ELIG_TYPE) into their user-facing descriptive meanings.
The view's source text shows an inline block that originally joined AMS_TERR_V, JTF_TERR_ALL, and territory-based segmentation, but this path is commented out. The active definition joins only the cell-based branch, so the view surfaces cell-driven segments rather than territory-hierarchy segments. Filtering restricts output to campaigns where ACTIVE_FLAG = 'Y', STATUS_CODE = 'ACTIVE', and SHOW_CAMPAIGN_FLAG = 'Y', and where the segment is used by a campaign (ARC_ACT_MARKET_SEGMENT_USED_BY = 'CAMP').
Key Columns
- CAMPAIGN_ID / CAMPAIGN_NAME — identity and description of the parent campaign.
- SOURCE_CODE, STATUS_CODE — campaign origin and current status.
- ACTUAL_EXEC_START_DATE / ACTUAL_EXEC_END_DATE — actual execution window for the campaign.
- MARKET_SEGMENT_ID / MARKET_SEGMENT_NAME — the cell identifier and its translatable name; the term the user searched for maps directly to
MARKET_SEGMENT_NAME. - SEGMENT_TYPE / SEGMENT_NAME — the stored lookup code and its decoded meaning via
AMS_UTILITY_PVT.GET_LOOKUP_MEANING('AMS_MKT_SEGMENT_TYPE', …). - ELIGIBILITY_TYPE / ELIGIBILITY_NAME — the eligibility rule code and decoded description from
AMS_MARKET_ELIG_TYPE. - EXCLUDE_FLAG — indicates whether the segment is included or excluded from the campaign audience.
- TERR_HIERARCHY_ID / HIERARCHY_NAME — present as
TO_NUMBER(NULL)andNULL, retained for structural compatibility with the territory-based variant but not populated by the active cell path.
Common Use Cases and Queries
Typical usage retrieves all active campaigns and their associated named segments:
- Segment discovery:
SELECT CAMPAIGN_NAME, MARKET_SEGMENT_NAME, SEGMENT_NAME, ELIGIBILITY_NAME FROM APPS.AMS_P_CAMPAIGN_MKT_SEGMENTS_V; - Campaign-specific lookup:
SELECT MARKET_SEGMENT_NAME, EXCLUDE_FLAG FROM APPS.AMS_P_CAMPAIGN_MKT_SEGMENTS_V WHERE CAMPAIGN_ID = :p_campaign_id; - Search by name:
SELECT CAMPAIGN_NAME FROM APPS.AMS_P_CAMPAIGN_MKT_SEGMENTS_V WHERE MARKET_SEGMENT_NAME LIKE '%' || :p_name || '%'; - Audience composition reporting for campaigns executed within a date range, filtered on
ACTUAL_EXEC_START_DATEandACTUAL_EXEC_END_DATE.
Because the view already restricts to active, visible campaigns and campaign-driven segments, it is well suited for operational dashboards and integration extracts that require current targeting data without additional status filtering.
-
Lookup Type: AMS_MKT_SEGMENT_TYPE
12.1.1
product: AMS - Marketing , meaning: Market Segment Type ,
-
Lookup Type: AMS_MKT_SEGMENT_TYPE
12.2.2
product: AMS - Marketing , meaning: Market Segment Type ,
-
VIEW: APPS.AMS_P_CAMPAIGN_MKT_SEGMENTS_V
12.2.2
-
VIEW: APPS.AMS_P_CAMPAIGN_MKT_SEGMENTS_V
12.1.1
-
View: AMS_P_CAMPAIGN_MKT_SEGMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_P_CAMPAIGN_MKT_SEGMENTS_V, object_name:AMS_P_CAMPAIGN_MKT_SEGMENTS_V, status:VALID, product: AMS - Marketing , description: This public view returns the market segments associated with a marketing campaigns. , implementation_dba_data: APPS.AMS_P_CAMPAIGN_MKT_SEGMENTS_V ,
-
View: AMS_P_CAMPAIGN_MKT_SEGMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_P_CAMPAIGN_MKT_SEGMENTS_V, object_name:AMS_P_CAMPAIGN_MKT_SEGMENTS_V, status:VALID, product: AMS - Marketing , description: This public view returns the market segments associated with a marketing campaigns. , implementation_dba_data: APPS.AMS_P_CAMPAIGN_MKT_SEGMENTS_V ,
-
VIEW: APPS.AMS_P_OFFER_MKT_SEGMENTS_V
12.2.2
-
VIEW: APPS.AMS_ACT_MKT_SEGMENTS_VL
12.2.2
-
VIEW: APPS.AMS_ACT_MKT_SEGMENTS_VL
12.1.1
-
VIEW: APPS.AMS_P_OFFER_MKT_SEGMENTS_V
12.1.1
-
View: AMS_ACT_MKT_SEGMENTS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_ACT_MKT_SEGMENTS_VL, object_name:AMS_ACT_MKT_SEGMENTS_VL, status:VALID, product: AMS - Marketing , description: This view returns the market segments associated with a marketing activity. , implementation_dba_data: APPS.AMS_ACT_MKT_SEGMENTS_VL ,
-
View: AMS_ACT_MKT_SEGMENTS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_ACT_MKT_SEGMENTS_VL, object_name:AMS_ACT_MKT_SEGMENTS_VL, status:VALID, product: AMS - Marketing , description: This view returns the market segments associated with a marketing activity. , implementation_dba_data: APPS.AMS_ACT_MKT_SEGMENTS_VL ,
-
View: AMS_P_OFFER_MKT_SEGMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_P_OFFER_MKT_SEGMENTS_V, object_name:AMS_P_OFFER_MKT_SEGMENTS_V, status:VALID, product: AMS - Marketing , description: This public view returns the market segments associated with a marketing offers. , implementation_dba_data: APPS.AMS_P_OFFER_MKT_SEGMENTS_V ,
-
View: AMS_P_OFFER_MKT_SEGMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_P_OFFER_MKT_SEGMENTS_V, object_name:AMS_P_OFFER_MKT_SEGMENTS_V, status:VALID, product: AMS - Marketing , description: This public view returns the market segments associated with a marketing offers. , implementation_dba_data: APPS.AMS_P_OFFER_MKT_SEGMENTS_V ,
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE BODY: APPS.AMS_ACT_MARKET_SEGMENTS_PVT
12.2.2
-
PACKAGE BODY: APPS.AMS_ACT_MARKET_SEGMENTS_PVT
12.1.1
-
APPS.AMS_ACT_MARKET_SEGMENTS_PVT dependencies on AMS_UTILITY_PVT
12.1.1
-
APPS.AMS_ACT_MARKET_SEGMENTS_PVT dependencies on AMS_UTILITY_PVT
12.2.2
-
APPS.AMS_ACT_MARKET_SEGMENTS_PVT dependencies on FND_API
12.1.1
-
APPS.AMS_ACT_MARKET_SEGMENTS_PVT dependencies on FND_API
12.2.2