Class: Google::Apis::DfareportingV4::Report::PathToConversionCriteria

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

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

Defined Under Namespace

Classes: ReportProperties

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PathToConversionCriteria

Returns a new instance of PathToConversionCriteria.



11135
11136
11137
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11135

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

Instance Attribute Details

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

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



11093
11094
11095
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11093

def activity_filters
  @activity_filters
end

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

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



11098
11099
11100
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11098

def conversion_dimensions
  @conversion_dimensions
end

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

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



11103
11104
11105
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11103

def custom_floodlight_variables
  @custom_floodlight_variables
end

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

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



11108
11109
11110
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11108

def custom_rich_media_events
  @custom_rich_media_events
end

#date_rangeGoogle::Apis::DfareportingV4::DateRange

Represents a date range. Corresponds to the JSON property dateRange



11113
11114
11115
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11113

def date_range
  @date_range
end

#floodlight_config_idGoogle::Apis::DfareportingV4::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property floodlightConfigId



11118
11119
11120
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11118

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


11123
11124
11125
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11123

def metric_names
  @metric_names
end

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

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



11128
11129
11130
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11128

def per_interaction_dimensions
  @per_interaction_dimensions
end

#report_propertiesGoogle::Apis::DfareportingV4::Report::PathToConversionCriteria::ReportProperties

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



11133
11134
11135
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11133

def report_properties
  @report_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11140

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