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



247
248
249
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 247

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)


233
234
235
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 233

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



239
240
241
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 239

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



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

def row_dimensions
  @row_dimensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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