Class: Google::Shopping::Merchant::Promotions::V1beta::PromotionStatus::DestinationStatus

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/promotions/v1beta/promotions_common.rb

Overview

The status for the specified destination.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#reporting_context::Google::Shopping::Type::ReportingContext::ReportingContextEnum (readonly)

Returns Output only. The name of the promotion destination.

Returns:



258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'proto_docs/google/shopping/merchant/promotions/v1beta/promotions_common.rb', line 258

class DestinationStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The current state of the promotion.
  module State
    # Unknown promotion state.
    STATE_UNSPECIFIED = 0

    # The promotion is under review.
    IN_REVIEW = 1

    # The promotion is disapproved.
    REJECTED = 2

    # The promotion is approved and active.
    LIVE = 3

    # The promotion is stopped by merchant.
    STOPPED = 4

    # The promotion is no longer active.
    EXPIRED = 5

    # The promotion is not stopped, and all reviews are approved, but the
    # active date is in the future.
    PENDING = 6
  end
end

#status::Google::Shopping::Merchant::Promotions::V1beta::PromotionStatus::DestinationStatus::State (readonly)

Returns Output only. The status for the specified destination.

Returns:



258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# File 'proto_docs/google/shopping/merchant/promotions/v1beta/promotions_common.rb', line 258

class DestinationStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The current state of the promotion.
  module State
    # Unknown promotion state.
    STATE_UNSPECIFIED = 0

    # The promotion is under review.
    IN_REVIEW = 1

    # The promotion is disapproved.
    REJECTED = 2

    # The promotion is approved and active.
    LIVE = 3

    # The promotion is stopped by merchant.
    STOPPED = 4

    # The promotion is no longer active.
    EXPIRED = 5

    # The promotion is not stopped, and all reviews are approved, but the
    # active date is in the future.
    PENDING = 6
  end
end