Class: Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow

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 number of impressions with the specified dimension values where the corresponding bid request or bid response was not successful, as described by the specified callout status.

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) ⇒ CalloutStatusRow

Returns a new instance of CalloutStatusRow



1658
1659
1660
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1658

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

Instance Attribute Details

#callout_status_idFixnum

The ID of the callout status. See callout-status-codes. Corresponds to the JSON property calloutStatusId

Returns:

  • (Fixnum)


1656
1657
1658
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1656

def callout_status_id
  @callout_status_id
end

#impression_countGoogle::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 impressionCount



1643
1644
1645
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1643

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



1649
1650
1651
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1649

def row_dimensions
  @row_dimensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1663
1664
1665
1666
1667
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1663

def update!(**args)
  @impression_count = args[:impression_count] if args.key?(:impression_count)
  @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
  @callout_status_id = args[:callout_status_id] if args.key?(:callout_status_id)
end