Class: Google::Apis::DfareportingV2_3::SiteSettings
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_3::SiteSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_3/classes.rb,
generated/google/apis/dfareporting_v2_3/representations.rb,
generated/google/apis/dfareporting_v2_3/representations.rb
Overview
Site Settings
Instance Attribute Summary collapse
-
#active_view_opt_out ⇒ Boolean
(also: #active_view_opt_out?)
Whether active view creatives are disabled for this site.
-
#creative_settings ⇒ Google::Apis::DfareportingV2_3::CreativeSettings
Creative Settings Corresponds to the JSON property
creativeSettings
. -
#disable_brand_safe_ads ⇒ Boolean
(also: #disable_brand_safe_ads?)
Whether brand safe ads are disabled for this site.
-
#disable_new_cookie ⇒ Boolean
(also: #disable_new_cookie?)
Whether new cookies are disabled for this site.
-
#lookback_configuration ⇒ Google::Apis::DfareportingV2_3::LookbackConfiguration
Lookback configuration settings.
-
#tag_setting ⇒ Google::Apis::DfareportingV2_3::TagSetting
Tag Settings Corresponds to the JSON property
tagSetting
. -
#video_active_view_opt_out ⇒ Boolean
(also: #video_active_view_opt_out?)
Whether Verification and ActiveView are disabled for in-stream video creatives on this site.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SiteSettings
constructor
A new instance of SiteSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SiteSettings
Returns a new instance of SiteSettings
9864 9865 9866 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9864 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_view_opt_out ⇒ Boolean Also known as: active_view_opt_out?
Whether active view creatives are disabled for this site.
Corresponds to the JSON property activeViewOptOut
9822 9823 9824 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9822 def active_view_opt_out @active_view_opt_out end |
#creative_settings ⇒ Google::Apis::DfareportingV2_3::CreativeSettings
Creative Settings
Corresponds to the JSON property creativeSettings
9828 9829 9830 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9828 def creative_settings @creative_settings end |
#disable_brand_safe_ads ⇒ Boolean Also known as: disable_brand_safe_ads?
Whether brand safe ads are disabled for this site.
Corresponds to the JSON property disableBrandSafeAds
9833 9834 9835 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9833 def disable_brand_safe_ads @disable_brand_safe_ads end |
#disable_new_cookie ⇒ Boolean Also known as:
Whether new cookies are disabled for this site.
Corresponds to the JSON property disableNewCookie
9839 9840 9841 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9839 def @disable_new_cookie end |
#lookback_configuration ⇒ Google::Apis::DfareportingV2_3::LookbackConfiguration
Lookback configuration settings.
Corresponds to the JSON property lookbackConfiguration
9845 9846 9847 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9845 def lookback_configuration @lookback_configuration end |
#tag_setting ⇒ Google::Apis::DfareportingV2_3::TagSetting
Tag Settings
Corresponds to the JSON property tagSetting
9850 9851 9852 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9850 def tag_setting @tag_setting end |
#video_active_view_opt_out ⇒ Boolean 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
9861 9862 9863 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9861 def video_active_view_opt_out @video_active_view_opt_out end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9869 9870 9871 9872 9873 9874 9875 9876 9877 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 9869 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 |