Class: Google::Apis::DfareportingV3_3::SiteSkippableSetting

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

Overview

Skippable Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SiteSkippableSetting

Returns a new instance of SiteSkippableSetting.



10727
10728
10729
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10727

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#siteSkippableSetting". Corresponds to the JSON property kind

Returns:

  • (String)


10708
10709
10710
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10708

def kind
  @kind
end

#progress_offsetGoogle::Apis::DfareportingV3_3::VideoOffset

Video Offset Corresponds to the JSON property progressOffset



10713
10714
10715
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10713

def progress_offset
  @progress_offset
end

#skip_offsetGoogle::Apis::DfareportingV3_3::VideoOffset

Video Offset Corresponds to the JSON property skipOffset



10718
10719
10720
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10718

def skip_offset
  @skip_offset
end

#skippableBoolean Also known as: skippable?

Whether the user can skip creatives served to this site. This will act as default for new placements created under this site. Corresponds to the JSON property skippable

Returns:

  • (Boolean)


10724
10725
10726
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10724

def skippable
  @skippable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10732
10733
10734
10735
10736
10737
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10732

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @progress_offset = args[:progress_offset] if args.key?(:progress_offset)
  @skip_offset = args[:skip_offset] if args.key?(:skip_offset)
  @skippable = args[:skippable] if args.key?(:skippable)
end