Method: properties.channelGroups.create

  • Creates a ChannelGroup within a specified Google Analytics 4 property.

  • Requires a POST request to the designated endpoint with property ID and ChannelGroup details in the request body.

  • Utilizes gRPC Transcoding for URL structure and needs analytics.edit scope for authorization.

  • Successful execution returns the newly created ChannelGroup instance.

Creates a ChannelGroup.

HTTP request

POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/channelGroups

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The property for which to create a ChannelGroup. Example format: properties/1234

Request body

The request body contains an instance of ChannelGroup.

Response body

If successful, the response body contains a newly created instance of ChannelGroup.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/analytics.edit