Show / Hide Table of Contents

Class Event

An event representing a user interaction with an advertiser's website or app.

Inheritance
object
Event
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DataManager.v1.Data
Assembly: Google.Apis.DataManager.v1.dll
Syntax
public class Event : IDirectResponseSchema

Properties

AdIdentifiers

Optional. Identifiers and other information used to match the conversion event with other online activity (such as ad clicks).

Declaration
[JsonProperty("adIdentifiers")]
public virtual AdIdentifiers AdIdentifiers { get; set; }
Property Value
Type Description
AdIdentifiers

AdditionalEventParameters

Optional. A bucket of any event parameters to be included within the event that were not already specified using other structured fields.

Declaration
[JsonProperty("additionalEventParameters")]
public virtual IList<EventParameter> AdditionalEventParameters { get; set; }
Property Value
Type Description
IList<EventParameter>

CartData

Optional. Information about the transaction and items associated with the event.

Declaration
[JsonProperty("cartData")]
public virtual CartData CartData { get; set; }
Property Value
Type Description
CartData

ClientId

Optional. A unique identifier for the user instance of a web client for this GA4 web stream.

Declaration
[JsonProperty("clientId")]
public virtual string ClientId { get; set; }
Property Value
Type Description
string

Consent

Optional. Information about whether the associated user has provided different types of consent.

Declaration
[JsonProperty("consent")]
public virtual Consent Consent { get; set; }
Property Value
Type Description
Consent

ConversionValue

Optional. The conversion value associated with the event, for value-based conversions.

Declaration
[JsonProperty("conversionValue")]
public virtual double? ConversionValue { get; set; }
Property Value
Type Description
double?

Currency

Optional. The currency code associated with all monetary values within this event.

Declaration
[JsonProperty("currency")]
public virtual string Currency { get; set; }
Property Value
Type Description
string

CustomVariables

Optional. Additional key/value pair information to send to the conversion containers (conversion action or FL activity).

Declaration
[JsonProperty("customVariables")]
public virtual IList<CustomVariable> CustomVariables { get; set; }
Property Value
Type Description
IList<CustomVariable>

DestinationReferences

Optional. Reference string used to determine the destination. If empty, the event will be sent to all destinations in the request.

Declaration
[JsonProperty("destinationReferences")]
public virtual IList<string> DestinationReferences { get; set; }
Property Value
Type Description
IList<string>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EventDeviceInfo

Optional. Information gathered about the device being used (if any) when the event happened.

Declaration
[JsonProperty("eventDeviceInfo")]
public virtual DeviceInfo EventDeviceInfo { get; set; }
Property Value
Type Description
DeviceInfo

EventName

Optional. The name of the event. Required for GA4 events.

Declaration
[JsonProperty("eventName")]
public virtual string EventName { get; set; }
Property Value
Type Description
string

EventSource

Optional. Signal for where the event happened (web, app, in-store, etc.).

Declaration
[JsonProperty("eventSource")]
public virtual string EventSource { get; set; }
Property Value
Type Description
string

EventTimestamp

object representation of EventTimestampRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EventTimestampDateTimeOffset instead.")]
public virtual object EventTimestamp { get; set; }
Property Value
Type Description
object

EventTimestampDateTimeOffset

DateTimeOffset representation of EventTimestampRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? EventTimestampDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

EventTimestampRaw

Required. The time the event occurred.

Declaration
[JsonProperty("eventTimestamp")]
public virtual string EventTimestampRaw { get; set; }
Property Value
Type Description
string

ExperimentalFields

Optional. A list of key/value pairs for experimental fields that may eventually be promoted to be part of the API.

Declaration
[JsonProperty("experimentalFields")]
public virtual IList<ExperimentalField> ExperimentalFields { get; set; }
Property Value
Type Description
IList<ExperimentalField>

LastUpdatedTimestamp

object representation of LastUpdatedTimestampRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use LastUpdatedTimestampDateTimeOffset instead.")]
public virtual object LastUpdatedTimestamp { get; set; }
Property Value
Type Description
object

LastUpdatedTimestampDateTimeOffset

DateTimeOffset representation of LastUpdatedTimestampRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? LastUpdatedTimestampDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

LastUpdatedTimestampRaw

Optional. The last time the event was updated.

Declaration
[JsonProperty("lastUpdatedTimestamp")]
public virtual string LastUpdatedTimestampRaw { get; set; }
Property Value
Type Description
string

TransactionId

Optional. The unique identifier for this event. Required for conversions using multiple data sources.

Declaration
[JsonProperty("transactionId")]
public virtual string TransactionId { get; set; }
Property Value
Type Description
string

UserData

Optional. Pieces of user provided data, representing the user the event is associated with.

Declaration
[JsonProperty("userData")]
public virtual UserData UserData { get; set; }
Property Value
Type Description
UserData

UserId

Optional. A unique identifier for a user, as defined by the advertiser.

Declaration
[JsonProperty("userId")]
public virtual string UserId { get; set; }
Property Value
Type Description
string

UserProperties

Optional. Advertiser-assessed information about the user at the time that the event happened.

Declaration
[JsonProperty("userProperties")]
public virtual UserProperties UserProperties { get; set; }
Property Value
Type Description
UserProperties

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX