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



1653
1654
1655
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1653

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)


1645
1646
1647
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1645

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



1651
1652
1653
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1651

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



1638
1639
1640
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1638

def row_dimensions
  @row_dimensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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