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.


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

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


4808
4809
4810
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4808

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


4813
4814
4815
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4813

def dv3_dimensions
  @dv3_dimensions
end

#insert_event_typeString

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

Returns:

  • (String)

4818
4819
4820
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4818

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)

4824
4825
4826
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4824

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)

4832
4833
4834
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4832

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)

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

def mobile_device_id
  @mobile_device_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4845
4846
4847
4848
4849
4850
4851
4852
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4845

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