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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/adexchangebuyer2_v2beta1/classes.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb,
lib/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

Constructor Details

#initialize(**args) ⇒ CalloutStatusRow

Returns a new instance of CalloutStatusRow.



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

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)


370
371
372
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 370

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 (for example, when sampled). Corresponds to the JSON property impressionCount



376
377
378
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 376

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



382
383
384
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 382

def row_dimensions
  @row_dimensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



389
390
391
392
393
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 389

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