Class: Google::Apis::DfareportingV2_1::SiteSettings

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

Overview

Site Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SiteSettings

Returns a new instance of SiteSettings



9822
9823
9824
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9822

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)


9792
9793
9794
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9792

def active_view_opt_out
  @active_view_opt_out
end

#creative_settingsGoogle::Apis::DfareportingV2_1::CreativeSettings

Creative Settings Corresponds to the JSON property creativeSettings



9798
9799
9800
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9798

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)


9803
9804
9805
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9803

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)


9809
9810
9811
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9809

def disable_new_cookie
  @disable_new_cookie
end

#lookback_configurationGoogle::Apis::DfareportingV2_1::LookbackConfiguration

Lookback configuration settings. Corresponds to the JSON property lookbackConfiguration



9815
9816
9817
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9815

def lookback_configuration
  @lookback_configuration
end

#tag_settingGoogle::Apis::DfareportingV2_1::TagSetting

Tag Settings Corresponds to the JSON property tagSetting



9820
9821
9822
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9820

def tag_setting
  @tag_setting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9827
9828
9829
9830
9831
9832
9833
9834
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9827

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