Class: Google::Apis::DfareportingV2_1::DirectorySiteSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb

Overview

Directory Site Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DirectorySiteSettings

Returns a new instance of DirectorySiteSettings.


4618
4619
4620
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4618

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#active_view_opt_outBoolean Also known as: active_view_opt_out?

Whether this directory site has disabled active view creatives. Corresponds to the JSON property activeViewOptOut

Returns:

  • (Boolean)

4579
4580
4581
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4579

def active_view_opt_out
  @active_view_opt_out
end

#dfp_settingsGoogle::Apis::DfareportingV2_1::DfpSettings

DFP Settings Corresponds to the JSON property dfp_settings


4585
4586
4587
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4585

def dfp_settings
  @dfp_settings
end

#instream_video_placement_acceptedBoolean Also known as: instream_video_placement_accepted?

Whether this site accepts in-stream video ads. Corresponds to the JSON property instream_video_placement_accepted

Returns:

  • (Boolean)

4590
4591
4592
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4590

def instream_video_placement_accepted
  @instream_video_placement_accepted
end

#interstitial_placement_acceptedBoolean Also known as: interstitial_placement_accepted?

Whether this site accepts interstitial ads. Corresponds to the JSON property interstitialPlacementAccepted

Returns:

  • (Boolean)

4596
4597
4598
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4596

def interstitial_placement_accepted
  @interstitial_placement_accepted
end

#nielsen_ocr_opt_outBoolean Also known as: nielsen_ocr_opt_out?

Whether this directory site has disabled Nielsen OCR reach ratings. Corresponds to the JSON property nielsenOcrOptOut

Returns:

  • (Boolean)

4602
4603
4604
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4602

def nielsen_ocr_opt_out
  @nielsen_ocr_opt_out
end

#verification_tag_opt_outBoolean Also known as: verification_tag_opt_out?

Whether this directory site has disabled generation of Verification ins tags. Corresponds to the JSON property verificationTagOptOut

Returns:

  • (Boolean)

4608
4609
4610
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4608

def verification_tag_opt_out
  @verification_tag_opt_out
end

#video_active_view_opt_outBoolean Also known as: video_active_view_opt_out?

Whether this directory site has disabled active view for in-stream video creatives. Corresponds to the JSON property videoActiveViewOptOut

Returns:

  • (Boolean)

4615
4616
4617
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4615

def video_active_view_opt_out
  @video_active_view_opt_out
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4623
4624
4625
4626
4627
4628
4629
4630
4631
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4623

def update!(**args)
  @active_view_opt_out = args[:active_view_opt_out] unless args[:active_view_opt_out].nil?
  @dfp_settings = args[:dfp_settings] unless args[:dfp_settings].nil?
  @instream_video_placement_accepted = args[:instream_video_placement_accepted] unless args[:instream_video_placement_accepted].nil?
  @interstitial_placement_accepted = args[:interstitial_placement_accepted] unless args[:interstitial_placement_accepted].nil?
  @nielsen_ocr_opt_out = args[:nielsen_ocr_opt_out] unless args[:nielsen_ocr_opt_out].nil?
  @verification_tag_opt_out = args[:verification_tag_opt_out] unless args[:verification_tag_opt_out].nil?
  @video_active_view_opt_out = args[:video_active_view_opt_out] unless args[:video_active_view_opt_out].nil?
end