Class: Google::Apis::Adexchangebuyer2V2beta1::BidMetricsRow

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BidMetricsRow

Returns a new instance of BidMetricsRow.



288
289
290
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 288

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

Instance Attribute Details

#bidsGoogle::Apis::Adexchangebuyer2V2beta1::MetricValue

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



244
245
246
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 244

def bids
  @bids
end

#bids_in_auctionGoogle::Apis::Adexchangebuyer2V2beta1::MetricValue

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



250
251
252
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 250

def bids_in_auction
  @bids_in_auction
end

#billed_impressionsGoogle::Apis::Adexchangebuyer2V2beta1::MetricValue

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



256
257
258
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 256

def billed_impressions
  @billed_impressions
end

#impressions_wonGoogle::Apis::Adexchangebuyer2V2beta1::MetricValue

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



262
263
264
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 262

def impressions_won
  @impressions_won
end

#measurable_impressionsGoogle::Apis::Adexchangebuyer2V2beta1::MetricValue

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



268
269
270
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 268

def measurable_impressions
  @measurable_impressions
end

#reached_queriesGoogle::Apis::Adexchangebuyer2V2beta1::MetricValue

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



274
275
276
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 274

def reached_queries
  @reached_queries
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



280
281
282
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 280

def row_dimensions
  @row_dimensions
end

#viewable_impressionsGoogle::Apis::Adexchangebuyer2V2beta1::MetricValue

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



286
287
288
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 286

def viewable_impressions
  @viewable_impressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



293
294
295
296
297
298
299
300
301
302
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 293

def update!(**args)
  @bids = args[:bids] if args.key?(:bids)
  @bids_in_auction = args[:bids_in_auction] if args.key?(:bids_in_auction)
  @billed_impressions = args[:billed_impressions] if args.key?(:billed_impressions)
  @impressions_won = args[:impressions_won] if args.key?(:impressions_won)
  @measurable_impressions = args[:measurable_impressions] if args.key?(:measurable_impressions)
  @reached_queries = args[:reached_queries] if args.key?(:reached_queries)
  @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
  @viewable_impressions = args[:viewable_impressions] if args.key?(:viewable_impressions)
end