entityStatus property

String? entityStatus
getter/setter pair

Controls whether or not the line item can spend its budget and bid on inventory.

  • For CreateLineItem method, only ENTITY_STATUS_DRAFT is allowed. To activate a line item, use UpdateLineItem method and update the status to ENTITY_STATUS_ACTIVE after creation. * A line item cannot be changed back to ENTITY_STATUS_DRAFT status from any other status. * If the line item's parent insertion order is not active, the line item can't spend its budget even if its own status is ENTITY_STATUS_ACTIVE.

Required. Possible string values are:

  • "ENTITY_STATUS_UNSPECIFIED" : Default value when status is not specified or is unknown in this version.
  • "ENTITY_STATUS_ACTIVE" : The entity is enabled to bid and spend budget.
  • "ENTITY_STATUS_ARCHIVED" : The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.
  • "ENTITY_STATUS_DRAFT" : The entity is under draft. Bidding and budget spending are disabled.
  • "ENTITY_STATUS_PAUSED" : Bidding and budget spending are paused for the entity.
  • "ENTITY_STATUS_SCHEDULED_FOR_DELETION" : The entity is scheduled for deletion.

Implementation

core.String? entityStatus;