Class Event
An event representing a user interaction with an advertiser's website or app.
Namespace: Google.Ads.DataManager.V1
Assembly: Google.Ads.DataManager.V1.dll
Syntax
public sealed class Event : IMessage<Event>, IEquatable<Event>, IDeepCloneable<Event>, IBufferMessage, IMessage
Constructors
Event()
Declaration
public Event()
Event(Event)
Declaration
public Event(Event other)
Parameters
| Type | Name | Description |
|---|---|---|
| Event | other |
Properties
AdIdentifiers
Optional. Identifiers and other information used to match the conversion event with other online activity (such as ad clicks).
Declaration
public AdIdentifiers AdIdentifiers { get; set; }
Property Value
| Type | Description |
|---|---|
| AdIdentifiers |
CartData
Optional. Information about the transaction and items associated with the event.
Declaration
public CartData CartData { get; set; }
Property Value
| Type | Description |
|---|---|
| CartData |
Consent
Optional. Information about whether the associated user has provided different types of consent.
Declaration
public Consent Consent { get; set; }
Property Value
| Type | Description |
|---|---|
| Consent |
ConversionValue
Optional. The conversion value associated with the event, for value-based conversions.
Declaration
public double ConversionValue { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Currency
Optional. The currency code associated with all monetary values within this event.
Declaration
public 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
public RepeatedField<CustomVariable> CustomVariables { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<CustomVariable> |
DestinationReferences
Optional. Reference string used to determine the destination. If empty, the event will be sent to all [destinations][google.ads.datamanager.v1.IngestEventsRequest.destinations] in the request.
Declaration
public RepeatedField<string> DestinationReferences { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
EventDeviceInfo
Optional. Information gathered about the device being used (if any) when the event happened.
Declaration
public DeviceInfo EventDeviceInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| DeviceInfo |
EventSource
Optional. Signal for where the event happened (web, app, in-store, etc.).
Declaration
public EventSource EventSource { get; set; }
Property Value
| Type | Description |
|---|---|
| EventSource |
EventTimestamp
Required. The time the event occurred.
Declaration
public Timestamp EventTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
ExperimentalFields
Optional. A list of key/value pairs for experimental fields that may eventually be promoted to be part of the API.
Declaration
public RepeatedField<ExperimentalField> ExperimentalFields { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<ExperimentalField> |
LastUpdatedTimestamp
Optional. The last time the event was updated.
Declaration
public Timestamp LastUpdatedTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
TransactionId
Optional. The unique identifier for this event. Required for conversions using multiple data sources.
Declaration
public 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
public UserData UserData { get; set; }
Property Value
| Type | Description |
|---|---|
| UserData |
UserProperties
Optional. Advertiser-assessed information about the user at the time that the event happened.
Declaration
public UserProperties UserProperties { get; set; }
Property Value
| Type | Description |
|---|---|
| UserProperties |