Class: Google::Apis::DfareportingV4::DirectorySiteSettings
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::DirectorySiteSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
Directory Site Settings
Instance Attribute Summary collapse
-
#active_view_opt_out ⇒ Boolean
(also: #active_view_opt_out?)
Whether this directory site has disabled active view creatives.
-
#dfp_settings ⇒ Google::Apis::DfareportingV4::DfpSettings
Google Ad Manager Settings Corresponds to the JSON property
dfpSettings
. -
#instream_video_placement_accepted ⇒ Boolean
(also: #instream_video_placement_accepted?)
Whether this site accepts in-stream video ads.
-
#interstitial_placement_accepted ⇒ Boolean
(also: #interstitial_placement_accepted?)
Whether this site accepts interstitial ads.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DirectorySiteSettings
constructor
A new instance of DirectorySiteSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DirectorySiteSettings
Returns a new instance of DirectorySiteSettings.
5734 5735 5736 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5734 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_view_opt_out ⇒ Boolean Also known as: active_view_opt_out?
Whether this directory site has disabled active view creatives.
Corresponds to the JSON property activeViewOptOut
5714 5715 5716 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5714 def active_view_opt_out @active_view_opt_out end |
#dfp_settings ⇒ Google::Apis::DfareportingV4::DfpSettings
Google Ad Manager Settings
Corresponds to the JSON property dfpSettings
5720 5721 5722 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5720 def dfp_settings @dfp_settings end |
#instream_video_placement_accepted ⇒ Boolean Also known as: instream_video_placement_accepted?
Whether this site accepts in-stream video ads.
Corresponds to the JSON property instreamVideoPlacementAccepted
5725 5726 5727 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5725 def instream_video_placement_accepted @instream_video_placement_accepted end |
#interstitial_placement_accepted ⇒ Boolean Also known as: interstitial_placement_accepted?
Whether this site accepts interstitial ads.
Corresponds to the JSON property interstitialPlacementAccepted
5731 5732 5733 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5731 def interstitial_placement_accepted @interstitial_placement_accepted end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5739 5740 5741 5742 5743 5744 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5739 def update!(**args) @active_view_opt_out = args[:active_view_opt_out] if args.key?(:active_view_opt_out) @dfp_settings = args[:dfp_settings] if args.key?(:dfp_settings) @instream_video_placement_accepted = args[:instream_video_placement_accepted] if args.key?(:instream_video_placement_accepted) @interstitial_placement_accepted = args[:interstitial_placement_accepted] if args.key?(:interstitial_placement_accepted) end |