Class: Google::Apis::DoubleclickbidmanagerV1_1::PathFilter

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/doubleclickbidmanager_v1_1/classes.rb,
generated/google/apis/doubleclickbidmanager_v1_1/representations.rb,
generated/google/apis/doubleclickbidmanager_v1_1/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.



436
437
438
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 436

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

Instance Attribute Details

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

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



428
429
430
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 428

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)


434
435
436
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 434

def path_match_position
  @path_match_position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



441
442
443
444
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 441

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