Class: Google::Apis::DfareportingV2_6::SiteSettings

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

Overview

Site Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SiteSettings

Returns a new instance of SiteSettings.



10481
10482
10483
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10481

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#active_view_opt_outBoolean Also known as: active_view_opt_out?

Whether active view creatives are disabled for this site. Corresponds to the JSON property activeViewOptOut

Returns:

  • (Boolean)


10439
10440
10441
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10439

def active_view_opt_out
  @active_view_opt_out
end

#creative_settingsGoogle::Apis::DfareportingV2_6::CreativeSettings

Creative Settings Corresponds to the JSON property creativeSettings



10445
10446
10447
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10445

def creative_settings
  @creative_settings
end

#disable_brand_safe_adsBoolean Also known as: disable_brand_safe_ads?

Whether brand safe ads are disabled for this site. Corresponds to the JSON property disableBrandSafeAds

Returns:

  • (Boolean)


10450
10451
10452
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10450

def disable_brand_safe_ads
  @disable_brand_safe_ads
end

Whether new cookies are disabled for this site. Corresponds to the JSON property disableNewCookie

Returns:

  • (Boolean)


10456
10457
10458
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10456

def disable_new_cookie
  @disable_new_cookie
end

#lookback_configurationGoogle::Apis::DfareportingV2_6::LookbackConfiguration

Lookback configuration settings. Corresponds to the JSON property lookbackConfiguration



10462
10463
10464
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10462

def lookback_configuration
  @lookback_configuration
end

#tag_settingGoogle::Apis::DfareportingV2_6::TagSetting

Tag Settings Corresponds to the JSON property tagSetting



10467
10468
10469
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10467

def tag_setting
  @tag_setting
end

#video_active_view_opt_outBoolean Also known as: video_active_view_opt_out?

Whether Verification and ActiveView are disabled for in-stream video creatives on this site. The same setting videoActiveViewOptOut exists on the directory site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites. siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView. Corresponds to the JSON property videoActiveViewOptOut

Returns:

  • (Boolean)


10478
10479
10480
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10478

def video_active_view_opt_out
  @video_active_view_opt_out
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10486
10487
10488
10489
10490
10491
10492
10493
10494
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10486

def update!(**args)
  @active_view_opt_out = args[:active_view_opt_out] if args.key?(:active_view_opt_out)
  @creative_settings = args[:creative_settings] if args.key?(:creative_settings)
  @disable_brand_safe_ads = args[:disable_brand_safe_ads] if args.key?(:disable_brand_safe_ads)
  @disable_new_cookie = args[:disable_new_cookie] if args.key?(:disable_new_cookie)
  @lookback_configuration = args[:lookback_configuration] if args.key?(:lookback_configuration)
  @tag_setting = args[:tag_setting] if args.key?(:tag_setting)
  @video_active_view_opt_out = args[:video_active_view_opt_out] if args.key?(:video_active_view_opt_out)
end