Class: Google::Apis::DoubleclickbidmanagerV2::PathFilter

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

Overview

Path filters specify which paths to include in a report. A path is the result of combining DV360 events based on User ID to create a workflow of users' actions. When a path filter is set, the resulting report will only include paths that match the specified event at the specified position. All other paths will be excluded.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PathFilter

Returns a new instance of PathFilter.



352
353
354
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 352

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

Instance Attribute Details

#event_filtersArray<Google::Apis::DoubleclickbidmanagerV2::EventFilter>

Filter on an event to be applied to some part of the path. Corresponds to the JSON property eventFilters



344
345
346
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 344

def event_filters
  @event_filters
end

#path_match_positionString

Indicates the position of the path the filter should match to (first, last, or any event in path). Corresponds to the JSON property pathMatchPosition

Returns:

  • (String)


350
351
352
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 350

def path_match_position
  @path_match_position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



357
358
359
360
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 357

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