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.



13361
13362
13363
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13361

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)


13349
13350
13351
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13349

def cost_micros
  @cost_micros
end

#forecastGoogle::Apis::DisplayvideoV4::PlannedProductForecast

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



13354
13355
13356
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13354

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



13359
13360
13361
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13359

def planned_product_reach_forecasts
  @planned_product_reach_forecasts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13366
13367
13368
13369
13370
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13366

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