REST Resource: properties.conversionEvents

Resource: ConversionEvent

A conversion event in a Google Analytics property.

JSON representation
{
  "name": string,
  "eventName": string,
  "createTime": string,
  "deletable": boolean,
  "custom": boolean
}
Fields
name

string

Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversionEvent}

eventName

string

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

createTime

string (Timestamp format)

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

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

deletable

boolean

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

custom

boolean

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.

Methods

create

Creates a conversion event with the specified attributes.

delete

Deletes a conversion event in a property.

get

Retrieve a single conversion event.

list

Returns a list of conversion events in the specified parent property.