class Google::Apis::DisplayvideoV1::ActiveViewVideoViewabilityMetricConfig
Configuration for custom Active View video viewability metrics.
Attributes
Required. The display name of the custom metric. Corresponds to the JSON property `displayName` @return [String]
The minimum visible video duration required (in seconds) in order for an impression to be recorded. You must specify minimum_duration
, minimum_quartile
or both. If both are specified, an impression meets the metric criteria if either requirement is met (whichever happens first). Corresponds to the JSON property `minimumDuration` @return [String]
The minimum visible video duration required, based on the video quartiles, in order for an impression to be recorded. You must specify minimum_duration
, minimum_quartile
or both. If both are specified, an impression meets the metric criteria if either requirement is met (whichever happens first). Corresponds to the JSON property `minimumQuartile` @return [String]
Required. The minimum percentage of the video ad's pixels visible on the screen in order for an impression to be recorded. Corresponds to the JSON property `minimumViewability` @return [String]
Required. The minimum percentage of the video ad's volume required in order for an impression to be recorded. Corresponds to the JSON property `minimumVolume` @return [String]
Public Class Methods
# File lib/google/apis/displayvideo_v1/classes.rb, line 75 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/displayvideo_v1/classes.rb, line 80 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @minimum_duration = args[:minimum_duration] if args.key?(:minimum_duration) @minimum_quartile = args[:minimum_quartile] if args.key?(:minimum_quartile) @minimum_viewability = args[:minimum_viewability] if args.key?(:minimum_viewability) @minimum_volume = args[:minimum_volume] if args.key?(:minimum_volume) end