Class: Google::Apis::DfareportingV4::SiteSkippableSetting

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

Overview

Skippable Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SiteSkippableSetting

Returns a new instance of SiteSkippableSetting.



11678
11679
11680
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11678

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)


11659
11660
11661
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11659

def kind
  @kind
end

#progress_offsetGoogle::Apis::DfareportingV4::VideoOffset

Video Offset Corresponds to the JSON property progressOffset



11664
11665
11666
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11664

def progress_offset
  @progress_offset
end

#skip_offsetGoogle::Apis::DfareportingV4::VideoOffset

Video Offset Corresponds to the JSON property skipOffset



11669
11670
11671
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11669

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)


11675
11676
11677
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11675

def skippable
  @skippable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11683
11684
11685
11686
11687
11688
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11683

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