AdOpportunity

Represents ad slaes specific details of an advertisment campaign opportunity. This object is available in API version 59.0 and later.

Supported Calls

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

Fields

AgencyId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the account that belongs to the agency related to the ad opportunity. This field is a relationship field.
  • Relationship Name: Agency
  • Refers To: Account

BuyerId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the ad buy server account. This field is a relationship field.
  • Relationship Name: Buyer
  • Relationship Type: Lookup
  • Refers To: AdBuyServerAccount

CampaignEndDate

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The end date of the advertisement campaign.

CampaignIdentifier

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The unique identifier of the advertisement campaign in an external system.

CampaignStartDate

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The start date of the advertisement campaign.

CampaignStrategy

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Specifies the type of strategy adopted for the advertisement campaign.

DealType

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: The campaign type to be executed in the downstream ad server.
  • Default value: Direct-sales
  • Possible values:
    • Direct-sales
    • Preferred (Non-Guaranteed)
    • Programmatic Guaranteed

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.

MediaType

  • Type: multipicklist
  • Properties: Create, Filter, Nillable, Restricted picklist, Update
  • Description: Specifies the media type of the ad opportunity.
  • Possible values:
    • Digital

Name

  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: The name of the ad opportunity.

OpportunityId

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: Required. The ID of the opportunity associated with the ad opportunity. This field is a relationship field.
  • Relationship Name: Opportunity
  • Relationship Type: Lookup
  • Refers To: Opportunity

OwnerId

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

Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

AdOpportunityFeed
Feed tracking is available for the object.
AdOpportunityHistory
History is available for tracked fields of the object.
AdOpportunityShare
Sharing is available for the object.