Class: Google::Apis::DisplayvideoV2::DoubleVerifyDisplayViewability

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

Details of DoubleVerify display viewability settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DoubleVerifyDisplayViewability

Returns a new instance of DoubleVerifyDisplayViewability.



4810
4811
4812
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4810

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

Instance Attribute Details

#iabString

Target web and app inventory to maximize IAB viewable rate. Corresponds to the JSON property iab

Returns:

  • (String)


4803
4804
4805
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4803

def iab
  @iab
end

#viewable_duringString

Target web and app inventory to maximize 100% viewable duration. Corresponds to the JSON property viewableDuring

Returns:

  • (String)


4808
4809
4810
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4808

def viewable_during
  @viewable_during
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4815
4816
4817
4818
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4815

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