Class: Google::Apis::DfareportingV2_3::Report::PathToConversionCriteria

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

Overview

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

Defined Under Namespace

Classes: ReportProperties

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PathToConversionCriteria

Returns a new instance of PathToConversionCriteria.


9256
9257
9258
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9256

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

Instance Attribute Details

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

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


9214
9215
9216
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9214

def activity_filters
  @activity_filters
end

#conversion_dimensionsArray<Google::Apis::DfareportingV2_3::SortedDimension>

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


9219
9220
9221
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9219

def conversion_dimensions
  @conversion_dimensions
end

#custom_floodlight_variablesArray<Google::Apis::DfareportingV2_3::SortedDimension>

The list of custom floodlight variables the report should include. Corresponds to the JSON property customFloodlightVariables


9224
9225
9226
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9224

def custom_floodlight_variables
  @custom_floodlight_variables
end

#custom_rich_media_eventsArray<Google::Apis::DfareportingV2_3::DimensionValue>

The list of custom rich media events to include. Corresponds to the JSON property customRichMediaEvents


9229
9230
9231
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9229

def custom_rich_media_events
  @custom_rich_media_events
end

#date_rangeGoogle::Apis::DfareportingV2_3::DateRange

Represents a date range. Corresponds to the JSON property dateRange


9234
9235
9236
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9234

def date_range
  @date_range
end

#floodlight_config_idGoogle::Apis::DfareportingV2_3::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property floodlightConfigId


9239
9240
9241
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9239

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>)

9244
9245
9246
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9244

def metric_names
  @metric_names
end

#per_interaction_dimensionsArray<Google::Apis::DfareportingV2_3::SortedDimension>

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


9249
9250
9251
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9249

def per_interaction_dimensions
  @per_interaction_dimensions
end

#report_propertiesGoogle::Apis::DfareportingV2_3::Report::PathToConversionCriteria::ReportProperties

The properties of the report. Corresponds to the JSON property reportProperties


9254
9255
9256
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9254

def report_properties
  @report_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9261

def update!(**args)
  @activity_filters = args[:activity_filters] if args.key?(:activity_filters)
  @conversion_dimensions = args[:conversion_dimensions] if args.key?(:conversion_dimensions)
  @custom_floodlight_variables = args[:custom_floodlight_variables] if args.key?(:custom_floodlight_variables)
  @custom_rich_media_events = args[:custom_rich_media_events] if args.key?(:custom_rich_media_events)
  @date_range = args[:date_range] if args.key?(:date_range)
  @floodlight_config_id = args[:floodlight_config_id] if args.key?(:floodlight_config_id)
  @metric_names = args[:metric_names] if args.key?(:metric_names)
  @per_interaction_dimensions = args[:per_interaction_dimensions] if args.key?(:per_interaction_dimensions)
  @report_properties = args[:report_properties] if args.key?(:report_properties)
end