Class: Google::Apis::DisplayvideoV4::ReachForecast

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb

Overview

A single point in the reach curve.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReachForecast

Returns a new instance of ReachForecast.



13323
13324
13325
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13323

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

Instance Attribute Details

#cost_microsFixnum

Total cost for this point in micros. Corresponds to the JSON property costMicros

Returns:

  • (Fixnum)


13311
13312
13313
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13311

def cost_micros
  @cost_micros
end

#forecastGoogle::Apis::DisplayvideoV4::PlannedProductForecast

Performance metrics for a forecast point. Corresponds to the JSON property forecast



13316
13317
13318
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13316

def forecast
  @forecast
end

#planned_product_reach_forecastsArray<Google::Apis::DisplayvideoV4::PlannedProductReachForecast>

Breakdown for individual products at this cost point. Corresponds to the JSON property plannedProductReachForecasts



13321
13322
13323
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13321

def planned_product_reach_forecasts
  @planned_product_reach_forecasts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13328
13329
13330
13331
13332
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13328

def update!(**args)
  @cost_micros = args[:cost_micros] if args.key?(:cost_micros)
  @forecast = args[:forecast] if args.key?(:forecast)
  @planned_product_reach_forecasts = args[:planned_product_reach_forecasts] if args.key?(:planned_product_reach_forecasts)
end