Class: Google::Apis::DisplayvideoV4::PlannedProductForecast

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

Performance metrics for a forecast point.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlannedProductForecast

Returns a new instance of PlannedProductForecast.



12879
12880
12881
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12879

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

Instance Attribute Details

#on_target_impressionsFixnum

Number of on-target impressions. Corresponds to the JSON property onTargetImpressions

Returns:

  • (Fixnum)


12852
12853
12854
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12852

def on_target_impressions
  @on_target_impressions
end

#on_target_reachFixnum

Number of unique people reached that match the on-target definition. Corresponds to the JSON property onTargetReach

Returns:

  • (Fixnum)


12857
12858
12859
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12857

def on_target_reach
  @on_target_reach
end

#total_impressionsFixnum

Total number of impressions. Corresponds to the JSON property totalImpressions

Returns:

  • (Fixnum)


12862
12863
12864
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12862

def total_impressions
  @total_impressions
end

#total_reachFixnum

Total number of unique people reached. Corresponds to the JSON property totalReach

Returns:

  • (Fixnum)


12867
12868
12869
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12867

def total_reach
  @total_reach
end

#trueview_viewsFixnum

Number of TrueView views. Corresponds to the JSON property trueviewViews

Returns:

  • (Fixnum)


12872
12873
12874
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12872

def trueview_views
  @trueview_views
end

#viewable_impressionsFixnum

Number of viewable impressions. Corresponds to the JSON property viewableImpressions

Returns:

  • (Fixnum)


12877
12878
12879
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12877

def viewable_impressions
  @viewable_impressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12884
12885
12886
12887
12888
12889
12890
12891
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12884

def update!(**args)
  @on_target_impressions = args[:on_target_impressions] if args.key?(:on_target_impressions)
  @on_target_reach = args[:on_target_reach] if args.key?(:on_target_reach)
  @total_impressions = args[:total_impressions] if args.key?(:total_impressions)
  @total_reach = args[:total_reach] if args.key?(:total_reach)
  @trueview_views = args[:trueview_views] if args.key?(:trueview_views)
  @viewable_impressions = args[:viewable_impressions] if args.key?(:viewable_impressions)
end