Class: Google::Apis::DfareportingV4::CustomRichMediaEvents

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

Overview

Represents a Custom Rich Media Events group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomRichMediaEvents

Returns a new instance of CustomRichMediaEvents.



5106
5107
5108
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5106

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

Instance Attribute Details

#filtered_event_idsArray<Google::Apis::DfareportingV4::DimensionValue>

List of custom rich media event IDs. Dimension values must be all of type dfa: richMediaEventTypeIdAndName. Corresponds to the JSON property filteredEventIds



5099
5100
5101
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5099

def filtered_event_ids
  @filtered_event_ids
end

#kindString

The kind of resource this is, in this case dfareporting#customRichMediaEvents. Corresponds to the JSON property kind

Returns:

  • (String)


5104
5105
5106
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5104

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5111
5112
5113
5114
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5111

def update!(**args)
  @filtered_event_ids = args[:filtered_event_ids] if args.key?(:filtered_event_ids)
  @kind = args[:kind] if args.key?(:kind)
end