Try the MCP server for Google Analytics. Install from
GitHub, and see the
announcement for more details.
Comparison
Stay organized with collections
Save and categorize content based on your preferences.
Defines an individual comparison. Most requests will include multiple comparisons so that the report compares between the comparisons.
JSON representation |
{
"name": string,
// Union field one_comparison can be only one of the following:
"dimensionFilter": {
object (FilterExpression )
},
"comparison": string
// End of list of possible types for union field one_comparison .
} |
Fields |
name |
string
Each comparison produces separate rows in the response. In the response, this comparison is identified by this name. If name is unspecified, we will use the saved comparisons display name.
|
Union field one_comparison . One kind of comparison value one_comparison can be only one of the following: |
dimensionFilter |
object (FilterExpression )
A basic comparison.
|
comparison |
string
A saved comparison identified by the comparison's resource name. For example, 'comparisons/1234'.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[],["The content defines a comparison structure for reporting. Each comparison has a `name` for identification in the response. A comparison can be defined in one of two ways: by a `dimensionFilter` object, which specifies a basic filter criteria; or by referencing a pre-existing saved `comparison` via its resource name. Multiple comparisons are used together to create a report, each comparison generating separate rows in the output.\n"],null,[]]