Class: Google::Apis::DfareportingV3_4::CustomEventInsert
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_4::CustomEventInsert
- 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
-
#cm_dimensions ⇒ Google::Apis::DfareportingV3_4::CampaignManagerIds
Campaign Manager IDs related to the custom event.
-
#dv3_dimensions ⇒ Google::Apis::DfareportingV3_4::Dv3Ids
DV360 IDs related to the custom event.
-
#insert_event_type ⇒ String
The type of event to insert.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#match_id ⇒ String
The match ID field.
-
#mobile_device_id ⇒ String
The mobile device ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomEventInsert
constructor
A new instance of CustomEventInsert.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_dimensions ⇒ Google::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_dimensions ⇒ Google::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_type ⇒ String
The type of event to insert.
Corresponds to the JSON property insertEventType
4771 4772 4773 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4771 def insert_event_type @insert_event_type end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#customEventInsert".
Corresponds to the JSON property kind
4777 4778 4779 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4777 def kind @kind end |
#match_id ⇒ String
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
4785 4786 4787 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4785 def match_id @match_id end |
#mobile_device_id ⇒ String
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
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 |