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

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BidMetricsRow

Returns a new instance of BidMetricsRow.



294
295
296
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 294

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 (i.e. when sampled). Corresponds to the JSON property bids



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

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 (i.e. when sampled). Corresponds to the JSON property bidsInAuction



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

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 (i.e. when sampled). Corresponds to the JSON property billedImpressions



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

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 (i.e. when sampled). Corresponds to the JSON property impressionsWon



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

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 (i.e. when sampled). Corresponds to the JSON property measurableImpressions



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

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 (i.e. when sampled). Corresponds to the JSON property reachedQueries



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

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



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

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 (i.e. when sampled). Corresponds to the JSON property viewableImpressions



292
293
294
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 292

def viewable_impressions
  @viewable_impressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



299
300
301
302
303
304
305
306
307
308
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 299

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