class Google::Apis::DfareportingV3_4::CustomViewabilityMetric

Custom Viewability Metric

Attributes

configuration[RW]

The attributes, like playtime and percent onscreen, that define the Custom Viewability Metric. Corresponds to the JSON property `configuration` @return [Google::Apis::DfareportingV3_4::CustomViewabilityMetricConfiguration]

id[RW]

ID of the custom viewability metric. Corresponds to the JSON property `id` @return [Fixnum]

name[RW]

Name of the custom viewability metric. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 5062
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_4/classes.rb, line 5067
def update!(**args)
  @configuration = args[:configuration] if args.key?(:configuration)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
end