Method: properties.subpropertyEventFilters.create

  • This document outlines how to create a subproperty Event Filter using a POST request to the specified URL.

  • Creating a subproperty Event Filter requires a parent parameter in the path, which is the ordinary property ID.

  • The request body for creating a subproperty Event Filter should contain an instance of SubpropertyEventFilter.

  • A successful response will return a newly created instance of SubpropertyEventFilter.

  • The action of creating a subproperty Event Filter requires the https://www.googleapis.com/auth/analytics.edit authorization scope.

Creates a subproperty Event Filter.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The ordinary property for which to create a subproperty event filter. Format: properties/property_id Example: properties/123

Request body

The request body contains an instance of SubpropertyEventFilter.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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