You are here:
Media Plan Customizations with Ad Availability View Configuration
Media planners and sales reps create media plans to manage the complete quoting process for media campaigns of advertisers. Admins can customize various media plan aspects to tailor media plans based on the company's unique quoting process requirements.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, and Unlimited editions with Media Cloud - Advanced |
Create Media Plan Modal Customizations
Admins can customize the Ad Availability View Configuration record named Modal Metadata
with the Modal configuration type and the mediaplanmodal
configuration key to decide the list of sections and fields that are shown on the Create
Media Plan modal. Here are some examples of the possible customizations:
| Business Requirement | Default Configuration Value Snippet | Customized Configuration Value Snippet |
|---|---|---|
| Add a custom field with the API name Notes__c from the Ad Quote object to the Media Plan Details section of the modal | |
|
| Add a new section to list the approvers of the media plan in the modal | N/A | |
You can only add fields from Opportunity, Ad Opportunity, Quote, and Ad Quote objects to the Create Media Plan modal. Fields from Quote and Ad Quote can be editable whereas fields from Opportunity and Ad Opportunity remain as read-only.
Media Plan Summary Component Customizations
Admins can customize the Ad Availability View Configuration record named Summary Metadata
with the Summary configuration type and the summary
configuration key to decide the list of fields that are shown on the Media Plan Summary
component in a media plan. Here are some examples of the possible customizations:
| Business Requirement | Default Configuration Value Snippet | Customized Configuration Value Snippet |
|---|---|---|
| Display a custom field with the API name PointOfContact__c from the Account object on the component | |
|
| Add a custom field named ROI__c from the AdQuote object as a key performance indicator (KPI) on the component | |
|
| Remove the Deal Type field from the component | |
|
Customize the Ad Availability View Configuration record named Summary Metadata with the
Summary configuration type and the
summary-media-type-color configuration key to configure color codes for
media types on the Media Plan Summary component. Here are some examples of the possible
customizations:
| Business Requirement | Default Configuration Value Snippet | Customized Configuration Value Snippet |
|---|---|---|
| Configure Color Codes | |
|
You can only add fields from Account, Opportunity, Ad Opportunity, Quote, and Ad Quote objects to the Media Plan Summary component.
Ad Placement Quick Action Customizations
Admins can customize the Ad Availability View Configuration record named Media Grid Row
Actions with the Screen configuration type and the
grid-rowactions configuration key to decide the list of quick actions
that are available for the ad placements in a media plan. Here are some examples of the
possible customizations:
| Business Requirement | Default Configuration Value Snippet | Customized Configuration Value Snippet |
|---|---|---|
| Turn off the ability for media planners and sales reps to clone ad placements in a proposal | |
|
| Change the label of the Delete quick action to Remove | |
|
| Add a quick action to execute a custom process to validate ad placements against the laws and regulations of the relevant to the address of the advertiser | |
To learn about to get the required ad placement information to execute custom processes, see Ad Placement Table Refresh and Quick Action Execution with Message Channels. |
Line Item Configuration Panel Tab Customizations
Admins can customize the Ad Availability View Configuration record named Side Panel Tabs
Metadata with the Screen configuration type and the
sidepanel configuration key to decide the list of tabs that are available
on the Line Item Configuration panel. Here are some examples of the possible
customizations:
| Business Requirement | Default Configuration Value Snippet | Customized Configuration Value Snippet |
|---|---|---|
| Change the label of the Line Item tab to Item Setting | |
|
| Hide the Attribute tab for media planners and sales reps | |
|
| Add a custom tab called Notes that launches a flow with the API named AdPlacementMediaPlanNotes | N/A | Admins can create a flow based on the company's requirements and then use a custom tab to launch the flow. To make sure that the flow is run in context of an ad placement, admins must use a Text data type input variable in the flow to pass the ID of the ad quote line associated with the ad placement into the flow. The input variable name must be AdQuoteLineId. |
| Ensure that the Line Item Configuration panel opens in the Delivery tab by default | |
|
Each tab in the Line Item Configuration panel is uniquely identified by a restricted set of keys. You can change the label of the tabs but can't change the keys of the tabs. Here's the list of keys for each tab that's provided:
| Default Tab Label | Restricted Tab Key |
|---|---|
| Line Item Details | lineitemdetails |
| Delivery | delivery |
| Attribute | attributes |
| Creatives | creatives |
| Bundle Items | bundles |
| Targeting | targeting |
If you add a custom tab, the key of the custom tab must start with tab. For example, the key for a custom tab can be tab1, and the key for another custom tab can be tabAdditional.
Line Item Tab Customizations
Admins can customize the Ad Availability View Configuration record named LineItemDetails
Tab Data with the Tab configuration type and the
sidepanel-lineitemdetails configuration key to decide the list of
sections and fields that are shown on the Line Item tab of the Line Item Configuration
panel. Here are some examples of the possible customizations:
| Business Requirement | Default Configuration Value Snippet | Customized Configuration Value Snippet |
|---|---|---|
| Change the default label of the Start Date and End Date fields to Start Date Time and End Date Time | |
|
| Add a new column in the Details section to show the product code of the ad placement | |
|
| Keep the Pricing section collapsed by default when the Line Item Details tab opens. | |
|
| Add a new section named Price Change Notes and add the custom field with the API name PriceChangeNotes__c from the Ad Quote Line object in the section | N/A | |
| Add fields to capture the maximum duration for audio and video products | N/A | |
| To indicate whether the viewers can skip the audio and video products | N/A | To limit the visibility of the Max Duration and Skippable to Video and Audio products, update the ASM Draft FieldConfig Rules and ASM Draft Amend FieldConfig Rules lookup tables. For more information, see Decision Tables Customization for Max Duration and Skippable Fields for Audio and Video Products. |
Check Availability Customizations
Media planners can check ad placement status in external ad servers during media planning. Icons in the Ad Placements table show availability, and planners can customize the column with preferred values.
Create an Ad Availability Configuration record with the configuration key AdAvailsConfig as shown in this sample snippet. Make sure that the availability status in the configuration value matches the picklist values that you created on the ad quote line object.
[
{
"minValue": 0,
"maxValue": 0.1,
"availabilityStatus": "Not Available",
"iconDetail": {
"iconName": "utility:ban",
"iconStyleProps": {
"--slds-c-icon-color-foreground-default": "var(--slds-g-color-palette-pink-60)"
}
}
},
{
"minValue": 0.1,
"maxValue": 0.5,
"availabilityStatus": "Partially Available",
"iconDetail": {
"iconName": "utility:away",
"iconStyleProps": {
"--slds-c-icon-color-foreground-default": "var(--slds-g-color-palette-yellow-60)"
}
}
},
{
"minValue": 0.5,
"maxValue": 1,
"availabilityStatus": "Available",
"iconDetail": {
"iconName": "utility:success",
"iconStyleProps": {
"--slds-c-icon-color-foreground-default": "var(--slds-g-color-palette-teal-40)"
}
}
},
{
"minValue": 1,
"maxValue": 1.01,
"availabilityStatus": "Available",
"iconDetail": {
"iconName": "utility:success",
"iconStyleProps": {
"--slds-c-icon-color-foreground-default": "var(--slds-g-color-palette-teal-40)"
}
}
}
]
The minValue and maxValue ranges in your configuration list define how availability statuses appear in the Availability Status column. When you check a line item's availability, the system calculates the ratio of available units to total units. The system then evaluates this ratio against your configuration to determine what shows in the column:
- If the ratio is at least the minValue but less than themaxValue, the system assigns the corresponding status to the Availability Status field. You can visually represent these statuses by setting the iconName to a standard utility icon, for example utility:success, utility:circle, or utility:error. You can define the icon's color in iconStyleProps. For a complete list of icons, see Icons.
- If the ratio doesn't match a configured range, the status field remains unpopulated.
- If the status field is blank or no active AdAvailsConfig record exists, the column shows the numerical ratio instead of an icon. The column shows the ratio only when the system populates the AvailableAdServerUnits and TotalAdServerUnits fields after the availability check.
Update Media Plan Line Items in Bulk
The bulk updates feature significantly enhances the efficiency of the media planning process by allowing users to perform mass updates directly within the Media Planning Grid. This feature eliminates the need to configure line items individually and helps you save time and reduce errors when managing media plans with dozens or hundreds of placements.
Admins can customize the
Ad Availability View Configuration record named Media Products Bulk Edit
with the Modal configuration type and the
modal-bulk-lineitemdetails configuration key to configure the line item
fields for bulk edit.
| Business Requirement | Default Configuration Value Snippet | Customized Configuration Value Snippet |
|---|---|---|
| Configure bulk edits of line items | N/A | |
Configure Auto Save on Line Item Configuration Panel
Admins can create
an Ad Availability View Configuration record with the enableAutoSave
configuration key and the true configuration value to configure the auto
save of line item configuration panel. When you turn on this feature, Salesforce saves your
line item configuration changes when you switch between tabs. If you navigate away from a
tab with unsaved updates, Salesforce applies your changes across all tabs.
- Customize Linear Media Plans with Ad Availability View Configuration Records
Media planners and sales reps create media plans to manage the complete quoting process for linear media campaigns of advertisers. Admins can customize various media plan aspects to tailor media plans based on the company's unique quoting process requirements. - Configure Spot Calendar for Linear Media Planning
Configure the spot calendar by updating the Ad Availability View Configuration object. This configuration defines the layout and behavior of the spot calendar.

