Method: properties.channelGroups.create

  • The main purpose of this page is to describe how to create a ChannelGroup using a POST request to the specified API endpoint.

  • The API call requires a 'parent' parameter in the path, which is a string specifying the property for which the ChannelGroup is being created.

  • The request body should contain an instance of a ChannelGroup, and a successful response will return the newly created ChannelGroup instance.

  • Authorization is required using the https://www.googleapis.com/auth/analytics.edit OAuth scope.

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