class Google::Apis::DisplayvideoV1::InventorySourceStatus

The status related settings of the inventory source.

Attributes

config_status[RW]

Output only. The configuration status of the inventory source. Only applicable for guaranteed inventory sources. Acceptable values are ` INVENTORY_SOURCE_CONFIG_STATUS_PENDING` and ` INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED`. An inventory source must be configured (fill in the required fields, choose creatives, and select a default campaign) before it can serve. Corresponds to the JSON property `configStatus` @return [String]

entity_pause_reason[RW]

The user-provided reason for pausing this inventory source. Must not exceed 100 characters. Only applicable when entity_status is set to ` ENTITY_STATUS_PAUSED`. Corresponds to the JSON property `entityPauseReason` @return [String]

entity_status[RW]

Whether or not the inventory source is servable. Acceptable values are ` ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. Default value is `ENTITY_STATUS_ACTIVE`. Corresponds to the JSON property `entityStatus` @return [String]

seller_pause_reason[RW]

Output only. The seller-provided reason for pausing this inventory source. Only applicable for inventory sources synced directly from the publishers and when seller_status is set to `ENTITY_STATUS_PAUSED`. Corresponds to the JSON property `sellerPauseReason` @return [String]

seller_status[RW]

Output only. The status set by the seller for the inventory source. Only applicable for inventory sources synced directly from the publishers. Acceptable values are `ENTITY_STATUS_ACTIVE` and `ENTITY_STATUS_PAUSED`. Corresponds to the JSON property `sellerStatus` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 5613
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 5618
def update!(**args)
  @config_status = args[:config_status] if args.key?(:config_status)
  @entity_pause_reason = args[:entity_pause_reason] if args.key?(:entity_pause_reason)
  @entity_status = args[:entity_status] if args.key?(:entity_status)
  @seller_pause_reason = args[:seller_pause_reason] if args.key?(:seller_pause_reason)
  @seller_status = args[:seller_status] if args.key?(:seller_status)
end