Class: Google::Apis::DisplayvideoV4::OnTargetAudienceMetrics

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

Estimated audience sizes for a targeted geography.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OnTargetAudienceMetrics

Returns a new instance of OnTargetAudienceMetrics.



11992
11993
11994
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 11992

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

Instance Attribute Details

#census_audience_sizeFixnum

Size of the audience based on the census data of the targeted geography. Corresponds to the JSON property censusAudienceSize

Returns:

  • (Fixnum)


11985
11986
11987
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 11985

def census_audience_size
  @census_audience_size
end

#youtube_audience_sizeFixnum

Estimated size of the YouTube audience. Corresponds to the JSON property youtubeAudienceSize

Returns:

  • (Fixnum)


11990
11991
11992
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 11990

def youtube_audience_size
  @youtube_audience_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11997
11998
11999
12000
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 11997

def update!(**args)
  @census_audience_size = args[:census_audience_size] if args.key?(:census_audience_size)
  @youtube_audience_size = args[:youtube_audience_size] if args.key?(:youtube_audience_size)
end