Class: Google::Apis::DfareportingV3_5::Report::PathAttributionCriteria

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

Overview

The report criteria for a report of type "PATH_ATTRIBUTION".

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PathAttributionCriteria

Returns a new instance of PathAttributionCriteria.



10470
10471
10472
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10470

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

Instance Attribute Details

#activity_filtersArray<Google::Apis::DfareportingV3_5::DimensionValue>

The list of 'dfa:activity' values to filter on. Corresponds to the JSON property activityFilters



10438
10439
10440
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10438

def activity_filters
  @activity_filters
end

#custom_channel_groupingGoogle::Apis::DfareportingV3_5::ChannelGrouping

Represents a DfaReporting channel grouping. Corresponds to the JSON property customChannelGrouping



10443
10444
10445
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10443

def custom_channel_grouping
  @custom_channel_grouping
end

#date_rangeGoogle::Apis::DfareportingV3_5::DateRange

Represents a date range. Corresponds to the JSON property dateRange



10448
10449
10450
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10448

def date_range
  @date_range
end

#dimensionsArray<Google::Apis::DfareportingV3_5::SortedDimension>

The list of dimensions the report should include. Corresponds to the JSON property dimensions



10453
10454
10455
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10453

def dimensions
  @dimensions
end

#floodlight_config_idGoogle::Apis::DfareportingV3_5::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property floodlightConfigId



10458
10459
10460
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10458

def floodlight_config_id
  @floodlight_config_id
end

#metric_namesArray<String>

The list of names of metrics the report should include. Corresponds to the JSON property metricNames

Returns:

  • (Array<String>)


10463
10464
10465
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10463

def metric_names
  @metric_names
end

#path_filtersArray<Google::Apis::DfareportingV3_5::PathFilter>

Path Filters. Corresponds to the JSON property pathFilters



10468
10469
10470
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10468

def path_filters
  @path_filters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10475
10476
10477
10478
10479
10480
10481
10482
10483
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10475

def update!(**args)
  @activity_filters = args[:activity_filters] if args.key?(:activity_filters)
  @custom_channel_grouping = args[:custom_channel_grouping] if args.key?(:custom_channel_grouping)
  @date_range = args[:date_range] if args.key?(:date_range)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @floodlight_config_id = args[:floodlight_config_id] if args.key?(:floodlight_config_id)
  @metric_names = args[:metric_names] if args.key?(:metric_names)
  @path_filters = args[:path_filters] if args.key?(:path_filters)
end