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.



4793
4794
4795
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4793

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



4761
4762
4763
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4761

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



4766
4767
4768
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4766

def dv3_dimensions
  @dv3_dimensions
end

#insert_event_typeString

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

Returns:

  • (String)


4771
4772
4773
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4771

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)


4777
4778
4779
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4777

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)


4785
4786
4787
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4785

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)


4791
4792
4793
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4791

def mobile_device_id
  @mobile_device_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4798
4799
4800
4801
4802
4803
4804
4805
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4798

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