Class: Google::Shopping::Merchant::Products::V1beta::ProductStatus

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

Overview

The status of a product, data validation issues, that is, information about a product computed asynchronously.

Defined Under Namespace

Classes: DestinationStatus, ItemLevelIssue

Instance Attribute Summary collapse

Instance Attribute Details

#creation_date::Google::Protobuf::Timestamp

Returns Date on which the item has been created, in ISO 8601 format.

Returns:



763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 763

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

  # The destination status of the product status.
  # @!attribute [rw] reporting_context
  #   @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum]
  #     The name of the reporting context.
  # @!attribute [rw] approved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is approved.
  # @!attribute [rw] pending_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is pending
  #     approval.
  # @!attribute [rw] disapproved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is
  #     disapproved.
  class DestinationStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The ItemLevelIssue of the product status.
  # @!attribute [rw] code
  #   @return [::String]
  #     The error code of the issue.
  # @!attribute [rw] severity
  #   @return [::Google::Shopping::Merchant::Products::V1beta::ProductStatus::ItemLevelIssue::Severity]
  #     How this issue affects serving of the offer.
  # @!attribute [rw] resolution
  #   @return [::String]
  #     Whether the issue can be resolved by the merchant.
  # @!attribute [rw] attribute
  #   @return [::String]
  #     The attribute's name, if the issue is caused by a single attribute.
  # @!attribute [rw] reporting_context
  #   @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum]
  #     The reporting context the issue applies to.
  # @!attribute [rw] description
  #   @return [::String]
  #     A short issue description in English.
  # @!attribute [rw] detail
  #   @return [::String]
  #     A detailed issue description in English.
  # @!attribute [rw] documentation
  #   @return [::String]
  #     The URL of a web page to help with resolving this issue.
  # @!attribute [rw] applicable_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where issue applies to the
  #     offer.
  class ItemLevelIssue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # How the issue affects the serving of the product.
    module Severity
      # Not specified.
      SEVERITY_UNSPECIFIED = 0

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

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

      # Issue disapproves the product.
      DISAPPROVED = 3
    end
  end
end

#destination_statuses::Array<::Google::Shopping::Merchant::Products::V1beta::ProductStatus::DestinationStatus>

Returns The intended destinations for the product.

Returns:



763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 763

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

  # The destination status of the product status.
  # @!attribute [rw] reporting_context
  #   @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum]
  #     The name of the reporting context.
  # @!attribute [rw] approved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is approved.
  # @!attribute [rw] pending_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is pending
  #     approval.
  # @!attribute [rw] disapproved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is
  #     disapproved.
  class DestinationStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The ItemLevelIssue of the product status.
  # @!attribute [rw] code
  #   @return [::String]
  #     The error code of the issue.
  # @!attribute [rw] severity
  #   @return [::Google::Shopping::Merchant::Products::V1beta::ProductStatus::ItemLevelIssue::Severity]
  #     How this issue affects serving of the offer.
  # @!attribute [rw] resolution
  #   @return [::String]
  #     Whether the issue can be resolved by the merchant.
  # @!attribute [rw] attribute
  #   @return [::String]
  #     The attribute's name, if the issue is caused by a single attribute.
  # @!attribute [rw] reporting_context
  #   @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum]
  #     The reporting context the issue applies to.
  # @!attribute [rw] description
  #   @return [::String]
  #     A short issue description in English.
  # @!attribute [rw] detail
  #   @return [::String]
  #     A detailed issue description in English.
  # @!attribute [rw] documentation
  #   @return [::String]
  #     The URL of a web page to help with resolving this issue.
  # @!attribute [rw] applicable_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where issue applies to the
  #     offer.
  class ItemLevelIssue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # How the issue affects the serving of the product.
    module Severity
      # Not specified.
      SEVERITY_UNSPECIFIED = 0

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

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

      # Issue disapproves the product.
      DISAPPROVED = 3
    end
  end
end

#google_expiration_date::Google::Protobuf::Timestamp

Returns Date on which the item expires, in ISO 8601 format.

Returns:



763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 763

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

  # The destination status of the product status.
  # @!attribute [rw] reporting_context
  #   @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum]
  #     The name of the reporting context.
  # @!attribute [rw] approved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is approved.
  # @!attribute [rw] pending_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is pending
  #     approval.
  # @!attribute [rw] disapproved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is
  #     disapproved.
  class DestinationStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The ItemLevelIssue of the product status.
  # @!attribute [rw] code
  #   @return [::String]
  #     The error code of the issue.
  # @!attribute [rw] severity
  #   @return [::Google::Shopping::Merchant::Products::V1beta::ProductStatus::ItemLevelIssue::Severity]
  #     How this issue affects serving of the offer.
  # @!attribute [rw] resolution
  #   @return [::String]
  #     Whether the issue can be resolved by the merchant.
  # @!attribute [rw] attribute
  #   @return [::String]
  #     The attribute's name, if the issue is caused by a single attribute.
  # @!attribute [rw] reporting_context
  #   @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum]
  #     The reporting context the issue applies to.
  # @!attribute [rw] description
  #   @return [::String]
  #     A short issue description in English.
  # @!attribute [rw] detail
  #   @return [::String]
  #     A detailed issue description in English.
  # @!attribute [rw] documentation
  #   @return [::String]
  #     The URL of a web page to help with resolving this issue.
  # @!attribute [rw] applicable_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where issue applies to the
  #     offer.
  class ItemLevelIssue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # How the issue affects the serving of the product.
    module Severity
      # Not specified.
      SEVERITY_UNSPECIFIED = 0

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

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

      # Issue disapproves the product.
      DISAPPROVED = 3
    end
  end
end

#item_level_issues::Array<::Google::Shopping::Merchant::Products::V1beta::ProductStatus::ItemLevelIssue>

Returns A list of all issues associated with the product.

Returns:



763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 763

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

  # The destination status of the product status.
  # @!attribute [rw] reporting_context
  #   @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum]
  #     The name of the reporting context.
  # @!attribute [rw] approved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is approved.
  # @!attribute [rw] pending_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is pending
  #     approval.
  # @!attribute [rw] disapproved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is
  #     disapproved.
  class DestinationStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The ItemLevelIssue of the product status.
  # @!attribute [rw] code
  #   @return [::String]
  #     The error code of the issue.
  # @!attribute [rw] severity
  #   @return [::Google::Shopping::Merchant::Products::V1beta::ProductStatus::ItemLevelIssue::Severity]
  #     How this issue affects serving of the offer.
  # @!attribute [rw] resolution
  #   @return [::String]
  #     Whether the issue can be resolved by the merchant.
  # @!attribute [rw] attribute
  #   @return [::String]
  #     The attribute's name, if the issue is caused by a single attribute.
  # @!attribute [rw] reporting_context
  #   @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum]
  #     The reporting context the issue applies to.
  # @!attribute [rw] description
  #   @return [::String]
  #     A short issue description in English.
  # @!attribute [rw] detail
  #   @return [::String]
  #     A detailed issue description in English.
  # @!attribute [rw] documentation
  #   @return [::String]
  #     The URL of a web page to help with resolving this issue.
  # @!attribute [rw] applicable_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where issue applies to the
  #     offer.
  class ItemLevelIssue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # How the issue affects the serving of the product.
    module Severity
      # Not specified.
      SEVERITY_UNSPECIFIED = 0

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

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

      # Issue disapproves the product.
      DISAPPROVED = 3
    end
  end
end

#last_update_date::Google::Protobuf::Timestamp

Returns Date on which the item has been last updated, in ISO 8601 format.

Returns:



763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 763

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

  # The destination status of the product status.
  # @!attribute [rw] reporting_context
  #   @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum]
  #     The name of the reporting context.
  # @!attribute [rw] approved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is approved.
  # @!attribute [rw] pending_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is pending
  #     approval.
  # @!attribute [rw] disapproved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the offer is
  #     disapproved.
  class DestinationStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The ItemLevelIssue of the product status.
  # @!attribute [rw] code
  #   @return [::String]
  #     The error code of the issue.
  # @!attribute [rw] severity
  #   @return [::Google::Shopping::Merchant::Products::V1beta::ProductStatus::ItemLevelIssue::Severity]
  #     How this issue affects serving of the offer.
  # @!attribute [rw] resolution
  #   @return [::String]
  #     Whether the issue can be resolved by the merchant.
  # @!attribute [rw] attribute
  #   @return [::String]
  #     The attribute's name, if the issue is caused by a single attribute.
  # @!attribute [rw] reporting_context
  #   @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum]
  #     The reporting context the issue applies to.
  # @!attribute [rw] description
  #   @return [::String]
  #     A short issue description in English.
  # @!attribute [rw] detail
  #   @return [::String]
  #     A detailed issue description in English.
  # @!attribute [rw] documentation
  #   @return [::String]
  #     The URL of a web page to help with resolving this issue.
  # @!attribute [rw] applicable_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where issue applies to the
  #     offer.
  class ItemLevelIssue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # How the issue affects the serving of the product.
    module Severity
      # Not specified.
      SEVERITY_UNSPECIFIED = 0

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

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

      # Issue disapproves the product.
      DISAPPROVED = 3
    end
  end
end