class Google::Apis::DfareportingV3_4::CustomEvent
Experimental feature (no support provided) A custom event represents a third party impression, a third party click, an annotation on a first party impression, or an annotation on a first party click.
Attributes
Annotate a click event. Corresponds to the JSON property `annotateClickEvent` @return [Google::Apis::DfareportingV3_4::CustomEventClickAnnotation]
Annotate an impression. Corresponds to the JSON property `annotateImpressionEvent` @return [Google::Apis::DfareportingV3_4::CustomEventImpressionAnnotation]
Custom variables associated with the event. Corresponds to the JSON property `customVariables` @return [Array<Google::Apis::DfareportingV3_4::CustomVariable>]
The type of event. If INSERT, the fields in insertEvent need to be populated. If ANNOTATE, the fields in either annotateClickEvent or annotateImpressionEvent need to be populated. Corresponds to the JSON property `eventType` @return [String]
Floodlight configuration ID of the advertiser the event is linked to. This is a required field. Corresponds to the JSON property `floodlightConfigurationId` @return [Fixnum]
Custom event to be inserted. Corresponds to the JSON property `insertEvent` @return [Google::Apis::DfareportingV3_4::CustomEventInsert]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#customEvent”. Corresponds to the JSON property `kind` @return [String]
The ordinal of this custom event. This is a required field. Corresponds to the JSON property `ordinal` @return [String]
The timestamp of this custom event, in Unix epoch micros. This is a required field. Corresponds to the JSON property `timestampMicros` @return [Fixnum]
Public Class Methods
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 4697 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 4702 def update!(**args) @annotate_click_event = args[:annotate_click_event] if args.key?(:annotate_click_event) @annotate_impression_event = args[:annotate_impression_event] if args.key?(:annotate_impression_event) @custom_variables = args[:custom_variables] if args.key?(:custom_variables) @event_type = args[:event_type] if args.key?(:event_type) @floodlight_configuration_id = args[:floodlight_configuration_id] if args.key?(:floodlight_configuration_id) @insert_event = args[:insert_event] if args.key?(:insert_event) @kind = args[:kind] if args.key?(:kind) @ordinal = args[:ordinal] if args.key?(:ordinal) @timestamp_micros = args[:timestamp_micros] if args.key?(:timestamp_micros) end