Reference documentation and code samples for the Google Analytics Data V1beta Client class CheckCompatibilityRequest.
The request for compatibility information for a report's dimensions and
metrics. Check compatibility provides a preview of the compatibility of a
report; fields shared with therunReportrequest should be the same values
as in yourrunReportrequest.
Generated from protobuf messagegoogle.analytics.data.v1beta.CheckCompatibilityRequest
Namespace
Google \ Analytics \ Data \ V1beta
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ property
string
A Google Analytics property identifier whose events are tracked. To learn more, seewhere to find your Property ID.propertyshould be the same value as in yourrunReportrequest. Example: properties/1234
The filter clause of metrics.metricFiltershould be the same value as in yourrunReportrequest
↳ compatibility_filter
int
Filters the dimensions and metrics in the response to just this compatibility. Commonly used as”compatibilityFilter”: “COMPATIBLE”to only return compatible dimensions & metrics.
Filters the dimensions and metrics in the response to just this
compatibility. Commonly used as”compatibilityFilter”: “COMPATIBLE”to only return compatible dimensions & metrics.
Returns
Type
Description
int
setCompatibilityFilter
Filters the dimensions and metrics in the response to just this
compatibility. Commonly used as”compatibilityFilter”: “COMPATIBLE”to only return compatible dimensions & metrics.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Analytics Data V1beta Client - Class CheckCompatibilityRequest (0.22.3)\n\nVersion latestkeyboard_arrow_down\n\n- [0.22.3 (latest)](/php/docs/reference/analytics-data/latest/V1beta.CheckCompatibilityRequest)\n- [0.22.2](/php/docs/reference/analytics-data/0.22.2/V1beta.CheckCompatibilityRequest)\n- [0.21.1](/php/docs/reference/analytics-data/0.21.1/V1beta.CheckCompatibilityRequest)\n- [0.20.1](/php/docs/reference/analytics-data/0.20.1/V1beta.CheckCompatibilityRequest)\n- [0.19.0](/php/docs/reference/analytics-data/0.19.0/V1beta.CheckCompatibilityRequest)\n- [0.18.0](/php/docs/reference/analytics-data/0.18.0/V1beta.CheckCompatibilityRequest)\n- [0.17.1](/php/docs/reference/analytics-data/0.17.1/V1beta.CheckCompatibilityRequest)\n- [0.16.4](/php/docs/reference/analytics-data/0.16.4/V1beta.CheckCompatibilityRequest)\n- [0.14.0](/php/docs/reference/analytics-data/0.14.0/V1beta.CheckCompatibilityRequest)\n- [0.13.0](/php/docs/reference/analytics-data/0.13.0/V1beta.CheckCompatibilityRequest)\n- [0.12.0](/php/docs/reference/analytics-data/0.12.0/V1beta.CheckCompatibilityRequest)\n- [0.11.2](/php/docs/reference/analytics-data/0.11.2/V1beta.CheckCompatibilityRequest)\n- [0.10.1](/php/docs/reference/analytics-data/0.10.1/V1beta.CheckCompatibilityRequest)\n- [0.9.5](/php/docs/reference/analytics-data/0.9.5/V1beta.CheckCompatibilityRequest) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Analytics Data V1beta Client class CheckCompatibilityRequest.\n\nThe request for compatibility information for a report's dimensions and\nmetrics. Check compatibility provides a preview of the compatibility of a\nreport; fields shared with the `runReport` request should be the same values\nas in your `runReport` request.\n\nGenerated from protobuf message `google.analytics.data.v1beta.CheckCompatibilityRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Analytics \\\\ Data \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getProperty\n\nA Google Analytics property identifier whose events are tracked. To\nlearn more, see [where to find your Property\nID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).\n\n`property` should be the same value as in your `runReport` request.\nExample: properties/1234\n\n### setProperty\n\nA Google Analytics property identifier whose events are tracked. To\nlearn more, see [where to find your Property\nID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).\n\n`property` should be the same value as in your `runReport` request.\nExample: properties/1234\n\n### getDimensions\n\nThe dimensions in this report. `dimensions` should be the same value as in\nyour `runReport` request.\n\n### setDimensions\n\nThe dimensions in this report. `dimensions` should be the same value as in\nyour `runReport` request.\n\n### getMetrics\n\nThe metrics in this report. `metrics` should be the same value as in your\n`runReport` request.\n\n### setMetrics\n\nThe metrics in this report. `metrics` should be the same value as in your\n`runReport` request.\n\n### getDimensionFilter\n\nThe filter clause of dimensions. `dimensionFilter` should be the same value\nas in your `runReport` request.\n\n### hasDimensionFilter\n\n### clearDimensionFilter\n\n### setDimensionFilter\n\nThe filter clause of dimensions. `dimensionFilter` should be the same value\nas in your `runReport` request.\n\n### getMetricFilter\n\nThe filter clause of metrics. `metricFilter` should be the same value as in\nyour `runReport` request\n\n### hasMetricFilter\n\n### clearMetricFilter\n\n### setMetricFilter\n\nThe filter clause of metrics. `metricFilter` should be the same value as in\nyour `runReport` request\n\n### getCompatibilityFilter\n\nFilters the dimensions and metrics in the response to just this\ncompatibility. Commonly used as `\"compatibilityFilter\": \"COMPATIBLE\"`\nto only return compatible dimensions \\& metrics.\n\n### setCompatibilityFilter\n\nFilters the dimensions and metrics in the response to just this\ncompatibility. Commonly used as `\"compatibilityFilter\": \"COMPATIBLE\"`\nto only return compatible dimensions \\& metrics."]]