Class: Google::Apis::DfareportingV4::AdBlockingConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::AdBlockingConfiguration
- 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
Campaign ad blocking settings.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Whether this campaign has enabled ad blocking.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdBlockingConfiguration
constructor
A new instance of AdBlockingConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdBlockingConfiguration
Returns a new instance of AdBlockingConfiguration.
866 867 868 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 866 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Whether this campaign has enabled ad blocking. When true, ad blocking is
enabled for placements in the campaign, but this may be overridden by site and
placement settings. When false, ad blocking is disabled for all placements
under the campaign, regardless of site and placement settings.
Corresponds to the JSON property enabled
863 864 865 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 863 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
871 872 873 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 871 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) end |