- Resource: ChannelGroup
- GroupingRule
- ChannelGroupFilterExpression
- ChannelGroupFilterExpressionList
- ChannelGroupFilter
- StringFilter
- MatchType
- InListFilter
- Methods
Resource: ChannelGroup
A resource message representing a Channel Group.
JSON representation |
---|
{
"name": string,
"displayName": string,
"description": string,
"groupingRule": [
{
object ( |
Fields | |
---|---|
name |
Output only. The resource name for this Channel Group resource. Format: properties/{property}/channelGroups/{channelGroup} |
displayName |
Required. The display name of the Channel Group. Max length of 80 characters. |
description |
The description of the Channel Group. Max length of 256 characters. |
groupingRule[] |
Required. The grouping rules of channels. Maximum number of rules is 50. |
systemDefined |
Output only. If true, then this channel group is the Default Channel Group predefined by Google Analytics. Display name and grouping rules cannot be updated for this channel group. |
primary |
Optional. If true, this channel group will be used as the default channel group for reports. Only one channel group can be set as The Google Analytics predefined channel group is the primary by default. |
GroupingRule
The rules that govern how traffic is grouped into one channel.
JSON representation |
---|
{
"displayName": string,
"expression": {
object ( |
Fields | |
---|---|
displayName |
Required. Customer defined display name for the channel. |
expression |
Required. The Filter Expression that defines the Grouping Rule. |
ChannelGroupFilterExpression
A logical expression of Channel Group dimension filters.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field expr . The expression applied to a filter. expr can be only one of the following: |
|
andGroup |
A list of expressions to be AND’ed together. It can only contain ChannelGroupFilterExpressions with orGroup. This must be set for the top level ChannelGroupFilterExpression. |
orGroup |
A list of expressions to OR’ed together. It cannot contain ChannelGroupFilterExpressions with andGroup or orGroup. |
notExpression |
A filter expression to be NOT'ed (that is inverted, complemented). It can only include a dimensionOrMetricFilter. This cannot be set on the top level ChannelGroupFilterExpression. |
filter |
A filter on a single dimension. This cannot be set on the top level ChannelGroupFilterExpression. |
ChannelGroupFilterExpressionList
A list of Channel Group filter expressions.
JSON representation |
---|
{
"filterExpressions": [
{
object ( |
Fields | |
---|---|
filterExpressions[] |
A list of Channel Group filter expressions. |
ChannelGroupFilter
A specific filter for a single dimension.
JSON representation |
---|
{ "fieldName": string, // Union field |
Fields | |
---|---|
fieldName |
Required. Immutable. The dimension name to filter. |
Union field value_filter . A StringFilter or InListFilter that defines this filters behavior. value_filter can be only one of the following: |
|
stringFilter |
A filter for a string-type dimension that matches a particular pattern. |
inListFilter |
A filter for a string dimension that matches a particular list of options. |
StringFilter
Filter where the field value is a String. The match is case insensitive.
JSON representation |
---|
{
"matchType": enum ( |
Fields | |
---|---|
matchType |
Required. The match type for the string filter. |
value |
Required. The string value to be matched against. |
MatchType
How the filter will be used to determine a match.
Enums | |
---|---|
MATCH_TYPE_UNSPECIFIED |
Default match type. |
EXACT |
Exact match of the string value. |
BEGINS_WITH |
Begins with the string value. |
ENDS_WITH |
Ends with the string value. |
CONTAINS |
Contains the string value. |
FULL_REGEXP |
Full regular expression match with the string value. |
PARTIAL_REGEXP |
Partial regular expression match with the string value. |
InListFilter
A filter for a string dimension that matches a particular list of options. The match is case insensitive.
JSON representation |
---|
{ "values": [ string ] } |
Fields | |
---|---|
values[] |
Required. The list of possible string values to match against. Must be non-empty. |
Methods |
|
---|---|
|
Creates a ChannelGroup. |
|
Deletes a ChannelGroup on a property. |
|
Lookup for a single ChannelGroup. |
|
Lists ChannelGroups on a property. |
|
Updates a ChannelGroup. |