Class: Google::Apis::DisplayvideoV3::GuaranteedOrderStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb

Overview

The status settings of the guaranteed order.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GuaranteedOrderStatus

Returns a new instance of GuaranteedOrderStatus.



6963
6964
6965
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6963

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#config_statusString

Output only. The configuration status of the guaranteed order. Acceptable values are PENDING and COMPLETED. A guaranteed order must be configured ( fill in the required fields, choose creatives, and select a default campaign) before it can serve. Currently the configuration action can only be performed via UI. Corresponds to the JSON property configStatus

Returns:

  • (String)


6947
6948
6949
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6947

def config_status
  @config_status
end

#entity_pause_reasonString

The user-provided reason for pausing this guaranteed order. Must be UTF-8 encoded with a maximum length of 100 bytes. Only applicable when entity_status is set to ENTITY_STATUS_PAUSED. Corresponds to the JSON property entityPauseReason

Returns:

  • (String)


6954
6955
6956
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6954

def entity_pause_reason
  @entity_pause_reason
end

#entity_statusString

Whether or not the guaranteed order 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

Returns:

  • (String)


6961
6962
6963
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6961

def entity_status
  @entity_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6968
6969
6970
6971
6972
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6968

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)
end