v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13286594.5 KB
properties

Deprecated: Use CreateKeyEvent instead. Creates a conversion event with the specified attributes.

post/v1beta/{+parent}/conversionEvents

Path parameters

parentstring required

Required. The resource name of the parent property where this conversion event will be created. Format: properties/123

Request body

eventNamestring

Immutable. The event name for this conversion event. Examples: 'click', 'purchase'

countingMethod'CONVERSION_COUNTING_METHOD_UNSPECIFIED' | 'ONCE_PER_EVENT' | 'ONCE_PER_SESSION'

Optional. The method by which conversions will be counted across multiple events within a session. If this value is not provided, it will be set to ONCE_PER_EVENT.

customboolean

Output only. If set to true, this conversion event refers to a custom event. If set to false, this conversion event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom conversion events that may be created per property.

namestring

Identifier. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event}

createTimestring google-datetime

Output only. Time when this conversion event was created in the property.

deletableboolean

Output only. If set, this event can currently be deleted with DeleteConversionEvent.

Response

Successful response