- JSON representation
- SchemaRestrictionResponse
- ActiveMetricRestriction
- RestrictedMetricType
- SamplingMetadata
Response's metadata carrying additional information about the report content.
JSON representation |
---|
{ "dataLossFromOtherRow": boolean, "samplingMetadatas": [ { object ( |
Fields | |
---|---|
dataLossFromOtherRow |
If true, indicates some buckets of dimension combinations are rolled into "(other)" row. This can happen for high cardinality reports. The metadata parameter dataLossFromOtherRow is populated based on the aggregated data table used in the report. The parameter will be accurately populated regardless of the filters and limits in the report. For example, the (other) row could be dropped from the report because the request contains a filter on sessionSource = google. This parameter will still be populated if data loss from other row was present in the input aggregate data used to generate this report. To learn more, see About the (other) row and data sampling. |
samplingMetadatas[] |
If this report results is sampled, this describes the percentage of events used in this report. One However if the results are not sampled, this field will not be defined. |
schemaRestrictionResponse |
Describes the schema restrictions actively enforced in creating this report. To learn more, see Access and data-restriction management. |
currencyCode |
The currency code used in this report. Intended to be used in formatting currency metrics like Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", "EUR", "JPY". To learn more, see https://support.google.com/analytics/answer/9796179. |
timeZone |
The property's current timezone. Intended to be used to interpret time-based dimensions like |
emptyReason |
If empty reason is specified, the report is empty for this reason. |
subjectToThresholding |
If |
SchemaRestrictionResponse
The schema restrictions actively enforced in creating this report. To learn more, see Access and data-restriction management.
JSON representation |
---|
{
"activeMetricRestrictions": [
{
object ( |
Fields | |
---|---|
activeMetricRestrictions[] |
All restrictions actively enforced in creating the report. For example, |
ActiveMetricRestriction
A metric actively restricted in creating the report.
JSON representation |
---|
{
"restrictedMetricTypes": [
enum ( |
Fields | |
---|---|
restrictedMetricTypes[] |
The reason for this metric's restriction. |
metricName |
The name of the restricted metric. |
RestrictedMetricType
Categories of data that you may be restricted from viewing on certain GA4 properties.
Enums | |
---|---|
RESTRICTED_METRIC_TYPE_UNSPECIFIED |
Unspecified type. |
COST_DATA |
Cost metrics such as adCost . |
REVENUE_DATA |
Revenue metrics such as purchaseRevenue . |
SamplingMetadata
If this report results is sampled, this describes the percentage of events used in this report. Sampling is the practice of analyzing a subset of all data in order to uncover the meaningful information in the larger data set.
JSON representation |
---|
{ "samplesReadCount": string, "samplingSpaceSize": string } |
Fields | |
---|---|
samplesReadCount |
The total number of events read in this sampled report for a date range. This is the size of the subset this property's data that was analyzed in this report. |
samplingSpaceSize |
The total number of events present in this property's data that could have been analyzed in this report for a date range. Sampling uncovers the meaningful information about the larger data set, and this is the size of the larger data set. To calculate the percentage of available data that was used in this report, compute |