Loading
PHP Vulnerability Monitoring Read More
Media Cloud
Ad Placement Table Refresh and Quick Action Execution with Message Channels

Ad Placement Table Refresh and Quick Action Execution with Message Channels

Admins can configure a message channel to refresh the information available in media plans whenever custom scheduled processes or asynchronous processes make changes to the information related to media plans. For each ad placement of media plans, a set of quick actions are available by default. Admins can add a custom quick action that invokes a message channel.

Required Editions

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

Message Channel for Media Plan Refresh

The lightning__MediaASM_GridRefreshNotification message channel supports Lightning Message Channel's subscribe method. The subscribe method enables admins to refresh the media plan after a custom process that run behind-the-scenes change the information available on media plans complete. The message channel ensures that information displayed on these sections of the media plan are refreshed with the latest information:

  • Media Plan Summary component
  • All ad placements in media plans OR specific ad placements in media plans
Example
Example Gotham Media wants to ensure that media plans that are more than six moths old are automatically moved to the Abandoned status. To achieve this, the admin has added Abandoned as a picklist value in the Status field of the Quote object and added a Boolean type field named Abandoned. The admin has also added the boolean field to the Media Plan Summary component using its Ad Availability View Configuration record. The admin has scheduled a monthly flow to move quotes that are more than six months old to the Abandoned status and set the Abandoned field to True in the related ad quotes. The change in the ad quote invokes the lightning__MediaASM_GridRefreshNotification message channel to refresh the Media Plan Summary component with the checkbox selected for the Abandoned field.

Message Channel for Ad Placement Quick Actions

The lightning__MediaASM_GridRowActionNotification message channel supports Lightning Message Channel's publish method. The publish method enables admins to trigger a custom process for an ad placement in a media plan.

To enable the invocation of the message channel, the admin must add a custom action in the Ad Availability View Configuration record that displays the quick actions for the ad placements in media plans. To learn about how to add custom quick actions to the related Ad Availability View Configuration record, see the Ad Placement Quick Action Customizations section in Media Plan Customizations.

When media planners or sales reps click the custom quick action, this information is sent to the message channel:

  • Key of the quick action that's available on the related Ad Availability View Configuration record
  • Information related to the ad placement's related quote line item such as number, product details, price and availability.

    For bundled products, the count of child ad placements is also provided.

Example
Example Gotham Media wants to ensure that the ad placements of a media plan go though a review with the legal team to ensure that the ad placement configurations are inline with the local laws and regulations of the advertisers. To send the configuration of ad placements to the legal team, the admin has set up a custom process. The custom process is executed when the media planners or sales reps click the Check Compliance quick action button for ad placements in media plan. The quick action executes the subscribe method of the lightning__MediaASM_GridRowActionNotification message channel and the custom process is triggered after receiving the ad placement configuration from the message channel.
 
Loading
Salesforce Help | Article