Class: Google::Apis::DfareportingV3_0::SiteSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_0/classes.rb,
generated/google/apis/dfareporting_v3_0/representations.rb,
generated/google/apis/dfareporting_v3_0/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



10774
10775
10776
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 10774

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)


10720
10721
10722
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 10720

def active_view_opt_out
  @active_view_opt_out
end

#ad_blocking_opt_outBoolean Also known as: ad_blocking_opt_out?

Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect. Corresponds to the JSON property adBlockingOptOut

Returns:

  • (Boolean)


10728
10729
10730
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 10728

def ad_blocking_opt_out
  @ad_blocking_opt_out
end

#creative_settingsGoogle::Apis::DfareportingV3_0::CreativeSettings

Creative Settings Corresponds to the JSON property creativeSettings



10734
10735
10736
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 10734

def creative_settings
  @creative_settings
end

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

Returns:

  • (Boolean)


10739
10740
10741
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 10739

def disable_new_cookie
  @disable_new_cookie
end

#lookback_configurationGoogle::Apis::DfareportingV3_0::LookbackConfiguration

Lookback configuration settings. Corresponds to the JSON property lookbackConfiguration



10745
10746
10747
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 10745

def lookback_configuration
  @lookback_configuration
end

#tag_settingGoogle::Apis::DfareportingV3_0::TagSetting

Tag Settings Corresponds to the JSON property tagSetting



10750
10751
10752
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 10750

def tag_setting
  @tag_setting
end

#video_active_view_opt_out_templateBoolean 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

Returns:

  • (Boolean)


10758
10759
10760
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 10758

def video_active_view_opt_out_template
  @video_active_view_opt_out_template
end

#vpaid_adapter_choice_templateString

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

Returns:

  • (String)


10772
10773
10774
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 10772

def vpaid_adapter_choice_template
  @vpaid_adapter_choice_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 10779

def update!(**args)
  @active_view_opt_out = args[:active_view_opt_out] if args.key?(:active_view_opt_out)
  @ad_blocking_opt_out = args[:ad_blocking_opt_out] if args.key?(:ad_blocking_opt_out)
  @creative_settings = args[:creative_settings] if args.key?(:creative_settings)
  @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