Class: Google::Apis::DfareportingV2_7::SiteSettings
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_7::SiteSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_7/classes.rb,
generated/google/apis/dfareporting_v2_7/representations.rb,
generated/google/apis/dfareporting_v2_7/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_7::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_7::LookbackConfiguration
Lookback configuration settings.
-
#tag_setting ⇒ Google::Apis::DfareportingV2_7::TagSetting
Tag Settings Corresponds to the JSON property
tagSetting
. -
#video_active_view_opt_out_template ⇒ Boolean
(also: #video_active_view_opt_out_template?)
Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site.
-
#vpaid_adapter_choice_template ⇒ String
Default VPAID adapter setting for new placements created under 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
10568 10569 10570 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10568 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
10516 10517 10518 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10516 def active_view_opt_out @active_view_opt_out end |
#creative_settings ⇒ Google::Apis::DfareportingV2_7::CreativeSettings
Creative Settings
Corresponds to the JSON property creativeSettings
10522 10523 10524 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10522 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
10527 10528 10529 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10527 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
10533 10534 10535 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10533 def @disable_new_cookie end |
#lookback_configuration ⇒ Google::Apis::DfareportingV2_7::LookbackConfiguration
Lookback configuration settings.
Corresponds to the JSON property lookbackConfiguration
10539 10540 10541 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10539 def lookback_configuration @lookback_configuration end |
#tag_setting ⇒ Google::Apis::DfareportingV2_7::TagSetting
Tag Settings
Corresponds to the JSON property tagSetting
10544 10545 10546 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10544 def tag_setting @tag_setting end |
#video_active_view_opt_out_template ⇒ Boolean Also known as: video_active_view_opt_out_template?
Whether Verification and ActiveView for in-stream video creatives are disabled
by default for new placements created under this site. This value will be used
to populate the placement.videoActiveViewOptOut field, when no value is
specified for the new placement.
Corresponds to the JSON property videoActiveViewOptOutTemplate
10552 10553 10554 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10552 def video_active_view_opt_out_template @video_active_view_opt_out_template end |
#vpaid_adapter_choice_template ⇒ String
Default VPAID adapter setting for new placements created under this site. This
value will be used to populate the placements.vpaidAdapterChoice field, when
no value is specified for the new placement. Controls which VPAID format the
measurement adapter will use for in-stream video creatives assigned to the
placement. The publisher's specifications will typically determine this
setting. For VPAID creatives, the adapter format will match the VPAID format (
HTML5 VPAID creatives use the HTML5 adapter).
Note: Flash is no longer supported. This field now defaults to HTML5 when the
following values are provided: FLASH, BOTH.
Corresponds to the JSON property vpaidAdapterChoiceTemplate
10566 10567 10568 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10566 def vpaid_adapter_choice_template @vpaid_adapter_choice_template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 10573 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_template = args[:video_active_view_opt_out_template] if args.key?(:video_active_view_opt_out_template) @vpaid_adapter_choice_template = args[:vpaid_adapter_choice_template] if args.key?(:vpaid_adapter_choice_template) end |