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



171
172
173
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 171

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



133
134
135
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 133

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



139
140
141
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 139

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



145
146
147
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 145

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



151
152
153
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 151

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



157
158
159
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 157

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



163
164
165
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 163

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



169
170
171
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 169

def viewable_impressions
  @viewable_impressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



176
177
178
179
180
181
182
183
184
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 176

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