Class: Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/analytics/data/v1beta/data.rb

Overview

Describes a reason for data truncation in the report.

Defined Under Namespace

Modules: DataTruncationType Classes: DataTruncationDateRange

Instance Attribute Summary collapse

Instance Attribute Details

#data_truncation_date ⇒ ::String

Returns The data truncation date in the format YYYY-MM-DD. Indicates data before this date is truncated.

Returns:

  • The data truncation date in the format YYYY-MM-DD. Indicates data before this date is truncated.



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
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
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 808

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

  # Define the truncated date range from start_date to end_date.
  # @!attribute [rw] start_date
  #   @return [::String]
  #     The start date in the format YYYY-MM-DD (inclusive).
  # @!attribute [rw] end_date
  #   @return [::String]
  #     The end date in the format YYYY-MM-DD (inclusive).
  class DataTruncationDateRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of data truncation.
  module DataTruncationType
    # Unspecified type.
    DATA_TRUNCATION_TYPE_UNSPECIFIED = 0

    # Data is truncated in attribution report for rules-based models golden
    # date.
    DATA_TRUNCATION_TYPE_RULES_BASED_MODELS = 1

    # Data is truncated in attribution report for data driven attribution
    # golden date.
    DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION = 2

    # Data is truncated because DV360 policy does not permit data older than
    # 2 years from being returned.
    DATA_TRUNCATION_TYPE_DV360 = 3

    # Data is truncated because CM360 policy does not permit data older than
    # 2 years from being returned.
    DATA_TRUNCATION_TYPE_CM360 = 4

    # New item-scoped ecommerce metrics only have data after a specific date.
    DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS = 5

    # New event-scoped ecommerce metrics only have data after a specific
    # date.
    DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS = 6

    # Query date range may not be fully served.
    DATA_TRUNCATION_TYPE_DATE_RANGE = 7

    # Data truncated because the query attempts to read event data prior
    # to its retention date.
    DATA_TRUNCATION_TYPE_PROPERTY = 8

    # Data is truncated in conversions report.
    DATA_TRUNCATION_TYPE_CONVERSIONS = 9

    # Data is truncated due to Google Ads 36 month retention policy.
    DATA_TRUNCATION_TYPE_GOOGLE_ADS = 10
  end
end

#data_truncation_date_ranges ⇒ ::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationDateRange>

Returns The truncated date ranges.

Returns:

  • The truncated date ranges.



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
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
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 808

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

  # Define the truncated date range from start_date to end_date.
  # @!attribute [rw] start_date
  #   @return [::String]
  #     The start date in the format YYYY-MM-DD (inclusive).
  # @!attribute [rw] end_date
  #   @return [::String]
  #     The end date in the format YYYY-MM-DD (inclusive).
  class DataTruncationDateRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of data truncation.
  module DataTruncationType
    # Unspecified type.
    DATA_TRUNCATION_TYPE_UNSPECIFIED = 0

    # Data is truncated in attribution report for rules-based models golden
    # date.
    DATA_TRUNCATION_TYPE_RULES_BASED_MODELS = 1

    # Data is truncated in attribution report for data driven attribution
    # golden date.
    DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION = 2

    # Data is truncated because DV360 policy does not permit data older than
    # 2 years from being returned.
    DATA_TRUNCATION_TYPE_DV360 = 3

    # Data is truncated because CM360 policy does not permit data older than
    # 2 years from being returned.
    DATA_TRUNCATION_TYPE_CM360 = 4

    # New item-scoped ecommerce metrics only have data after a specific date.
    DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS = 5

    # New event-scoped ecommerce metrics only have data after a specific
    # date.
    DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS = 6

    # Query date range may not be fully served.
    DATA_TRUNCATION_TYPE_DATE_RANGE = 7

    # Data truncated because the query attempts to read event data prior
    # to its retention date.
    DATA_TRUNCATION_TYPE_PROPERTY = 8

    # Data is truncated in conversions report.
    DATA_TRUNCATION_TYPE_CONVERSIONS = 9

    # Data is truncated due to Google Ads 36 month retention policy.
    DATA_TRUNCATION_TYPE_GOOGLE_ADS = 10
  end
end

#data_truncation_message ⇒ ::String

Returns A descriptive message explaining the data truncation.

Returns:

  • A descriptive message explaining the data truncation.



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
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
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 808

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

  # Define the truncated date range from start_date to end_date.
  # @!attribute [rw] start_date
  #   @return [::String]
  #     The start date in the format YYYY-MM-DD (inclusive).
  # @!attribute [rw] end_date
  #   @return [::String]
  #     The end date in the format YYYY-MM-DD (inclusive).
  class DataTruncationDateRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of data truncation.
  module DataTruncationType
    # Unspecified type.
    DATA_TRUNCATION_TYPE_UNSPECIFIED = 0

    # Data is truncated in attribution report for rules-based models golden
    # date.
    DATA_TRUNCATION_TYPE_RULES_BASED_MODELS = 1

    # Data is truncated in attribution report for data driven attribution
    # golden date.
    DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION = 2

    # Data is truncated because DV360 policy does not permit data older than
    # 2 years from being returned.
    DATA_TRUNCATION_TYPE_DV360 = 3

    # Data is truncated because CM360 policy does not permit data older than
    # 2 years from being returned.
    DATA_TRUNCATION_TYPE_CM360 = 4

    # New item-scoped ecommerce metrics only have data after a specific date.
    DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS = 5

    # New event-scoped ecommerce metrics only have data after a specific
    # date.
    DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS = 6

    # Query date range may not be fully served.
    DATA_TRUNCATION_TYPE_DATE_RANGE = 7

    # Data truncated because the query attempts to read event data prior
    # to its retention date.
    DATA_TRUNCATION_TYPE_PROPERTY = 8

    # Data is truncated in conversions report.
    DATA_TRUNCATION_TYPE_CONVERSIONS = 9

    # Data is truncated due to Google Ads 36 month retention policy.
    DATA_TRUNCATION_TYPE_GOOGLE_ADS = 10
  end
end

#data_truncation_type ⇒ ::Google::Analytics::Data::V1beta::ResponseMetaData::DataTruncationReason::DataTruncationType

Returns The type of data truncation.

Returns:

  • The type of data truncation.



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
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
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 808

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

  # Define the truncated date range from start_date to end_date.
  # @!attribute [rw] start_date
  #   @return [::String]
  #     The start date in the format YYYY-MM-DD (inclusive).
  # @!attribute [rw] end_date
  #   @return [::String]
  #     The end date in the format YYYY-MM-DD (inclusive).
  class DataTruncationDateRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of data truncation.
  module DataTruncationType
    # Unspecified type.
    DATA_TRUNCATION_TYPE_UNSPECIFIED = 0

    # Data is truncated in attribution report for rules-based models golden
    # date.
    DATA_TRUNCATION_TYPE_RULES_BASED_MODELS = 1

    # Data is truncated in attribution report for data driven attribution
    # golden date.
    DATA_TRUNCATION_TYPE_DATA_DRIVEN_ATTRIBUTION = 2

    # Data is truncated because DV360 policy does not permit data older than
    # 2 years from being returned.
    DATA_TRUNCATION_TYPE_DV360 = 3

    # Data is truncated because CM360 policy does not permit data older than
    # 2 years from being returned.
    DATA_TRUNCATION_TYPE_CM360 = 4

    # New item-scoped ecommerce metrics only have data after a specific date.
    DATA_TRUNCATION_TYPE_ITEM_SCOPED_ECOMMERCE_METRICS = 5

    # New event-scoped ecommerce metrics only have data after a specific
    # date.
    DATA_TRUNCATION_TYPE_EVENT_SCOPED_ECOMMERCE_METRICS = 6

    # Query date range may not be fully served.
    DATA_TRUNCATION_TYPE_DATE_RANGE = 7

    # Data truncated because the query attempts to read event data prior
    # to its retention date.
    DATA_TRUNCATION_TYPE_PROPERTY = 8

    # Data is truncated in conversions report.
    DATA_TRUNCATION_TYPE_CONVERSIONS = 9

    # Data is truncated due to Google Ads 36 month retention policy.
    DATA_TRUNCATION_TYPE_GOOGLE_ADS = 10
  end
end