Class Event (0.1.0)

  public 
  
 final 
  
 class 
 Event 
  
 extends 
  
 GeneratedMessageV3 
  
 implements 
  
 EventOrBuilder 
 

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

Protobuf type google.ads.datamanager.v1.Event

Implements

EventOrBuilder

Static Fields

ADDITIONAL_EVENT_PARAMETERS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 ADDITIONAL_EVENT_PARAMETERS_FIELD_NUMBER 
 
Field Value
Type
Description
int

AD_IDENTIFIERS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 AD_IDENTIFIERS_FIELD_NUMBER 
 
Field Value
Type
Description
int

CART_DATA_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CART_DATA_FIELD_NUMBER 
 
Field Value
Type
Description
int

CLIENT_ID_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CLIENT_ID_FIELD_NUMBER 
 
Field Value
Type
Description
int
  public 
  
 static 
  
 final 
  
 int 
  
 CONSENT_FIELD_NUMBER 
 
Field Value
Type
Description
int

CONVERSION_VALUE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CONVERSION_VALUE_FIELD_NUMBER 
 
Field Value
Type
Description
int

CURRENCY_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CURRENCY_FIELD_NUMBER 
 
Field Value
Type
Description
int

CUSTOM_VARIABLES_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CUSTOM_VARIABLES_FIELD_NUMBER 
 
Field Value
Type
Description
int

DESTINATION_REFERENCES_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 DESTINATION_REFERENCES_FIELD_NUMBER 
 
Field Value
Type
Description
int

EVENT_DEVICE_INFO_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 EVENT_DEVICE_INFO_FIELD_NUMBER 
 
Field Value
Type
Description
int

EVENT_NAME_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 EVENT_NAME_FIELD_NUMBER 
 
Field Value
Type
Description
int

EVENT_SOURCE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 EVENT_SOURCE_FIELD_NUMBER 
 
Field Value
Type
Description
int

EVENT_TIMESTAMP_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 EVENT_TIMESTAMP_FIELD_NUMBER 
 
Field Value
Type
Description
int

EXPERIMENTAL_FIELDS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 EXPERIMENTAL_FIELDS_FIELD_NUMBER 
 
Field Value
Type
Description
int

LAST_UPDATED_TIMESTAMP_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 LAST_UPDATED_TIMESTAMP_FIELD_NUMBER 
 
Field Value
Type
Description
int

TRANSACTION_ID_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 TRANSACTION_ID_FIELD_NUMBER 
 
Field Value
Type
Description
int

USER_DATA_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 USER_DATA_FIELD_NUMBER 
 
Field Value
Type
Description
int

USER_ID_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 USER_ID_FIELD_NUMBER 
 
Field Value
Type
Description
int

USER_PROPERTIES_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 USER_PROPERTIES_FIELD_NUMBER 
 
Field Value
Type
Description
int

Static Methods

getDefaultInstance()

  public 
  
 static 
  
 Event 
  
 getDefaultInstance 
 () 
 
Returns
Type
Description

getDescriptor()

  public 
  
 static 
  
 final 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptor 
 () 
 
Returns
Type
Description

newBuilder()

  public 
  
 static 
  
 Event 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

newBuilder(Event prototype)

  public 
  
 static 
  
 Event 
 . 
 Builder 
  
 newBuilder 
 ( 
 Event 
  
 prototype 
 ) 
 
Parameter
Name
Description
prototype
Returns
Type
Description

parseDelimitedFrom(InputStream input)

  public 
  
 static 
  
 Event 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Event 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(byte[] data)

  public 
  
 static 
  
 Event 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 ) 
 
Parameter
Name
Description
data
byte []
Returns
Type
Description
Exceptions
Type
Description

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Event 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
byte []
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteString data)

  public 
  
 static 
  
 Event 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Event 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(CodedInputStream input)

  public 
  
 static 
  
 Event 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Exceptions
Type
Description

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Event 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(InputStream input)

  public 
  
 static 
  
 Event 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Event 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteBuffer data)

  public 
  
 static 
  
 Event 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Event 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parser()

  public 
  
 static 
  
 Parser<Event> 
  
 parser 
 () 
 
Returns
Type
Description

Methods

equals(Object obj)

  public 
  
 boolean 
  
 equals 
 ( 
 Object 
  
 obj 
 ) 
 
Parameter
Name
Description
obj
Returns
Type
Description
Overrides

getAdIdentifiers()

  public 
  
 AdIdentifiers 
  
 getAdIdentifiers 
 () 
 

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

.google.ads.datamanager.v1.AdIdentifiers ad_identifiers = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The adIdentifiers.

getAdIdentifiersOrBuilder()

  public 
  
 AdIdentifiersOrBuilder 
  
 getAdIdentifiersOrBuilder 
 () 
 

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

.google.ads.datamanager.v1.AdIdentifiers ad_identifiers = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

getAdditionalEventParameters(int index)

  public 
  
 EventParameter 
  
 getAdditionalEventParameters 
 ( 
 int 
  
 index 
 ) 
 

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

repeated .google.ads.datamanager.v1.EventParameter additional_event_parameters = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
index
int
Returns
Type
Description

getAdditionalEventParametersCount()

  public 
  
 int 
  
 getAdditionalEventParametersCount 
 () 
 

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

repeated .google.ads.datamanager.v1.EventParameter additional_event_parameters = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
int

getAdditionalEventParametersList()

  public 
  
 List<EventParameter> 
  
 getAdditionalEventParametersList 
 () 
 

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

repeated .google.ads.datamanager.v1.EventParameter additional_event_parameters = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

getAdditionalEventParametersOrBuilder(int index)

  public 
  
 EventParameterOrBuilder 
  
 getAdditionalEventParametersOrBuilder 
 ( 
 int 
  
 index 
 ) 
 

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

repeated .google.ads.datamanager.v1.EventParameter additional_event_parameters = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
index
int
Returns
Type
Description

getAdditionalEventParametersOrBuilderList()

  public 
  
 List 
< ? 
  
 extends 
  
 EventParameterOrBuilder 
>  
 getAdditionalEventParametersOrBuilderList 
 () 
 

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

repeated .google.ads.datamanager.v1.EventParameter additional_event_parameters = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
List < ? extends com.google.ads.datamanager.v1.EventParameterOrBuilder >

getCartData()

  public 
  
 CartData 
  
 getCartData 
 () 
 

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

.google.ads.datamanager.v1.CartData cart_data = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The cartData.

getCartDataOrBuilder()

  public 
  
 CartDataOrBuilder 
  
 getCartDataOrBuilder 
 () 
 

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

.google.ads.datamanager.v1.CartData cart_data = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

getClientId()

  public 
  
 String 
  
 getClientId 
 () 
 

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

string client_id = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The clientId.

getClientIdBytes()

  public 
  
 ByteString 
  
 getClientIdBytes 
 () 
 

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

string client_id = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The bytes for clientId.

getConsent()

  public 
  
 Consent 
  
 getConsent 
 () 
 

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

.google.ads.datamanager.v1.Consent consent = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The consent.

getConsentOrBuilder()

  public 
  
 ConsentOrBuilder 
  
 getConsentOrBuilder 
 () 
 

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

.google.ads.datamanager.v1.Consent consent = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

getConversionValue()

  public 
  
 double 
  
 getConversionValue 
 () 
 

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

double conversion_value = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The conversionValue.

getCurrency()

  public 
  
 String 
  
 getCurrency 
 () 
 

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

string currency = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The currency.

getCurrencyBytes()

  public 
  
 ByteString 
  
 getCurrencyBytes 
 () 
 

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

string currency = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The bytes for currency.

getCustomVariables(int index)

  public 
  
 CustomVariable 
  
 getCustomVariables 
 ( 
 int 
  
 index 
 ) 
 

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

repeated .google.ads.datamanager.v1.CustomVariable custom_variables = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
index
int
Returns
Type
Description

getCustomVariablesCount()

  public 
  
 int 
  
 getCustomVariablesCount 
 () 
 

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

repeated .google.ads.datamanager.v1.CustomVariable custom_variables = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
int

getCustomVariablesList()

  public 
  
 List<CustomVariable> 
  
 getCustomVariablesList 
 () 
 

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

repeated .google.ads.datamanager.v1.CustomVariable custom_variables = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

getCustomVariablesOrBuilder(int index)

  public 
  
 CustomVariableOrBuilder 
  
 getCustomVariablesOrBuilder 
 ( 
 int 
  
 index 
 ) 
 

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

repeated .google.ads.datamanager.v1.CustomVariable custom_variables = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
index
int
Returns
Type
Description

getCustomVariablesOrBuilderList()

  public 
  
 List 
< ? 
  
 extends 
  
 CustomVariableOrBuilder 
>  
 getCustomVariablesOrBuilderList 
 () 
 

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

repeated .google.ads.datamanager.v1.CustomVariable custom_variables = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
List < ? extends com.google.ads.datamanager.v1.CustomVariableOrBuilder >

getDefaultInstanceForType()

  public 
  
 Event 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getDestinationReferences(int index)

  public 
  
 String 
  
 getDestinationReferences 
 ( 
 int 
  
 index 
 ) 
 

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

repeated string destination_references = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
index
int

The index of the element to return.

Returns
Type
Description

The destinationReferences at the given index.

getDestinationReferencesBytes(int index)

  public 
  
 ByteString 
  
 getDestinationReferencesBytes 
 ( 
 int 
  
 index 
 ) 
 

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

repeated string destination_references = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
index
int

The index of the value to return.

Returns
Type
Description

The bytes of the destinationReferences at the given index.

getDestinationReferencesCount()

  public 
  
 int 
  
 getDestinationReferencesCount 
 () 
 

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

repeated string destination_references = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
int

The count of destinationReferences.

getDestinationReferencesList()

  public 
  
 ProtocolStringList 
  
 getDestinationReferencesList 
 () 
 

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

repeated string destination_references = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

A list containing the destinationReferences.

getEventDeviceInfo()

  public 
  
 DeviceInfo 
  
 getEventDeviceInfo 
 () 
 

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

.google.ads.datamanager.v1.DeviceInfo event_device_info = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The eventDeviceInfo.

getEventDeviceInfoOrBuilder()

  public 
  
 DeviceInfoOrBuilder 
  
 getEventDeviceInfoOrBuilder 
 () 
 

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

.google.ads.datamanager.v1.DeviceInfo event_device_info = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

getEventName()

  public 
  
 String 
  
 getEventName 
 () 
 

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

string event_name = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The eventName.

getEventNameBytes()

  public 
  
 ByteString 
  
 getEventNameBytes 
 () 
 

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

string event_name = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The bytes for eventName.

getEventSource()

  public 
  
 EventSource 
  
 getEventSource 
 () 
 

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

.google.ads.datamanager.v1.EventSource event_source = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The eventSource.

getEventSourceValue()

  public 
  
 int 
  
 getEventSourceValue 
 () 
 

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

.google.ads.datamanager.v1.EventSource event_source = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
int

The enum numeric value on the wire for eventSource.

getEventTimestamp()

  public 
  
 Timestamp 
  
 getEventTimestamp 
 () 
 

Required. The time the event occurred.

.google.protobuf.Timestamp event_timestamp = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type
Description

The eventTimestamp.

getEventTimestampOrBuilder()

  public 
  
 TimestampOrBuilder 
  
 getEventTimestampOrBuilder 
 () 
 

Required. The time the event occurred.

.google.protobuf.Timestamp event_timestamp = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type
Description

getExperimentalFields(int index)

  public 
  
 ExperimentalField 
  
 getExperimentalFields 
 ( 
 int 
  
 index 
 ) 
 

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

repeated .google.ads.datamanager.v1.ExperimentalField experimental_fields = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
index
int
Returns
Type
Description

getExperimentalFieldsCount()

  public 
  
 int 
  
 getExperimentalFieldsCount 
 () 
 

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

repeated .google.ads.datamanager.v1.ExperimentalField experimental_fields = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
int

getExperimentalFieldsList()

  public 
  
 List<ExperimentalField> 
  
 getExperimentalFieldsList 
 () 
 

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

repeated .google.ads.datamanager.v1.ExperimentalField experimental_fields = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

getExperimentalFieldsOrBuilder(int index)

  public 
  
 ExperimentalFieldOrBuilder 
  
 getExperimentalFieldsOrBuilder 
 ( 
 int 
  
 index 
 ) 
 

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

repeated .google.ads.datamanager.v1.ExperimentalField experimental_fields = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
index
int
Returns
Type
Description

getExperimentalFieldsOrBuilderList()

  public 
  
 List 
< ? 
  
 extends 
  
 ExperimentalFieldOrBuilder 
>  
 getExperimentalFieldsOrBuilderList 
 () 
 

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

repeated .google.ads.datamanager.v1.ExperimentalField experimental_fields = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
List < ? extends com.google.ads.datamanager.v1.ExperimentalFieldOrBuilder >

getLastUpdatedTimestamp()

  public 
  
 Timestamp 
  
 getLastUpdatedTimestamp 
 () 
 

Optional. The last time the event was updated.

.google.protobuf.Timestamp last_updated_timestamp = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The lastUpdatedTimestamp.

getLastUpdatedTimestampOrBuilder()

  public 
  
 TimestampOrBuilder 
  
 getLastUpdatedTimestampOrBuilder 
 () 
 

Optional. The last time the event was updated.

.google.protobuf.Timestamp last_updated_timestamp = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

getParserForType()

  public 
  
 Parser<Event> 
  
 getParserForType 
 () 
 
Returns
Type
Description
Overrides

getSerializedSize()

  public 
  
 int 
  
 getSerializedSize 
 () 
 
Returns
Type
Description
int
Overrides

getTransactionId()

  public 
  
 String 
  
 getTransactionId 
 () 
 

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

string transaction_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The transactionId.

getTransactionIdBytes()

  public 
  
 ByteString 
  
 getTransactionIdBytes 
 () 
 

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

string transaction_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The bytes for transactionId.

getUserData()

  public 
  
 UserData 
  
 getUserData 
 () 
 

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

.google.ads.datamanager.v1.UserData user_data = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The userData.

getUserDataOrBuilder()

  public 
  
 UserDataOrBuilder 
  
 getUserDataOrBuilder 
 () 
 

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

.google.ads.datamanager.v1.UserData user_data = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

getUserId()

  public 
  
 String 
  
 getUserId 
 () 
 

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

string user_id = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The userId.

getUserIdBytes()

  public 
  
 ByteString 
  
 getUserIdBytes 
 () 
 

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

string user_id = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The bytes for userId.

getUserProperties()

  public 
  
 UserProperties 
  
 getUserProperties 
 () 
 

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

.google.ads.datamanager.v1.UserProperties user_properties = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

The userProperties.

getUserPropertiesOrBuilder()

  public 
  
 UserPropertiesOrBuilder 
  
 getUserPropertiesOrBuilder 
 () 
 

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

.google.ads.datamanager.v1.UserProperties user_properties = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

hasAdIdentifiers()

  public 
  
 boolean 
  
 hasAdIdentifiers 
 () 
 

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

.google.ads.datamanager.v1.AdIdentifiers ad_identifiers = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

Whether the adIdentifiers field is set.

hasCartData()

  public 
  
 boolean 
  
 hasCartData 
 () 
 

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

.google.ads.datamanager.v1.CartData cart_data = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

Whether the cartData field is set.

hasConsent()

  public 
  
 boolean 
  
 hasConsent 
 () 
 

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

.google.ads.datamanager.v1.Consent consent = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

Whether the consent field is set.

hasEventDeviceInfo()

  public 
  
 boolean 
  
 hasEventDeviceInfo 
 () 
 

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

.google.ads.datamanager.v1.DeviceInfo event_device_info = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

Whether the eventDeviceInfo field is set.

hasEventTimestamp()

  public 
  
 boolean 
  
 hasEventTimestamp 
 () 
 

Required. The time the event occurred.

.google.protobuf.Timestamp event_timestamp = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type
Description

Whether the eventTimestamp field is set.

hasLastUpdatedTimestamp()

  public 
  
 boolean 
  
 hasLastUpdatedTimestamp 
 () 
 

Optional. The last time the event was updated.

.google.protobuf.Timestamp last_updated_timestamp = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

Whether the lastUpdatedTimestamp field is set.

hasUserData()

  public 
  
 boolean 
  
 hasUserData 
 () 
 

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

.google.ads.datamanager.v1.UserData user_data = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

Whether the userData field is set.

hasUserProperties()

  public 
  
 boolean 
  
 hasUserProperties 
 () 
 

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

.google.ads.datamanager.v1.UserProperties user_properties = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description

Whether the userProperties field is set.

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type
Description
int
Overrides

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

newBuilderForType()

  public 
  
 Event 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

  protected 
  
 Event 
 . 
 Builder 
  
 newBuilderForType 
 ( 
 GeneratedMessageV3 
 . 
 BuilderParent 
  
 parent 
 ) 
 
Parameter
Name
Description
parent
Returns
Type
Description
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

  protected 
  
 Object 
  
 newInstance 
 ( 
 GeneratedMessageV3 
 . 
 UnusedPrivateParameter 
  
 unused 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Overrides

toBuilder()

  public 
  
 Event 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description

writeTo(CodedOutputStream output)

  public 
  
 void 
  
 writeTo 
 ( 
 CodedOutputStream 
  
 output 
 ) 
 
Parameter
Name
Description
Overrides
Exceptions
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: