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.



392
393
394
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 392

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)


378
379
380
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 378

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



384
385
386
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 384

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



390
391
392
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 390

def row_dimensions
  @row_dimensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



397
398
399
400
401
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 397

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