Loading
Ongoing maintenance for Salesforce HelpRead More
PHP Vulnerability Monitoring Read More
Media Cloud
Enable Media Planners and Sales Reps to Decide Ad Placement Goals

Enable Media Planners and Sales Reps to Decide Ad Placement Goals

Media planners and sales reps can add the percentage or count of impressions or clicks that are intended to be generated for an ad placement in a media plan. The intended impressions or clicks for an ad placement is known as the goal of the ad placement. The type of goal that media planners and sales reps can specify for an ad placement depends factors such as the ad placement's product classification, pricing model, and sponsorship type. Advertising Sales Management provides a preconfigured flow that automatically decides the type of goal that can be added for an ad placement based on the ad placement's configuration. Admins can either override and update the preconfigured flow or create a flow based on the company's goal types.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, and Unlimited editions with Media Cloud - Advanced
User Permissions Needed
To edit or update flows: Manage Flows

Here's how the preconfigured Set Ad Quote Line Goals flow decides the goal type for an ad placement based on the ad placement's configuration:

Ad Placement Configuration Goal Unit Type Available Action on Media Plan
  • Product Classification: Display
  • Sponsorship Type: Standard
  • Pricing Model: CPM
Impressions Media planners or sales rep can enter the number of impressions that are intended to be served for the ad placement.
  • Product Classification: Display
  • Sponsorship Type: Standard
  • Pricing Model: CPC
Clicks Media planners or sales rep can enter the number of clicks that are intended to be served for the ad placement.
  • Product Classification: Display
  • Sponsorship Type: Sponsorship
  • Pricing Model: CPC OR CPM OR CPD
Impressions Media planners or sales rep can enter the percentage of impressions that are intended to be served for the ad placement.
  • Product Classification: Video OR Audio
  • Sponsorship Type: Network [Remnant inventory]
  • Pricing Model: CPC OR CPM OR CPD
Impressions Media planners or sales rep can enter the percentage of impressions that are intended to be served for the ad placement.
  • Product Classification: Display
  • Sponsorship Type: Standard
  • Pricing Model: CPM
Impressions Media planners or sales rep can enter the number of impressions that are intended to be served for the ad placement.
  • Product Classification: Display
  • Sponsorship Type: Preferred
  • Pricing Model: CPM
Impressions Media planners or sales rep can enter the number of impressions that are intended to be served for the ad placement.
Important
Important For the User Engagement Goal Unit Type field on both the Ad Order Item and Ad Quote Line objects, use the uppercase API value names, for example, CLICKS and IMPRESSIONS.

The flow is launched when a media planner or sales rep edits the delivery settings of an ad placement. The flow decides the ad placement's goal unit type and the available action for the media planner or sales rep based on the ad placement configuration. If the ad placement configuration doesn't exactly match the match any of the preceding configurations, then the media planners and sales reps can't specify the goal for the ad placement.

To get the configuration and to set the goal unit type and available action of an ad placement, the flow uses a set of Variable type resources. A set of input variables store an ad placement configuration value that's passed on to the flow then the flow is launched in context for an ad placement. And a set of output variable pass on the ad placement's goal unit type back to the media plan. Here are the list of variables:

Variable Use Configuration
adQuoteLineSponsorshipType Stores the sponsorship type of the ad placement.
  • Data Type: Text
  • Available for input: Selected
adQuoteLinePricingModel Stores the pricing model of the ad placement.
productClassification Stores the ID of the product classification used to create the ad placement's product.
adQuoteLineId Stores the ID of the ad placement for which flow is launched.
  • Data Type: Text
  • Available for input: Selected
  • Available for output: Selected
adQuoteLineGoalFieldValues Stores a JSON that decides the goal unit type and the action available for the ad placement on the media plan.
  • Data Type: Text
  • Available for output: Selected
Note
Note Advertising Sales Management supports the CPM and CPC pricing models by default. If your company uses pricing models such as CPD or CPA, then the admin and the ad sales admin must configure the required setup. To learn about required setup for the CPA pricing model, see Customize Advertising Sales Management for the CPA Pricing Model.

Use the Preconfigured Flow for Ad Placement Goals

If you want to use the preconfigured Set Ad Quote Line Goals flow without any changes, ensure that the flow is active from the Flows in Setup. Or, you can override the preconfigured flow to create another flow. You can customize the new flow based on your company's ad placement goal requirements. But you can't remove the variables that store information about the ad placement configuration and set the goal unit type and available action for the ad placement.

Create a Custom Flow for Ad Placement Goals

If the preconfigured flow doesn't work, then you can create a flow from scratch. To ensure that the custom flow is launched when media planners and sales reps try to edit the goal of an ad placement in a media plan, you must ensure that the flow contains a specific set of variable and you must add an Ad Availability View Configuration record that to launch the flow from media plans.

  1. Create an Autolaunched flow and ensure that the input and output variables from the preconfigured Set Ad Quote Line Goals flow are also available in the custom flow.
  2. Save and activate the flow.
  3. From the App Launcher, find and select Ad Availability View Configurations.
  4. Click New and enter these details:
    • Name: Enter a name that uniquely identifies that the configuration is for Ad Placement Goals in a media plan.
    • Configuration Type: Tab
    • Is Active: Selected
    • Configuration Key: SetAdQuoteLineGoalsFlow
    • Configuration Value: The API name of the flow that you activated.
    • Usage Type: None
  5. Save your changes.

After you save the Ad Availability View Configuration record, the custom flow that you created is automatically launched to get the goal details of ad placements in media plans.

Resolve Ad Placement Creation Errors

An internal error occurs when you create an ad placement from the Ad Placement tab on a quote record. This error occurs because ad placement creation now routes users without Linear Media Settings to the Discover Media Products flow. The mandatory Media Type selection page in this new flow triggers the error.

To restore the original behavior, update the new flow.

  1. From Setup, in the Quick Find box, enter Flows, and then select it.
  2. Open the Discover Media Products flow.
  3. Remove the SelectMediaType1 (Media Type Selection) page.
  4. Save and activate the flow.
 
Loading
Salesforce Help | Article