class Google::Apis::DfareportingV3_3::CustomViewabilityMetricConfiguration
The attributes, like playtime and percent onscreen, that define the Custom Viewability Metric
.
Attributes
Whether the video must be audible to count an impression. Corresponds to the JSON property `audible` @return [Boolean]
Whether the video must be audible to count an impression. Corresponds to the JSON property `audible` @return [Boolean]
The time in milliseconds the video must play for the Custom Viewability Metric
to count an impression. If both this and timePercent are specified, the earlier of the two will be used. Corresponds to the JSON property `timeMillis` @return [Fixnum]
The percentage of video that must play for the Custom Viewability Metric
to count an impression. If both this and timeMillis are specified, the earlier of the two will be used. Corresponds to the JSON property `timePercent` @return [Fixnum]
The percentage of video that must be on screen for the Custom Viewability Metric
to count an impression. Corresponds to the JSON property `viewabilityPercent` @return [Fixnum]
Public Class Methods
# File lib/google/apis/dfareporting_v3_3/classes.rb, line 4586 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dfareporting_v3_3/classes.rb, line 4591 def update!(**args) @audible = args[:audible] if args.key?(:audible) @time_millis = args[:time_millis] if args.key?(:time_millis) @time_percent = args[:time_percent] if args.key?(:time_percent) @viewability_percent = args[:viewability_percent] if args.key?(:viewability_percent) end