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



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

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



206
207
208
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 206

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



212
213
214
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 212

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



218
219
220
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 218

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



224
225
226
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 224

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



230
231
232
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 230

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



236
237
238
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 236

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



242
243
244
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 242

def viewable_impressions
  @viewable_impressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



249
250
251
252
253
254
255
256
257
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 249

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)
  @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
  @viewable_impressions = args[:viewable_impressions] if args.key?(:viewable_impressions)
end