AdOpportunityLineItem

Represents a line item in an advertisement opportunity. This object is available in API version 63.0 and later.

Supported Calls

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

Fields

AdOpportunityId

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: The ID of the ad opportunity associated with the ad opportunity line item. This field is a relationship field.
  • Relationship Name: AdOpportunity
  • Relationship Type: Master-detail
  • Refers To: AdOpportunity (the master object)

AdRequestedQuantity

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The number of units of the product requested.

AdSpaceSpecificationId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ad space specification associated with the ad opportunity line item. This field is a relationship field.
  • Relationship Name: AdSpaceSpecification
  • Refers To: AdSpaceSpecification

CalendarType

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Specifies the type of calendar based on which revenue schedules are generated for the ad opportunity line item. This field is available in API version 65.0 and later.

CurrencyIsoCode

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: Three-letter ISO 4217 currency code associated with the record. Available only for organizations with the multicurrency feature enabled.
  • Default value: USD
  • Possible values:
    • ARS—Argentine Peso
    • CNY—Chinese Yuan
    • KRW—Korean Won
    • RUB—Russian Rouble
    • USD—U.S. Dollar

EndDate

  • Type: date
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The end date of the ad opportunity line item. This field is available in API version 65.0 and later.

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: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Specifies the media type of the ad opportunity line item.
  • Possible values:
    • Digital
    • Other
    • Outdoor
    • Print
    • Radio
    • TV

Name

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

OpportunityLineItemId

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

PricingModel

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Specifies the pricing model of the ad opportunity line item.

RevenueDistributionType

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Specifies the method in which revenue is distributed across the revenue schedules. This field is available in API version 65.0 and later.

RevenueSchedulePeriodType

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Specifies the period type of the revenue schedule generated for the ad opportunity line item. This field is available in API version 65.0 and later.