Class: Google::Apis::Adexchangebuyer2V2beta1::ImpressionMetricsRow

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

Overview

The set of metrics that are measured in numbers of impressions, representing how many impressions with the specified dimension values were considered eligible at each stage of the bidding funnel.

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

Returns a new instance of ImpressionMetricsRow



2178
2179
2180
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2178

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

Instance Attribute Details

#available_impressionsGoogle::Apis::Adexchangebuyer2V2beta1::MetricValue

A metric value, with an expected value and a variance; represents a count that may be either exact or estimated (i.e. when sampled). Corresponds to the JSON property availableImpressions



2152
2153
2154
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2152

def available_impressions
  @available_impressions
end

#bid_requestsGoogle::Apis::Adexchangebuyer2V2beta1::MetricValue

A metric value, with an expected value and a variance; represents a count that may be either exact or estimated (i.e. when sampled). Corresponds to the JSON property bidRequests



2164
2165
2166
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2164

def bid_requests
  @bid_requests
end

#inventory_matchesGoogle::Apis::Adexchangebuyer2V2beta1::MetricValue

A metric value, with an expected value and a variance; represents a count that may be either exact or estimated (i.e. when sampled). Corresponds to the JSON property inventoryMatches



2158
2159
2160
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2158

def inventory_matches
  @inventory_matches
end

#responses_with_bidsGoogle::Apis::Adexchangebuyer2V2beta1::MetricValue

A metric value, with an expected value and a variance; represents a count that may be either exact or estimated (i.e. when sampled). Corresponds to the JSON property responsesWithBids



2170
2171
2172
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2170

def responses_with_bids
  @responses_with_bids
end

#row_dimensionsGoogle::Apis::Adexchangebuyer2V2beta1::RowDimensions

A response may include multiple rows, breaking down along various dimensions. Encapsulates the values of all dimensions for a given row. Corresponds to the JSON property rowDimensions



2146
2147
2148
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2146

def row_dimensions
  @row_dimensions
end

#successful_responsesGoogle::Apis::Adexchangebuyer2V2beta1::MetricValue

A metric value, with an expected value and a variance; represents a count that may be either exact or estimated (i.e. when sampled). Corresponds to the JSON property successfulResponses



2176
2177
2178
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2176

def successful_responses
  @successful_responses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2183
2184
2185
2186
2187
2188
2189
2190
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2183

def update!(**args)
  @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
  @available_impressions = args[:available_impressions] if args.key?(:available_impressions)
  @inventory_matches = args[:inventory_matches] if args.key?(:inventory_matches)
  @bid_requests = args[:bid_requests] if args.key?(:bid_requests)
  @responses_with_bids = args[:responses_with_bids] if args.key?(:responses_with_bids)
  @successful_responses = args[:successful_responses] if args.key?(:successful_responses)
end