Method: properties.channelGroups.create
Żądanie HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/channelGroups
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
Wymagane. Właściwość, dla której ma zostać utworzona grupa kanałów. Przykładowy format: właściwość/1234
|
Treść żądania
Treść żądania zawiera wystąpienie elementu ChannelGroup
.
Treść odpowiedzi
Jeśli operacja się uda, treść odpowiedzi będzie zawierała nowo utworzoną instancję ChannelGroup
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/analytics.edit
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-05-06 UTC.
[null,null,["Ostatnia aktualizacja: 2024-05-06 UTC."],[[["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."]]],["This outlines the creation of a ChannelGroup via a POST HTTP request to a specific URL, utilizing gRPC Transcoding. The request requires a `parent` path parameter specifying the property. The request body must contain a ChannelGroup instance, and a successful response will return a newly created ChannelGroup instance. Authorization mandates the `analytics.edit` OAuth scope. The action involves sending the request to a defined endpoint. The information presented are the url, method, authorization scope, parameters, request body, and response body.\n"]]