Class: Google::Apis::DfareportingV3_5::SiteSkippableSetting
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_5::SiteSkippableSetting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v3_5/classes.rb,
lib/google/apis/dfareporting_v3_5/representations.rb,
lib/google/apis/dfareporting_v3_5/representations.rb
Overview
Skippable Settings
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#progress_offset ⇒ Google::Apis::DfareportingV3_5::VideoOffset
Video Offset Corresponds to the JSON property
progressOffset. -
#skip_offset ⇒ Google::Apis::DfareportingV3_5::VideoOffset
Video Offset Corresponds to the JSON property
skipOffset. -
#skippable ⇒ Boolean
(also: #skippable?)
Whether the user can skip creatives served to this site.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SiteSkippableSetting
constructor
A new instance of SiteSkippableSetting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SiteSkippableSetting
Returns a new instance of SiteSkippableSetting.
11320 11321 11322 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11320 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#siteSkippableSetting".
Corresponds to the JSON property kind
11301 11302 11303 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11301 def kind @kind end |
#progress_offset ⇒ Google::Apis::DfareportingV3_5::VideoOffset
Video Offset
Corresponds to the JSON property progressOffset
11306 11307 11308 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11306 def progress_offset @progress_offset end |
#skip_offset ⇒ Google::Apis::DfareportingV3_5::VideoOffset
Video Offset
Corresponds to the JSON property skipOffset
11311 11312 11313 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11311 def skip_offset @skip_offset end |
#skippable ⇒ Boolean 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
11317 11318 11319 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11317 def skippable @skippable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11325 11326 11327 11328 11329 11330 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11325 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 |