Class: Google::Apis::DisplayvideoV2::ViewabilityAssignedTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb

Overview

Assigned viewability targeting option details. This will be populated in the viewability_details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_VIEWABILITY.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ViewabilityAssignedTargetingOptionDetails

Returns a new instance of ViewabilityAssignedTargetingOptionDetails.



11945
11946
11947
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11945

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

Instance Attribute Details

#viewabilityString

Required. The predicted viewability percentage. Corresponds to the JSON property viewability

Returns:

  • (String)


11943
11944
11945
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11943

def viewability
  @viewability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11950
11951
11952
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11950

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