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

Constructor Details

#initialize(**args) ⇒ ImpressionMetricsRow

Returns a new instance of ImpressionMetricsRow.



1969
1970
1971
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1969

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



1937
1938
1939
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1937

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



1943
1944
1945
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1943

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



1949
1950
1951
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1949

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



1955
1956
1957
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1955

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



1961
1962
1963
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1961

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



1967
1968
1969
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1967

def successful_responses
  @successful_responses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1974
1975
1976
1977
1978
1979
1980
1981
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1974

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