Loading
The online Trailblazer Community becomes read-only Oct 30, 2026Read More
Media Cloud
Ad Server Integration with Salesforce Flow

Ad Server Integration with Salesforce Flow

Advertising Sales Management provides the Execute External Ad Sales Request action in Salesforce Flow to enable system integrators to automate the process of sending advertisement campaign order information to external ad server instances. Unlike Dynamic Revenue Orchestrator, the action can be used in a flow that sends order data to ad servers in real-time or in batches as part of a larger business process. For example, if system integrators have already set up a flow to send updated advertiser and agency information to the ad server every night, they can add the Execute External Ad Sales Request action to the flow to ensure that order data is also sent at the same time.

Required Editions

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

Common Business Scenarios Supported by the Action

Business Scenario Example
The publisher wants to send advertisement campaign order to the external ad server once a day. Create a scheduled flow to filter new and changed orders and line items that must be sent to the publisher's ad server instance and then use the Execute External Ad Sales Request action in a loop to send the data.
The publisher wants to enable sales reps to send their advertisement campaign orders to the external ad server when orders are activated. Create either a screen flow or an triggered flow to get the details of the order and line items that must be sent to the publisher's ad server instance and then use the Execute External Ad Sales Request action to send the data.
The publisher wants to ensure that ad operations specialists can send amended orders to the external ad server when amended orders are activated. Create an triggered flow to get the details of the order and line items, check whether the order is for an amendment, and then use the Execute External Ad Sales Request action to send the data.
The publisher wants to ensure that only line items that represent ad placements are sent to the external ad server. Create a flow to find the find the order line items that represent ad placements and then send use the Execute External Ad Sales Request action to send the order and filtered line item data.

Integration Definition for Execute External Ad Sales Request Action

The system integrators must create either a standard or an Apex-based integration definition for the Execute External Ad Sales Request action. The action uses the integration definition to make callouts to the external ad server. See Integration Definition for Advertising Sales Management.

Key Input and Output Parameters of Execute External Ad Sales Request Action

Parameter Type Name Description
Input Synchronous Request Indicate whether the action must instantly callout to the external ad server or make the callout asynchronously.
Order ID The ID of the order whose data must be sent to the external ad server.
Order Item IDs The list of order line items whose data must be sent to the external ad server.
Request Type

Specify the task for which the callout to the external ad server is being made. Possible values are:

  • CREATE_ORDERS
  • CREATE_LINE_ITEMS
  • UPDATE_LINE_ITEMS
  • PERFORM_ORDER_ACTION
  • CHECK_AVAILABILITY.
Order Action Type

Specify the type of order action for which the callout to the external ad server is being made. This parameter is only applicable when the value for the Request Type parameter is PERFORM_ORDER_ACTION. Possible values are:

  • ApproveOrder
  • ArchiveOrder
  • DeleteOrder
  • PauseOrder
  • ResumeOrder
Output Response Message The message that's sent by the job that executes the external ad server callout.
Request ID The unique ID of either the Salesforce job that makes the asynchronous callout to the ad server or the request ID sent by the external ad server for synchronous callouts.
Request ID Type Informs whether the request ID is for an asynchronous or a synchronous callout.

Information Sent to Ad Servers by Execute External Ad Sales Request Action

See Outbound Integration Definition Resources in Advertising Sales Management to learn about the structure in which advertising campaign order data is sent to external systems.

 
Loading
Salesforce Help | Article