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.



11961
11962
11963
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 11961

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)


11954
11955
11956
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 11954

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)


11959
11960
11961
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 11959

def youtube_audience_size
  @youtube_audience_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11966
11967
11968
11969
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 11966

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