class Google::Apis::DfareportingV2_1::Report::Criteria

The report criteria for a report of type “STANDARD”.

Attributes

activities[RW]

Represents an activity group. Corresponds to the JSON property `activities` @return [Google::Apis::DfareportingV2_1::Activities]

custom_rich_media_events[RW]

Represents a Custom Rich Media Events group. Corresponds to the JSON property `customRichMediaEvents` @return [Google::Apis::DfareportingV2_1::CustomRichMediaEvents]

date_range[RW]

Represents a date range. Corresponds to the JSON property `dateRange` @return [Google::Apis::DfareportingV2_1::DateRange]

dimension_filters[RW]

The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed. Corresponds to the JSON property `dimensionFilters` @return [Array<Google::Apis::DfareportingV2_1::DimensionValue>]

dimensions[RW]

The list of standard dimensions the report should include. Corresponds to the JSON property `dimensions` @return [Array<Google::Apis::DfareportingV2_1::SortedDimension>]

metric_names[RW]

The list of names of metrics the report should include. Corresponds to the JSON property `metricNames` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 8973
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_1/classes.rb, line 8978
def update!(**args)
  @activities = args[:activities] unless args[:activities].nil?
  @custom_rich_media_events = args[:custom_rich_media_events] unless args[:custom_rich_media_events].nil?
  @date_range = args[:date_range] unless args[:date_range].nil?
  @dimension_filters = args[:dimension_filters] unless args[:dimension_filters].nil?
  @dimensions = args[:dimensions] unless args[:dimensions].nil?
  @metric_names = args[:metric_names] unless args[:metric_names].nil?
end