Class: Google::Apis::DfareportingV3_0::DirectorySiteSettings
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_0::DirectorySiteSettings
- 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
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::DfareportingV3_0::DfpSettings
DFP 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.
-
#nielsen_ocr_opt_out ⇒ Boolean
(also: #nielsen_ocr_opt_out?)
Whether this directory site has disabled Nielsen OCR reach ratings.
-
#verification_tag_opt_out ⇒ Boolean
(also: #verification_tag_opt_out?)
Whether this directory site has disabled generation of Verification ins tags.
-
#video_active_view_opt_out ⇒ Boolean
(also: #video_active_view_opt_out?)
Whether this directory site has disabled active view for in-stream video creatives.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DirectorySiteSettings
constructor
A new instance of DirectorySiteSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DirectorySiteSettings
Returns a new instance of DirectorySiteSettings
5326 5327 5328 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 5326 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
5287 5288 5289 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 5287 def active_view_opt_out @active_view_opt_out end |
#dfp_settings ⇒ Google::Apis::DfareportingV3_0::DfpSettings
DFP Settings
Corresponds to the JSON property dfpSettings
5293 5294 5295 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 5293 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
5298 5299 5300 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 5298 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
5304 5305 5306 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 5304 def interstitial_placement_accepted @interstitial_placement_accepted end |
#nielsen_ocr_opt_out ⇒ Boolean Also known as: nielsen_ocr_opt_out?
Whether this directory site has disabled Nielsen OCR reach ratings.
Corresponds to the JSON property nielsenOcrOptOut
5310 5311 5312 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 5310 def nielsen_ocr_opt_out @nielsen_ocr_opt_out end |
#verification_tag_opt_out ⇒ Boolean Also known as: verification_tag_opt_out?
Whether this directory site has disabled generation of Verification ins tags.
Corresponds to the JSON property verificationTagOptOut
5316 5317 5318 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 5316 def verification_tag_opt_out @verification_tag_opt_out end |
#video_active_view_opt_out ⇒ Boolean Also known as: video_active_view_opt_out?
Whether this directory site has disabled active view for in-stream video
creatives. This is a read-only field.
Corresponds to the JSON property videoActiveViewOptOut
5323 5324 5325 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 5323 def video_active_view_opt_out @video_active_view_opt_out end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5331 5332 5333 5334 5335 5336 5337 5338 5339 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 5331 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) @nielsen_ocr_opt_out = args[:nielsen_ocr_opt_out] if args.key?(:nielsen_ocr_opt_out) @verification_tag_opt_out = args[:verification_tag_opt_out] if args.key?(:verification_tag_opt_out) @video_active_view_opt_out = args[:video_active_view_opt_out] if args.key?(:video_active_view_opt_out) end |