class Google::Apis::DfareportingV3_5::AdBlockingConfiguration

Campaign ad blocking settings.

Attributes

enabled[RW]

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` @return [Boolean]

enabled?[RW]

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` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 866
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_5/classes.rb, line 871
def update!(**args)
  @enabled = args[:enabled] if args.key?(:enabled)
end