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

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 issue associated with the promotion.

Defined Under Namespace

Modules: Severity

Instance Attribute Summary collapse

Instance Attribute Details

#applicable_countries::Array<::String> (readonly)

Returns Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.

Returns:

  • (::Array<::String>)

    Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.



318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'proto_docs/google/shopping/merchant/promotions/v1beta/promotions_common.rb', line 318

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

  # The severity of the issue.
  module Severity
    # Not specified.
    SEVERITY_UNSPECIFIED = 0

    # This issue represents a warning and does not have a direct affect
    # on the promotion.
    NOT_IMPACTED = 1

    # The promotion is demoted and most likely have limited performance
    # in search results
    DEMOTED = 2

    # Issue disapproves the promotion.
    DISAPPROVED = 3
  end
end

#attribute::String (readonly)

Returns Output only. The attribute's name, if the issue is caused by a single attribute.

Returns:

  • (::String)

    Output only. The attribute's name, if the issue is caused by a single attribute.



318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'proto_docs/google/shopping/merchant/promotions/v1beta/promotions_common.rb', line 318

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

  # The severity of the issue.
  module Severity
    # Not specified.
    SEVERITY_UNSPECIFIED = 0

    # This issue represents a warning and does not have a direct affect
    # on the promotion.
    NOT_IMPACTED = 1

    # The promotion is demoted and most likely have limited performance
    # in search results
    DEMOTED = 2

    # Issue disapproves the promotion.
    DISAPPROVED = 3
  end
end

#code::String (readonly)

Returns Output only. The error code of the issue.

Returns:

  • (::String)

    Output only. The error code of the issue.



318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'proto_docs/google/shopping/merchant/promotions/v1beta/promotions_common.rb', line 318

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

  # The severity of the issue.
  module Severity
    # Not specified.
    SEVERITY_UNSPECIFIED = 0

    # This issue represents a warning and does not have a direct affect
    # on the promotion.
    NOT_IMPACTED = 1

    # The promotion is demoted and most likely have limited performance
    # in search results
    DEMOTED = 2

    # Issue disapproves the promotion.
    DISAPPROVED = 3
  end
end

#description::String (readonly)

Returns Output only. A short issue description in English.

Returns:

  • (::String)

    Output only. A short issue description in English.



318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'proto_docs/google/shopping/merchant/promotions/v1beta/promotions_common.rb', line 318

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

  # The severity of the issue.
  module Severity
    # Not specified.
    SEVERITY_UNSPECIFIED = 0

    # This issue represents a warning and does not have a direct affect
    # on the promotion.
    NOT_IMPACTED = 1

    # The promotion is demoted and most likely have limited performance
    # in search results
    DEMOTED = 2

    # Issue disapproves the promotion.
    DISAPPROVED = 3
  end
end

#detail::String (readonly)

Returns Output only. A detailed issue description in English.

Returns:

  • (::String)

    Output only. A detailed issue description in English.



318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'proto_docs/google/shopping/merchant/promotions/v1beta/promotions_common.rb', line 318

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

  # The severity of the issue.
  module Severity
    # Not specified.
    SEVERITY_UNSPECIFIED = 0

    # This issue represents a warning and does not have a direct affect
    # on the promotion.
    NOT_IMPACTED = 1

    # The promotion is demoted and most likely have limited performance
    # in search results
    DEMOTED = 2

    # Issue disapproves the promotion.
    DISAPPROVED = 3
  end
end

#documentation::String (readonly)

Returns Output only. The URL of a web page to help with resolving this issue.

Returns:

  • (::String)

    Output only. The URL of a web page to help with resolving this issue.



318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'proto_docs/google/shopping/merchant/promotions/v1beta/promotions_common.rb', line 318

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

  # The severity of the issue.
  module Severity
    # Not specified.
    SEVERITY_UNSPECIFIED = 0

    # This issue represents a warning and does not have a direct affect
    # on the promotion.
    NOT_IMPACTED = 1

    # The promotion is demoted and most likely have limited performance
    # in search results
    DEMOTED = 2

    # Issue disapproves the promotion.
    DISAPPROVED = 3
  end
end

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

Returns Output only. The destination the issue applies to.

Returns:



318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'proto_docs/google/shopping/merchant/promotions/v1beta/promotions_common.rb', line 318

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

  # The severity of the issue.
  module Severity
    # Not specified.
    SEVERITY_UNSPECIFIED = 0

    # This issue represents a warning and does not have a direct affect
    # on the promotion.
    NOT_IMPACTED = 1

    # The promotion is demoted and most likely have limited performance
    # in search results
    DEMOTED = 2

    # Issue disapproves the promotion.
    DISAPPROVED = 3
  end
end

#resolution::String (readonly)

Returns Output only. Whether the issue can be resolved by the merchant.

Returns:

  • (::String)

    Output only. Whether the issue can be resolved by the merchant.



318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'proto_docs/google/shopping/merchant/promotions/v1beta/promotions_common.rb', line 318

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

  # The severity of the issue.
  module Severity
    # Not specified.
    SEVERITY_UNSPECIFIED = 0

    # This issue represents a warning and does not have a direct affect
    # on the promotion.
    NOT_IMPACTED = 1

    # The promotion is demoted and most likely have limited performance
    # in search results
    DEMOTED = 2

    # Issue disapproves the promotion.
    DISAPPROVED = 3
  end
end

#severity::Google::Shopping::Merchant::Promotions::V1beta::PromotionStatus::ItemLevelIssue::Severity (readonly)

Returns Output only. How this issue affects serving of the promotion.

Returns:



318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
# File 'proto_docs/google/shopping/merchant/promotions/v1beta/promotions_common.rb', line 318

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

  # The severity of the issue.
  module Severity
    # Not specified.
    SEVERITY_UNSPECIFIED = 0

    # This issue represents a warning and does not have a direct affect
    # on the promotion.
    NOT_IMPACTED = 1

    # The promotion is demoted and most likely have limited performance
    # in search results
    DEMOTED = 2

    # Issue disapproves the promotion.
    DISAPPROVED = 3
  end
end