Loading
PHP Vulnerability Monitoring Read More
Media Cloud
How Decision Tables Work with Media Plans

How Decision Tables Work with Media Plans

The decision table-based reference implementation to ensures that the quick action availability and the Line Item Configuration panel setting for ad placements are driven by the configuration of media plans and ad placements.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, and Unlimited editions with Media Cloud - Growth or Media Cloud - Advanced

Parent Decision Table for Media Plans

Parent Decision Table for Media Plans decides works as a router. When a media plan is opened or refreshed, this decision table is run behind-the-scenes. The decision table looks at the media plan's configuration and decides which child decision tables to run. The child decision tables actually control the configuration of ad placements in media plans.

Parent decision table for media plan configuration.

The inputs to the decision table (1) such as the media plan's related opportunity deal type, quote status, and quote original action type decide the decision table's output (2). The outputs are the API names of the decision tables to run.

Example
Example
Media Plan Configuration Output
  • Ad Opportunity deal type is Direct-sales
  • Quote status is Draft
  • Quote action type is empty

These two decision tables are run:

  • ASM_Draft_Grid_Rules
  • ASM_Draft_FieldConfig_Rules

ASM Draft Grid Rules Decision Table and ASM Draft Amend Grid Rules Decision Tables

Both decision tables decide which quick actions are available on the Ad Placement table and which Line Item Configuration panel tabs are available for ad placements in media plans. The ASM Draft Grid Rules decision table is run for media plans that media planners and sales reps are currently working on and haven't been converted to orders. The ASM Draft Amend Grid Rules decision table is run for media plans that are created for amended orders by ad operations specialists.

Quick actions and Line Item Configuration panel decision table.

The inputs to the decision table (1) such as the media plan's media type and the related quote line action type, and the ad placement's product configuration and product classification decide the decision table's output (2). The output includes the keys of the quick actions and Line Item Configuration panel tabs that are available for ad placements. Keys are values that uniquely identify quick actions and tabs.

Example
Example Here are a few examples of how the decision tables control the quick action availability and Line Item Configuration panel tab settings based on the configuration of the media plan and the ad placement:
Business Scenario Media Plan and Ad Placement Configuration (Input) Quick Actions and Line Item Configuration Panel Tabs (Output)
The decision table is deciding the configuration of a static simple ad placement which is a service in a media plan that a media planner is working on.
  • Media plan:
    • Quote's Original Action Type: N/A
  • Ad placement:
    • Product family: Digital
    • Product configuration: Simple Static Product
    • Product classification: Digital Non Media
  • Available quick actions:
    • Edit
    • Clone
    • Delete
  • Available Line Item Configuration panel tabs:
    • Line Item
    • Attributes
The decision table is deciding the configuration of a configurable bundled product which is an ad product that an ad operations specialist is amending for an order.
  • Media plan:
    • Quote's Original Action Type: Amend
  • Ad placement:
    • Product family: Digital
    • Product configuration: Configurable Bundled Product
    • Product classification: Digital Non Media
  • Available quick actions:
    • Edit
    • Clone
    • Delete
  • Available Line Item Configuration panel tabs:
    • Line Item
    • Bundles

ASM Draft FieldConfig Rules Decision Table and ASM Draft Amend FieldConfig Rules Decision Table

Both decision tables decide which fields are available for media planners, sales reps, and ad operations specialists on the Line Item tab of the Line Item Configuration panel for ad placements in media plans. The ASM Draft FieldConfig Rules decision table is run for media plans that media planners and sales reps are currently working on and haven't been converted to orders. The ASM Draft Amend FieldConfig Rules decision table is run for media plans that are created for amended orders by ad operations specialists.

Line Item tab on Line Item Configuration panel decision table.

The inputs to the decision table (1) such as the media plan's media type and the related quote line action type, and the ad placement's product configuration and product classification decide the decision table's output (2). The output includes the developer names of the fields that are displayed, mandated, and hidden on the Line Item tab of the Line Item Configuration panel.

Example
Example Here are a few examples of how the decision tables control the quick action availability and Line Item Configuration panel tab settings based on the configuration of the media plan and the ad placement:
Business Scenario Media Plan and Ad Placement Configuration (Input) Quick Actions and Line Item Configuration Panel Tabs (Output)
The decision table is deciding the configuration of the Line Item tab for a static simple ad placement which is a service in a media planner is working on.
  • Media plan:
    • Quote's Original Action Type: N/A
  • Ad placement:
    • Product family: Digital
    • Product configuration: Simple Static Product
    • Product classification: Digital Non Media
    • Configuration key: sidepanel-lineitemdetails
  • Read only fields:
    • Quantity from Quote Line Item
    • Pricing Model from Ad Quote Line
  • Hidden fields:
    • Discount Amount from Quote Line Item
    • Discount from Quote Line Item
    • Ad Server Fees from Ad Quote Line
    • Revised Price from Ad Quote Line
The decision table is deciding the configuration of the Line Item tab for a configurable bundled product which is an ad product that an ad operations specialist is amending for an order.
  • Media plan:
    • Quote's Original Action Type: Amend
  • Ad placement:
    • Product family: Digital
    • Product configuration: Configurable Bundled Product
    • Product classification: Digital Non Media
    • Configuration key: sidepanel-lineitemdetails
  • Read only fields:
    • Pricing Model from Ad Quote Line
  • Hidden fields:
    • Discount Amount from Quote Line Item
    • Discount from Quote Line Item
    • Ad Server Fees from Ad Quote Line
    • Revised Price from Ad Quote Line
 
Loading
Salesforce Help | Article