AdSpaceCapacity

Each row represents information about an ad inventory item's total capacity, and booked, reserved, and pitched allocation count for a specific time period. This object is available in API version 65.0 and later.

Supported Calls

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

Fields

AdSpaceId

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The ID of the ad space that the ad space capacity belongs to. This field is a relationship field.
  • Relationship Name: AdSpace
  • Refers To: AdSpace

AvailableCapacity

  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The number of units of the ad space available for allocation between the specified start and end date time.

BookedCount

  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The numbers of units of the ad space that are booked between the specified start and end date and time.

CapacityDurationType

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: Specifes the type of duration for which the ad space capacity can be allocated.
  • Possible values:
    • Daily
    • Day
    • Month
    • Monthly
    • Week
    • Weekly

CurrencyIsoCode

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description:
  • 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, Sort, Update
  • Description: The end date of the ad space capacity.

IsActive

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the ad space capacity is available for allocation.
  • Default value: false

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.

Name

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The autogenerated unique number of the ad space capacity.

OwnerId

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

PitchedCount

  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The numbers of units of the ad space that are pitched between the specified start and end date and time.

ReservedCount

  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The numbers of units of the ad space that are reserved between the specified start and end date and time.

StartDate

  • Type: date
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The start date of the ad space capacity.

TotalCapacity

  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The total number of units of the ad space that can be allocated between the specified start and end date time.

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.

AdSpaceCapacityFeed
Feed tracking is available for the object.
AdSpaceCapacityHistory
History is available for tracked fields of the object.
AdSpaceCapacityShare
Sharing is available for the object.