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:



835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 835

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 business.
  # @!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:



835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 835

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 business.
  # @!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:



835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 835

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 business.
  # @!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:



835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 835

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 business.
  # @!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:



835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 835

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 business.
  # @!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