Class: Google::Apis::DfareportingV3_4::CustomEventInsert

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/representations.rb

Overview

Custom event to be inserted.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CustomEventInsert

Returns a new instance of CustomEventInsert.



4861
4862
4863
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4861

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cm_dimensionsGoogle::Apis::DfareportingV3_4::CampaignManagerIds

Campaign Manager IDs related to the custom event. Corresponds to the JSON property cmDimensions



4829
4830
4831
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4829

def cm_dimensions
  @cm_dimensions
end

#dv3_dimensionsGoogle::Apis::DfareportingV3_4::Dv3Ids

DV360 IDs related to the custom event. Corresponds to the JSON property dv3Dimensions



4834
4835
4836
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4834

def dv3_dimensions
  @dv3_dimensions
end

#insert_event_typeString

The type of event to insert. Corresponds to the JSON property insertEventType

Returns:

  • (String)


4839
4840
4841
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4839

def insert_event_type
  @insert_event_type
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#customEventInsert". Corresponds to the JSON property kind

Returns:

  • (String)


4845
4846
4847
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4845

def kind
  @kind
end

#match_idString

The match ID field. A match ID is your own first-party identifier that has been synced with Google using the match ID feature in Floodlight. This field is mutually exclusive with mobileDeviceId, and at least one of the two fields is required. Corresponds to the JSON property matchId

Returns:

  • (String)


4853
4854
4855
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4853

def match_id
  @match_id
end

#mobile_device_idString

The mobile device ID. This field is mutually exclusive with matchId, and at least one of the two fields is required. Corresponds to the JSON property mobileDeviceId

Returns:

  • (String)


4859
4860
4861
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4859

def mobile_device_id
  @mobile_device_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4866
4867
4868
4869
4870
4871
4872
4873
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4866

def update!(**args)
  @cm_dimensions = args[:cm_dimensions] if args.key?(:cm_dimensions)
  @dv3_dimensions = args[:dv3_dimensions] if args.key?(:dv3_dimensions)
  @insert_event_type = args[:insert_event_type] if args.key?(:insert_event_type)
  @kind = args[:kind] if args.key?(:kind)
  @match_id = args[:match_id] if args.key?(:match_id)
  @mobile_device_id = args[:mobile_device_id] if args.key?(:mobile_device_id)
end