Class: Google::Apis::DisplayvideoV2::GuaranteedOrderStatus
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::GuaranteedOrderStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Overview
The status settings of the guaranteed order.
Instance Attribute Summary collapse
-
#config_status ⇒ String
Output only.
-
#entity_pause_reason ⇒ String
The user-provided reason for pausing this guaranteed order.
-
#entity_status ⇒ String
Whether or not the guaranteed order is servable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GuaranteedOrderStatus
constructor
A new instance of GuaranteedOrderStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GuaranteedOrderStatus
Returns a new instance of GuaranteedOrderStatus.
6283 6284 6285 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config_status ⇒ String
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
6267 6268 6269 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6267 def config_status @config_status end |
#entity_pause_reason ⇒ String
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
6274 6275 6276 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6274 def entity_pause_reason @entity_pause_reason end |
#entity_status ⇒ String
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
6281 6282 6283 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6281 def entity_status @entity_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6288 6289 6290 6291 6292 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6288 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 |