AdOperationJobRun

Represents the execution details of an ad operation job, such as its type, status, and the associated records. This object is available in API version 67.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

AdOperationJobRunNumber

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The unique number for the ad operation job run.

ExternalRecordId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The unique ID of the corresponding record from the external system, outside Agentforce Media. This field is a relationship field.
  • Relationship Name: ExternalRecord
  • Refers To: AsyncOperationTracker

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly.

OwnerId

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: The ID of the owner of this record. This field is a polymorphic relationship field.
  • Relationship Name: Owner
  • Refers To: Group, User

ReferenceRecordId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the reference record associated with the ad operation job run. This field is a relationship field.
  • Relationship Name: ReferenceRecord
  • Refers To: AdQuote

Status

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
  • Description: The status of the ad operation job run.
  • Default value: PartiallySuccessful
  • Possible values:
    • PartiallySuccessful—Partially Successful
    • Successful
    • Unsuccessful

Type

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
  • Description: The type of the ad operation job run.
  • Default value: ASMCreateAmendQuoteJob
  • Possible values:
    • ASMAdServerCheckAvailability—ASM Ad Server Check Availability
    • ASMApplyMediaPlanTemplateJob—ASM Apply Media Plan Template
    • ASMBulkEditLineItem—ASM Bulk Edit Line Item
    • ASMCreateAmendQuoteJob—ASM Create Amend Quote Job
    • ASMLinearSpotGenerationJob—ASM Linear Spot Generation
    • ASMMediaPlanAsTemplate—ASM Media Plan As Template
    • ASMMediaPlanClone—ASM Media Plan Clone
    • ASMMediaPlanCopyJob—ASM Media Plan Copy