Loading
Connect in real time with the Trailblazer Community in Slack Open BetaRead More
Media Cloud
Error Observability for Ad Operations

Error Observability for Ad Operations

Identify the root cause of failed asynchronous jobs and resolve issues faster with error and warning logs generated by the system. When an ad operation fails, the system automatically generates detailed error and warning log records. Use these records to diagnose failures without manually tracing through execution paths.

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

These operations support error observability:

  • Check Avails
  • Apply Media Plan as Template
  • Amend Media Plan
  • Copy Media Plan

Review the generated log records to identify:

  • Missing ad server links- Required associations between records and the ad server are absent.

  • Field-level security (FLS) access issues- Users or profiles lack the necessary Field permissions.
  • Generic exceptions- Unexpected errors encountered during job execution.

Error observability relies on these two objects that capture execution and outcome details:

  • Ad Operation Job Run: Represents the execution details of an ad operation job.
  • Ad Operation Job Run Outcome: Represents the log details of an ad operation job run.

The system generates error and warning logs only for failed or partially failed operations. Successful operations don’t create log records. When an ad operation fails, Salesforce sends a bell notification. Click the direct link in the notification to open the ad operation job run record. You can then view the error and warning details without manually searching for the log.

This table lists examples of generic exception messages for each async process:

Process Example Messages
Check Avails
No Ad Server record found to be associated with the Ad Space Spec.
Copy Media Plan and Apply Media Plan as Template
We couldn't apply a media plan template to the '%s' media plan because the media plan isn't associated with a price book. Associate a price book to the media plan and then try applying a media plan template to the media plan.
Amend Media Plan
No ad order items found for the specified order

To troubleshoot, review the Ad Operation Job Run record first to understand the overall job status. Then, drill into the associated Ad Operation Job Run Outcome records for specific error details. Make sure that users responsible for troubleshooting have read access to both objects.

 
Loading
Salesforce Help | Article