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



340
341
342
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 340

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)


326
327
328
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 326

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



332
333
334
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 332

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



338
339
340
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 338

def row_dimensions
  @row_dimensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



345
346
347
348
349
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 345

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