Class: Google::Apis::DfareportingV3_2::DirectorySiteSettings

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

Overview

Directory 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) ⇒ DirectorySiteSettings

Returns a new instance of DirectorySiteSettings



5419
5420
5421
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5419

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)


5380
5381
5382
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5380

def active_view_opt_out
  @active_view_opt_out
end

#dfp_settingsGoogle::Apis::DfareportingV3_2::DfpSettings

Google Ad Manager Settings Corresponds to the JSON property dfpSettings



5386
5387
5388
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5386

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 instreamVideoPlacementAccepted

Returns:

  • (Boolean)


5391
5392
5393
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5391

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)


5397
5398
5399
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5397

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)


5403
5404
5405
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5403

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)


5409
5410
5411
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5409

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. This is a read-only field. Corresponds to the JSON property videoActiveViewOptOut

Returns:

  • (Boolean)


5416
5417
5418
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5416

def video_active_view_opt_out
  @video_active_view_opt_out
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5424
5425
5426
5427
5428
5429
5430
5431
5432
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5424

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