Class: Google::Apis::Adexchangebuyer2V2beta1::CreativeStatusRow

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 bids with the specified dimension values that did not win the auction (either were filtered pre-auction or lost the auction), as described by the specified creative 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) ⇒ CreativeStatusRow

Returns a new instance of CreativeStatusRow



741
742
743
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 741

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bid_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 bidCount



726
727
728
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 726

def bid_count
  @bid_count
end

#creative_status_idFixnum

The ID of the creative status. See creative-status-codes. Corresponds to the JSON property creativeStatusId

Returns:

  • (Fixnum)


733
734
735
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 733

def creative_status_id
  @creative_status_id
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



739
740
741
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 739

def row_dimensions
  @row_dimensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



746
747
748
749
750
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 746

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