Class: Google::Apis::DisplayvideoV1::AdvertiserSdfConfig
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::AdvertiserSdfConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/representations.rb
Overview
Structured Data Files (SDF) settings of an advertiser.
Instance Attribute Summary collapse
-
#override_partner_sdf_config ⇒ Boolean
(also: #override_partner_sdf_config?)
Whether or not this advertiser overrides the SDF configuration of its parent partner.
-
#sdf_config ⇒ Google::Apis::DisplayvideoV1::SdfConfig
Structured Data File (SDF) related settings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdvertiserSdfConfig
constructor
A new instance of AdvertiserSdfConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdvertiserSdfConfig
Returns a new instance of AdvertiserSdfConfig.
374 375 376 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 374 def initialize(**args) update!(**args) end |
Instance Attribute Details
#override_partner_sdf_config ⇒ Boolean Also known as: override_partner_sdf_config?
Whether or not this advertiser overrides the SDF configuration of its parent
partner. By default, an advertiser inherits the SDF configuration from the
parent partner. To override the partner configuration, set this field to true
and provide the new configuration in sdfConfig.
Corresponds to the JSON property overridePartnerSdfConfig
366 367 368 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 366 def override_partner_sdf_config @override_partner_sdf_config end |
#sdf_config ⇒ Google::Apis::DisplayvideoV1::SdfConfig
Structured Data File (SDF) related settings.
Corresponds to the JSON property sdfConfig
372 373 374 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 372 def sdf_config @sdf_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
379 380 381 382 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 379 def update!(**args) @override_partner_sdf_config = args[:override_partner_sdf_config] if args.key?(:override_partner_sdf_config) @sdf_config = args[:sdf_config] if args.key?(:sdf_config) end |