Class: Google::Shopping::Merchant::Promotions::V1::PromotionStatus::DestinationStatus
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Promotions::V1::PromotionStatus::DestinationStatus
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/promotions/v1/promotions_common.rb
Overview
The status for the specified destination.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#reporting_context ⇒ ::Google::Shopping::Type::ReportingContext::ReportingContextEnum
readonly
Output only.
-
#status ⇒ ::Google::Shopping::Merchant::Promotions::V1::PromotionStatus::DestinationStatus::State
readonly
Output only.
Instance Attribute Details
#reporting_context ⇒ ::Google::Shopping::Type::ReportingContext::ReportingContextEnum (readonly)
Returns Output only. The name of the promotion destination.
256 257 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 |
# File 'proto_docs/google/shopping/merchant/promotions/v1/promotions_common.rb', line 256 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::V1::PromotionStatus::DestinationStatus::State (readonly)
Returns Output only. The status for the specified destination.
256 257 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 |
# File 'proto_docs/google/shopping/merchant/promotions/v1/promotions_common.rb', line 256 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 |